4

So I just upgraded on both laptop + desktop.

  • Desktop = clean install
  • laptop = upgrade from 15.04

Now Firefox can't play h264/mp4 videos on YouTube or other.

I have tried a clean profile, which "works" but can't output 1080p. For that I have to enable

media.fragmented-mp4.exposed=true
media.fragmented-mp4.ffmpeg.enabled=true
media.fragmented-mp4.gmp.enabled=true
media.mediasource.enabled=true

After that it goes to error.

I have also tested this w3schools video which also does not work. So it have something do with mp4, since HTML5 vp9 works just fine.

ubuntu-restricted etc. all installed (else youtube.com/html5 would give an error anyway.)

Tried googling, no result.

1
  • As I wrote in my (preliminary) answer I am currently having difficulties finding 1080p video on YouTube. Could you please add a 1080p example for YouTube and probably another that is not hosted on YouTube?
    – LiveWireBT
    Oct 25, 2015 at 10:25

4 Answers 4

1

This fixed it for me:

sudo apt-get install ubuntu-restricted-extras
0

I assumed that the Cisco H.264 codec is enabled and active after it is downloaded, yet you showed me that there are settings in Firefox that disable it by default (media.fragmented-mp4.gmp.enabled;false). So the plug-in gets downloaded automatically and is active but probably never used. Very insightful, thank you.

I did some research on my own in the past and used Vimeo without editing entries in about:config. To make Vimeo work I came to the conclusion that you only need to install gstreamer1.0-libav. As far as I know the Vimeo player doesn't provide technical information about content and by default seems to serve 720p H.264 with the HD option enabled.

Now that I know that I can selectively disable WebM and H.264 in about:config and and verify settings on YouTube's HTML5 page I can do some more tests. I currently only have mobile Internet access on my laptop and I'm only getting 720p as the highest option on YouTube. I will check later when I'm back home (I remember having the 1080p option on my Ubuntu machines without using Flash and without errors).

Okay 1080p playback on YouTube works for me on 14.04 and 15.10. I checked by disabling configuration options for the other codec and checking on the HTML5 player page that they have been disabled. As long as YouTube doesn't stumble over inconsistencies by modifying to much without restarting Firefox everything works fine.

I posted more information in an answer to a very similar question: yt won't work after the ubuntu upgrade

0

Works now with firefox 43. Since gstreamer is replaced with ffmpeg.

-2

Disable in about:config Media Source Extensions it is broken in 15.10

2
  • It works yes. But only plays 720p. What package is broken? Since it worked in 15.04 Oct 25, 2015 at 9:29
  • 2
    @anon That doesn't really explain or answer Joakim's question and it sounds more like an ambiguous claim.
    – LiveWireBT
    Oct 25, 2015 at 10:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .