Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Linux and software for Linux
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-14-2011, 05:03 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Record videos with audio from desktop into .FLV MPEG-4 on Linux using recordmydesktop


Code:
recordmydesktop  -delay 2 --overwrite  -o out.ogv  -device hw:1,0 --fps 270
mencoder -vc theora out.ogv -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac faac -o out.avi
mencoder -vc theora out.ogv -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=8000 -oac faac -o out.avi
mencoder out.ogv -o out.flv -of lavf -ovc lavc -oac mp3lame -lavcopts vcodec=flv:vbitrate=250:autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo  -srate 22050 -af lavcresample=22050
hw:1,0 is the sound recording alsa device.
You can obtain it by using
Code:
arecord -l
The above creates output in OGV, AVI and FLV formats. You can add -vf scale=320:240 for standard flash video resolution to the flash conversion line.
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:21 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons