Saturday, March 28, 2009

How to installation ffmpeg and VLC for fedora

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.

---------------------------------------------------------------------------
VLC media player for Fedora

Most of our packages for fedora can be found on RPM Fusion RPM Fusion
You can also use this repository from distribution derived from Fedora

Please report "packaging bugs" on Bugzilla - RPM Fusion
Fedora 9 and Fedora 10

Use RPM Fusion for F9 and F10 (available for x86, x86_64, ppc and ppc64)
Install rpmfusion-free-release-stable.noarch.rpm for F9 and f10

$> su -
#> rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
#> yum install vlc
#> yum install mozilla-vlc (optionnal)


All is done.