Tuesday, August 26, 2008

HowTo: Install FFMpeg on Fedora Linux

FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. FFMpeg can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

FFmpeg can generate a lot of different types of multimedia files with a variety of audio and video codecs inside. Sometimes these formats do not adhere to "accepted" specifications. Many open source multimedia playback applications have been specifically tuned to play all manner of multimedia files, no matter how incomplete or broken. However, certain widespread, proprietary multimedia applications, such as Microsoft Windows Media Player and Apple's QuickTime Player, are a little more rigid in the types of files they will accept.

FFMPEG Fedora Installation

Fedora repo supports FFMpeg. To install, simply issue

# yum -y install ffmpeg

FFMPeg Usage

# ffmpeg -i inputfile.ext outfile.mov
# ffmpeg -i inputfile.ext outfile.mp4
# ffmpeg -i inputfile.ext outfile.mpg


To convert a movie file into a playable AVI file
# ffmpeg -i inputfile.ext -vcodec msmpeg4 -vtag MP43 -acodec mp3 outfile.avi

To use Microsoft MPEG-4v2 video
# ffmpeg -i inputfile.ext -vcodec msmpeg4v2 -acodec mp3 outfile.avi

To create MPEG file with MPEG-1 video and MP2 audio.
# ffmpeg -i inputfile.ext outfile.mpg

To convert FLV to MPG using ffmpeg
# ffmpeg -i inputfile.flv -ab 56 -ar 22050 -b 500 -s 320x240 outputfile.mpg

Yes, you can use MPEG to convert video files from one format to another format, with a different video quality and pass. File output from FFMpeg was also tested to work with Windows Media player, Apple Video Player, Quick Time players and more.

That is all folks.

Related Articles:
JPG to MPG in Fedora Linux
Linux Screencasting and Screen Recording
VCD/DVD Video Authoring Linux Tool
Amazing MultiMedia Browser Plugins

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy