Ask Your Question

Cannot play Vidoes in Fedora 20, No support for h264 decoder

asked 2014-04-11 22:37:41 -0500

ShayanH gravatar image

updated 2014-09-28 10:21:09 -0500

mether gravatar image

I have installed codes at rpmfusion completely. But VLC, SMPlayer and Totem can't play vidoes.

I have this error in VLC:

VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.

SMPlayer log when I want play a video:

/usr/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv, -nokeepaspect -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 41943081 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/shayan/.config/smplayer/styles.ass -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -cache 2048 -osdlevel 0 -noslices -channels 2 -af equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /home/shayan/Videos/arsenal_1_2_dortmund.mp4

/usr/bin/mplayer: symbol lookup error: /lib64/ undefined symbol: vpx_codec_vp9_dx_algo

I have Fedora 20 64 bit on my laptop ASUS K45.

edit retag flag offensive close merge delete


Try playing the file with smplayer, then open Options -> View Logs -> MPlayer and copy the text from there; either post it in your original post or to and post a link to it here.

Ahmad Samir gravatar imageAhmad Samir ( 2014-04-12 08:19:36 -0500 )edit

Added log file.

ShayanH gravatar imageShayanH ( 2014-04-12 12:07:09 -0500 )edit

As @mohanprakash said, you need to update your system to fix that "undefined symbol" error by installing the the latest libvpx package.

Ahmad Samir gravatar imageAhmad Samir ( 2014-04-13 10:24:20 -0500 )edit

try this brother

"yum install x264"

i think that is working for you

Tiger gravatar imageTiger ( 2014-08-01 15:17:08 -0500 )edit

12 Answers

Sort by ยป oldest newest most voted

answered 2014-08-05 03:23:43 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I recommend you to get the files in open and free coding formats like ogg.

But if you prefer to add the non-free plugins, you may do so. Inorder to add plugins for playing most non free formats, you must enable third party repo and the most common one we use with fedora is RPM fusion. To enable it open terminal and type following command.

su -c 'yum localinstall --nogpgcheck$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm'

If it asks for password, please enter the super user (root) password.

Then type the following commands for installing the plugins/codecs.

sudo yum update

sudo yum install gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base-tools updates gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-good gstreamer1-plugins-base gstreamer1 x264 vlc  smplayer

it and this should install most plugins and also VLC and SM player media players.

edit flag offensive delete link more

answered 2014-04-11 23:54:47 -0500

anshprat gravatar image

Have you installed ffmpeg?

Does this help?

What is the output of

rpm -q --all | grep "gstreamer" | sort

Is the video file you are trying to play proper (not corrupted)?

edit flag offensive delete link more


My video file is not corrupted and I can play it correctly on another OS.

Output of rpm -q --all | grep "gstreamer" | sort is:






















ShayanH gravatar imageShayanH ( 2014-04-12 03:43:07 -0500 )edit

I'm pretty sure ffmpeg is depreciated now.

abadrinath gravatar imageabadrinath ( 2014-08-02 21:05:11 -0500 )edit

answered 2014-04-12 14:02:22 -0500

mohanprakash gravatar image

If you have installed Fedora 20 recently then you first update it

su -c'yum update'

then again install the codecs
Please refer to:this question

edit flag offensive delete link more

answered 2014-04-27 02:40:14 -0500

edaman gravatar image

updated 2014-04-27 02:41:18 -0500

I had the same problem until I installed some more libraries: yum install libvpx.x86_64 libvpx-utils.x86_64 yum install x264.x86_64 x264-libs.x86_64

Then it worked

edit flag offensive delete link more


These packages are dependencies of vlc (indirectly), so if you have vlc you must have had those packages already installed. Running yum install for an already installed package will update it to the latest version in the repos. yum update would do the same job (but without having to specify the package names).

Ahmad Samir gravatar imageAhmad Samir ( 2014-04-27 04:04:47 -0500 )edit

Actually, edaman's suggestion solved the same problem for me!

On a clean Fedora 20 install, I had both vlc and mplayer installed, but did not have libvpx-utils . Installing libvpx-utils solved the problem.

libvpx-utils is a collection of utilities for VP8.

leyenson gravatar imageleyenson ( 2014-07-13 04:14:34 -0500 )edit

I think that running 'yum install libvpx-utils' updated the already installer libvpx to the latest version, which solved the issue with those video players. The key here is updating libvpx to get the latest package with the library symbols required by both mplayer and vlc (which were rebuilt in the rpmfusion repos against the latest libvpx package).

Ahmad Samir gravatar imageAhmad Samir ( 2014-07-14 08:25:58 -0500 )edit

answered 2014-05-15 18:26:00 -0500

brendanlong gravatar image

If you have the right packages installed and it still doesn't work, try removing GStreamer registry so it will rebuild it:

rm -rf ~/.cache ~/.gstreamer*
edit flag offensive delete link more


Thanks, it helps for me.

malmed gravatar imagemalmed ( 2014-09-27 13:19:14 -0500 )edit

answered 2014-08-01 15:55:16 -0500

Tiger gravatar image

hello sir please try this

"sudo yum -y install x264"

edit flag offensive delete link more


Nice answer, and BTW, welcome to AskFedora!

abadrinath gravatar imageabadrinath ( 2014-08-01 21:32:25 -0500 )edit

thnkq sir :) but i am new in askfedora and i am not seen your message in askfedora can you tell me that how to see any comnet that are my own answer please help me...

Tiger gravatar imageTiger ( 2014-08-02 06:49:26 -0500 )edit

now i can se thnkq @hello

Tiger gravatar imageTiger ( 2014-08-02 06:49:51 -0500 )edit

Um, @Tiger, sorry for the late response. All posts go thru moderation ATM so someone has to approve of your comment. To know more, search 'Spam Mitigation' on AskFedora. Thanks.

abadrinath gravatar imageabadrinath ( 2014-08-05 20:52:48 -0500 )edit

answered 2014-08-24 18:47:35 -0500

biga gravatar image

yum install lame-libs

edit flag offensive delete link more

answered 2014-09-28 23:30:10 -0500

SDas gravatar image

Easiest way to install installing codecs is first install fedy then install multimedia codecs from fedy. Here is the command to install fedy run it in terminal.

su -c "curl -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"

edit flag offensive delete link more

answered 2014-09-29 10:07:30 -0500

tony gravatar image

Even though i installed all the codecs , i couldn't play any videos because of the h264 decoder problem. It was then only i realized that i didn't properly update my system. So i tried a restart and update. Afterwards, vlc works like a charm. Thanks to fedora forum.

edit flag offensive delete link more


edaman...thanks a lot friend! it worked for me! the updates for the libvpx.utils were needed and it worked! :)

i had same issues of h264 decoder!

Puffy gravatar imagePuffy ( 2014-10-10 01:35:23 -0500 )edit

answered 2014-10-10 06:15:44 -0500

Vahid gravatar image

sudo yum -y install libvpx

It needs chroumium repository

edit flag offensive delete link more

Question Tools


Asked: 2014-04-11 22:37:41 -0500

Seen: 62,153 times

Last updated: Apr 07 '15