This mini howto just show you the easy of use ffmpeg to convert any video format to another video format.
First, I show you how to convert FLV video to mp4 format:
ffmpeg -i input-file.flv -vcodec h264 -r 25 -b 200 -ab 128 -acodec mp3 -ac 2 -ar 44100 output-file.mp4
Here is how we convert from MPG video to 3GP format:
ffmpeg -i video_clip.mpg -s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -ab 32 -y clip.3gp
And this is how we convert from AVI video to 3GP format
ffmpeg -i input-clip.avi-s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y output-file.3gp
And finaly, how to convert from 3GP video to AVI video
ffmpeg -i clip.3gp -f avi -vcodec xvid -acodec mp3 -ar 22050 file.avi

2 Comments
Mau lebih enak lagi pake GUI nya mas namanya WINFF lebih user friendly terutama buat yang baru migrasi ke linux info lengkap http://winff.org/html/
ReplyDeleteUnknown encoder h263 dan h264, apa yg perlu dilakukan?
ReplyDeleteSy ingin convert ke 3gp, jika pakai winff, tidak terdapat opsi convert ke 3gp.
ada saran?