PDA

View Full Version : H.264 support in Firefox / SLED 12



KevinHansen
20-Feb-2015, 00:27
Hello.
I am trying to get H.264 to work in Firefox / SLED 12.
No matter what I try, I can't get e.g. youtube.com/html5 or html5test.com to confirm that H.264 playback is working.

I have tried the way I prefer and followed the "Additional multimedia codec support for SLED 12" instructions from mikewillis.
https://www.suse.com/communities/conversations/additional-multimedia-codec-support-sled-12/

Everything builds correctly as far as I can see and gst-inspect-1.0 shows a lot of plugins afterwards (about 180 I think).
Any suggestions to how to double check that the codecs actually builds and works as expected?


I have also tried to install codecs and plugins from openSUSE / packman repos, which I would prefer not to do.
Anyway that has not worked either.


Finally I have tried the One Play Codec Pack from Fluendo, which install correctly as well.
However that doesn't make any difference in Firefox either.


I have been around about:plugins, about:config etc. and tried all suggestions from google.
Apparently I am missing something.

Any help is much appreciated!

Thanks.

Kind Regards,
Kevin

malcolmlewis
20-Feb-2015, 02:00
On Thu 19 Feb 2015 11:34:01 PM CST, KevinHansen wrote:


Hello.
I am trying to get H.264 to work in Firefox / SLED 12.
No matter what I try, I can't get e.g. youtube.com/html5 or
html5test.com to confirm that H.264 playback is working.

I have tried the way I prefer and followed the "Additional multimedia
codec support for SLED 12" instructions from mikewillis.
https://www.suse.com/communities/conversations/additional-multimedia-codec-support-sled-12/

Everything builds correctly as far as I can see and gst-inspect-1.0
shows a lot of plugins afterwards (about 180 I think).
Any suggestions to how to double check that the codecs actually builds
and works as expected?


I have also tried to install codecs and plugins from openSUSE / packman
repos, which I would prefer not to do.
Anyway that has not worked either.


Finally I have tried the One Play Codec Pack from Fluendo, which install
correctly as well.
However that doesn't make any difference in Firefox either.


I have been around about:plugins, about:config etc. and tried all
suggestions from google.
Apparently I am missing something.

Any help is much appreciated!

Thanks.

Kind Regards,
Kevin




Hi
I have the oneplay-gstreamer-codecs-pack ver 20-3 installed, I have
H.264 support checked at the test website..

Is totem-browser-plugin installed?



gst-inspect-1.0 |grep 264

fluh264dec: fluh264dec: Fluendo H264 Decoder
videoparsersbad: h264parse: H.264 parser
rtp: rtph264pay: RTP H264 payloader
rtp: rtph264depay: RTP H264 depayloader
typefindfunctions: video/x-h264: h264, x264, 264


A search at http://gstreamer.freedesktop.org/documentation/plugins.html
for videoparsersbad shows this is part of gst-plugins-bad, is this
installed?

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

KevinHansen
20-Feb-2015, 10:26
Hi Malcolm.
Thank you for your ready response.

Since I had both totem-browser-plugin and gstreamer-plugins-bad installed, I decided to make a complete reinstall.
After building the Additional multimedia codecs from mikewillis, I do have H.264 support as well.

I think I know what the issue has been.
I forgot that I had updated Firefox manually to latest version, which hasn't been an issue on our SLED 11 SP3 systems, where we have run Firefox 34 for a couple of months now.
Firefox introduced the Cisco OpenH264 plugin with version 33 and apparently this plugin result in H.264 not working on SLED 12.
Disabling it with media.gmp-gmpopenh264.provider.enabled false in about:config, remove the plugin from the list of installed plugins, however H.264 is still not supported.

Changing back to Firefox 31 from SLED 12 repo solves the issue.

I would prefer to be able to run with newer Firefox versions however for now it will do.

Thank you.

mikewillis
20-Feb-2015, 10:37
Since I had both totem-browser-plugin and gstreamer-plugins-bad installed, I decided to make a complete reinstall.
After building the Additional multimedia codecs from mikewillis, I do have H.264 support as well.

I think I know what the issue has been.
I forgot that I had updated Firefox manually to latest version, which hasn't been an issue on our SLED 11 SP3 systems, where we have run Firefox 34 for a couple of months now.
Firefox introduced the Cisco OpenH264 plugin with version 33 and apparently this plugin result in H.264 not working on SLED 12.
Disabling it with media.gmp-gmpopenh264.provider.enabled false in about:config, remove the plugin from the list of installed plugins, however H.264 is still not supported.

Changing back to Firefox 31 from SLED 12 repo solves the issue.

Cool, glad you got it sorted.




I would prefer to be able to run with newer Firefox versions however for now it will do.

Is your preference based on an awareness that it's Firefox ESR 31 that SUSE currently provide in SLED 12 rather than Firefox 31? The difference is significant as one gets security fixes and the other doesn't.
https://www.mozilla.org/en-US/firefox/organizations/

KevinHansen
27-Feb-2015, 09:45
Cool, glad you got it sorted.

Is your preference based on an awareness that it's Firefox ESR 31 that SUSE currently provide in SLED 12 rather than Firefox 31? The difference is significant as one gets security fixes and the other doesn't.
https://www.mozilla.org/en-US/firefox/organizations/

Hi.
I would definitely prefer to stay on the SLE 12 tested ESR version however some customers require the latest version of Firefox.
So I would like to be able to upgrade Firefox if needed. But this was definitely a more common issue with SLE 11 and I suppose we can stay on ESR 31 for quite some time.

Thank you.

Kind Regards,
Kevin

AndreasMeyer
07-Mar-2015, 20:18
https://forums.suse.com/showthread.php?5317-Embedded-Video-is-not-played-in-Firefox/page3