Ask Your Question

Can't play mp4/h264 video on Fedora 26 (firefox)

asked 2017-10-08 09:47:28 -0500

ldeniau gravatar image


I spent hours trying to play mp4/h264 video on Fedora 26 but i keep having codec errors on Firefox and GNOME videos.

I followed instructions here . And i've installed libmp4v2 from RPM fusion. But it didn't work.

Then i've desperately installed all gstreamer-plugins... but it still doesn't work.

However, i can play mp4 videos with vlc and chrome but my main goal is to use firefox without problem with video streaming...

If anybody had an idea, it'll be great ! :)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-10-09 09:06:46 -0500

Daniel01 gravatar image

updated 2017-10-09 09:17:59 -0500

You need to add the RPMFusion to your repositories and install the ffmpeg package. I think the article you point out is kind of deprecated, the idea is that Firefox changed some things in regard to how it handles codecs and ffmpeg is compatible with it.

edit flag offensive delete link more


This test page will tell you which video format is supported.

villykruse gravatar imagevillykruse ( 2017-10-09 09:40:53 -0500 )edit

It worked. Thank you very much Daniel01. I still trying to understand. I was testing on and . I decided to reinstall my Fedora and install only ffmpeg. It work perfectly on my testing sites. But on the Youtube test page linked by villykruse, i've got H.264 and MSE & H.264 failed. Then i've reinstall packages describe here and H.264 and MSE & H.264 is now supported on the Youtube test page... I feel like i'm missing something ^^'

ldeniau gravatar imageldeniau ( 2017-10-09 19:34:52 -0500 )edit

Doesn't work for me on F29, I am stuck. No mp4 play. I've tried all the gstreamer variants etc. No luck.

jonathb gravatar imagejonathb ( 2018-12-14 20:21:44 -0500 )edit

answered 2017-10-08 13:03:26 -0500

masteroman gravatar image

Have you turned on "Play DRM content" option in Firefox settings?

If not, go to Preferences > Content > Tick on "Play DRM Content"

I remember having issue with that one time..

edit flag offensive delete link more


It didn't work :/. But it's good to know this parameter :)

ldeniau gravatar imageldeniau ( 2017-10-09 18:58:46 -0500 )edit

Question Tools

1 follower


Asked: 2017-10-08 09:47:28 -0500

Seen: 22,445 times

Last updated: Oct 09 '17