Wednesday, September 28, 2011

video editing ubuntu terminal

To install en Debian and derivatives: sudo aptitude install ffmpeg mencoder lame


    * Convert FLV to AVI: ffmpeg -i myvideo.flv myvideo.avi
    * Convert AVI to FLV: ffmpeg -i myvideo.avi myvideo.flv
    * Convert WMV to MPEG-4 (Xvid): mencoder myvideo.wmv -ovc xvid -oac mp3lame -o myvideo.avi

Many options are available in ffmpeg and mencoder to choose codecs(MPEG1/2, DivX, Xvid, MP3, AAC, QuickTime, H.264, Matroska...) and use this codecs(compression, profiles, etc. ..)

For help type this:
    * ffmpeg -formats
    * mencoder -ovc help

No comments:

Post a Comment