Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a Fedora 18 and added rpm-fusion repositories for fedora18 and also installed all gstreamer codec such as good,ugly,bad, but i can not play videos with .mkv , .mp4, .wmv , extensions yet.

it shows this error when I play a video file:

enter image description here

ofcourse i should say that .webm and .flv videos play very well and I dont want to use VLC!

share|improve this question

What player are you using? Installing (s)mplayer takes care of almost every format.

share|improve this answer
I'm using gnome default video player and i want to use codecs, not VLC and others! – Milad Sobhkhiz Feb 25 '13 at 15:16
Codecs are just a means to an end. They cannot be used directly to play files. – schaiba Feb 25 '13 at 15:17
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – rahmu Feb 25 '13 at 16:25
The smplayer part is an answer. :) – schaiba Feb 25 '13 at 16:26

Try something like:

yum install gstreamer-{ffmpeg,plugins-{good,ugly,bad{,-free{,-extras},-nonfree}}}

That will get you a few codecs not in your list above. You may also need the extras packages. I'm unsure what they are off the top of my head (and don't have access to a Fedora machine at the moment).

Try searching:

yum search gstreamer*extra

EDIT: I think the package I was thinking of is gstreamer-plugins-{good,ugly,bad}-free-extras. I've added it above. If it fails, remove the {,-extras}.

share|improve this answer
yum says that latest version of these packages are installed. – Milad Sobhkhiz Feb 25 '13 at 18:35
My mistake then; I setup a new Fedora 18 install a few days ago and I thought this is all I had to do. You're trying to play an un-encrypted movie right? Or are you trying to watch DVD's (in which case you also want libdvdread libdvdcss libdvdnav)? – Sam Whited Feb 25 '13 at 18:37
You might also try adding ffmpeg ffmpeg-libs; I can't remember if I used those or not. As soon as I can get back to my Fedora install I'll let you know exactly what I did. – Sam Whited Feb 25 '13 at 18:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.