Archive

Archive for November 30, 2012

Fedora 18 missing Video decoder audio decoder codec installing

November 30, 2012 30 comments

First You need to enable RPM fusion repositories. This can be done by

sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

or manually install from

http://rpmfusion.org/Configuration

& download rpm link are given below

http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm

http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm

If any missing gpg key error come like this:

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-x86_64

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-18-x86_64

Goto below site :

http://rpmfusion.org/keys

& download gpg key

http://rpmfusion.org/keys?action=AttachFile&do=view&target=RPM-GPG-KEY-rpmfusion-free-fedora-18

http://rpmfusion.org/keys?action=AttachFile&do=view&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-18

Copy the same to /etc/pki/rpm-gpg/ & rename to key name as shown in error.[Need root privilege to copy files]

In case you are installing i386, please rename the file name accordingly.

If fedora 18 beta installed, then install ‘gstreamer1’ is required instead of gstreamer. So search & install gstreamer1 codec

sudo yum install gstreamer1 gstreamer1-plugins-good gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly

Same step, but install following for fedora 17 :

sudo yum install gstreamer gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg libdvdread libdvdnav lsdvd

Alternatively, you can also install and use vlc or smplayer to view mkv videos–both can decode H.264

sudo yum install vlc

sudo yum install smplayer

Note: The new totem 3.6 uses gstreamer 1.0 & there is no gstreamer1-ffmpeg package  in repository. So you have to use vlc or smplayer till package comes.

Update : Install gstreamer1-libav for ffmpeg packages.