Wednesday, March 5, 2008

mencoder, ffmpeg

mencoder was used for encoding some clips from todays RMS lecture.

I had a set of *.mov clips produced by camera on SD card.

Inserted flash card in notebook.
In bash typed : ( hint: [tab] for path expanding )

$ ls /media/disk/dcim/101_pana/*.mov

set of 6 files as result was detected;
back in bash string
$ mencoder -o stallman_c.avi 
-oac mp3lame -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=300
/media/disk/dcim/101_pana/*.mov


it gives me one stallman_c.avi in one file; shorter (300 in previous line is bitrate - and it is very poor quality, just for network).

Another was portable media player record.

copied from device plugged in USB file in working directory;

than typed:

$ sudo apt-get install ffmpeg
$ ffmpeg -i V03050002.wma RMS.ogg

No comments: