Benutzer-Werkzeuge

Webseiten-Werkzeuge


pc:recorddesktop

Filme vom Desktop aufnehmen

(ungetestet)

Instructions for making demo videos on linux. Turn off compositing and run the following command to record your desktop

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 (obtained using 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. If you are converting a variable bit rate format like WMV, first convert it to fixed bit rate like this

 mencoder file.wmv -o file.avi -ovc lavc -lavcopts vbitrate=500 -oac mp3lame -lameopts cbr:br=128 -vf harddup -ofps 25 

and only then convert the AVI to FLV.

pc/recorddesktop.txt · Zuletzt geändert: 2010/07/31 07:52 von admin