Thursday, February 10, 2011

Converting Video Formats Using ffmpeg on Linux:

Installing ffmpeg on Fedora 12,13,14:
In fedora 12,13 and 14 first of all you will need to enable access to rpmfusion free and non free repositories using the following command:
# su -c 'yum localinstall --nogpgcheck'
and then running command:
#yum -y install ffmpeg
will install ffmpeg on your fedora machine.
Installing ffmpeg on Ubuntu 10.x/Linux Mint:
sudo apt-get install ffmpeg libavdevice52 libavfilter0 libavcodec-extra-52 libavformat-extra-52

Sample Commands:
Simple conversion with ffmpeg defaults:
ffmpeg -i inputfile.format outputfile.format  

Changing frame rate:
ffmpeg -i input.avi  -r 24 output.avi 

Converting to mp4 using mpeg4 codec
ffmpeg -i input.flv -vcodec mpeg4 -acodec copy output.mp4

Converting video for  cell phone :)
ffmpeg -i input.format -s qcif -vcodec mpeg4 -r 18 -acodec copy output.mp4

Extracting audio in mp3 format:
ffmpeg -i input.avi -vn -acodec copy output.mp3


  1. Replies

    1. key of windows 7 , upgrade key for windows 7 starter home premium , windows 7 ultimate product key , buy windows 10 product key , product key za windows 7 professional , norton 360 keystore , windows 7 activation key , how to upgrade windows 7 home basic to ultimate online for free , l9Os1Q

      office project 2013 keys

      windows 7 ultimate sp1

      windows 10 pro key

      windows 10 pro key free

  2. Its very Wonder full blog.I found some knowledge full information in the blog. thanks for sharing valuable.
    UI Designing Companies, Web Application Development in Bangalore


Follow me

Join me on the New Digg Follow ur_sunny on Twitter