Get audio/video codecs on Fedora 15/16/17,Cent OS
codecs are required to play some proprietary file formats are not shipped with Fedora. Codecs are the programs that encode and decode digital data. These codecs are available in the rpmfusion repository for Fedora. You will be able to play mpeg, mp3, avi, flv and other commonly used file formats for music and video. You will require an Internet connection to download and install these packages on your computer.
1. Switch to root user
su -c
##OR##
su
2. Get RPM Fusion repository
RPM Fusion repository for Fedora 15/16/17 both the free and the nonfree
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
RPM Fusion repository for RHEL 6 or compatible like CentOS
rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/6/i386/rpmfusion-free-release-6-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/6/i386/rpmfusion-nonfree-release-6-0.1.noarch.rpm
3. Check for repository update
[root@localhost ~]# yum repolist
[root@localhost ~]#yum check-update
##OR##
[root@localhost ~]#yum update
4. Install Codecs
a) Gstreameryum install gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-ugly
b) FFMpeg is a complete and free Internet live audio and video
yum install ffmpeg ffmpeg-devel ffmpeg-libs ffmpeg2dirac ffmpeg2theora
c) Audicious
yum install audacious-libs audacious-plugins-freeworld-mp3 audacious audacious-devel audacious-plugin-fc audacious-plugin-xmp audacious-plugins audacious-plugins-amidi audacious-plugins-freeworld audacious-plugins-freeworld-aac audacious-plugins-freeworld-ffaudio audacious-plugins-jack audacious-plugins-sid
Launch your favourite multimedia application from the GNOME panel and play your favorite music or video.
PS:本文来自于
http://www.gofedora.in/2012/06/get-audiovideo-codecs-on-fedora.html