You are not logged in.

#1 2014-04-05 19:08:56

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Can't enable HTML5 H264 for Firefox

I did all per https://wiki.archlinux.org/index.php/Fi … 4_playback up to and including 'the last resort'. Gstreamer is enabled in about:config. https://www.youtube.com/html5 still shows my Firefox install does not support H.264.

# pacman -Q | egrep '^gstreamer|gst'
clutter-gst 2.0.10-1
gst-libav 1.2.3-1
gst-plugins-bad 1.2.3-2
gst-plugins-base 1.2.3-1
gst-plugins-base-libs 1.2.3-1
gst-plugins-good 1.2.3-2
gst-plugins-ugly 1.2.3-2
gstreamer 1.2.3-1
gstreamer0.10 0.10.36-3
gstreamer0.10-bad 0.10.23-8
gstreamer0.10-bad-plugins 0.10.23-8
gstreamer0.10-base 0.10.36-2
gstreamer0.10-base-plugins 0.10.36-2
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer0.10-good 0.10.31-5
gstreamer0.10-good-plugins 0.10.31-5
gstreamer0.10-ugly 0.10.19-10
gstreamer0.10-ugly-plugins 0.10.19-10
phonon-gstreamer 4.7.1-1

Last edited by bbarcher (2014-04-05 19:10:10)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#2 2014-04-05 19:10:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Can't enable HTML5 H264 for Firefox

Offline

#3 2014-04-05 19:36:43

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: Can't enable HTML5 H264 for Firefox

Yup! Disabling SNA acceleration did the trick! I'll re-enable it when the fix gets shipped.

Thank you!

PS. I use Intel GM45 / 4500MHD

Last edited by bbarcher (2014-04-05 19:37:25)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#4 2014-04-05 20:12:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Can't enable HTML5 H264 for Firefox

The fix is already in [testing].  It should be pretty soon.


Edit: You could just install that one package from [testing]... it shouldn't hurt anything.

Last edited by WonderWoofy (2014-04-05 20:12:42)

Offline

#5 2014-04-05 20:27:21

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: Can't enable HTML5 H264 for Firefox

That's why I'd rather put it on hold. I'm currently troubleshooting some other Firefox/plugin performance issues.


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#6 2014-09-11 19:36:09

MaTachi
Member
Registered: 2011-06-07
Posts: 52

Re: Can't enable HTML5 H264 for Firefox

https://www.youtube.com/html5 said that H264 didn't work for me in Firefox 32. Installing the Arch package `gst-libav` solved it and that Youtube page now says that H264 is supported.

Last edited by MaTachi (2014-09-11 19:36:37)

Offline

#7 2015-03-03 00:08:19

Fincer
Member
Registered: 2014-05-18
Posts: 21

Re: Can't enable HTML5 H264 for Firefox

Additionally you need 'gst-plugins-good' package to enable H.264 HTML5 playback on Firefox. I already had 'gst-libav' package installed but it didn't help alone.

Offline

#8 2015-05-17 13:10:40

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: Can't enable HTML5 H264 for Firefox

I've got all the required plugins installed and about:config options set and I still don't get proper MSE / HTML5 video support on Youtube (the 'MSE & H.264' button has a red thick mark). Also, videos get stuck right from the start and this 'solution' obviously won't work for me (from related thread)
https://bbs.archlinux.org/viewtopic.php … 0#p1510090

# pacman -Q | egrep '^gstreamer|gst'
clutter-gst 3.0.4-1
clutter-gst2 2.0.14-1
gst-libav 1.4.5-1
gst-plugins-bad 1.4.5-2
gst-plugins-base 1.4.5-1
gst-plugins-base-libs 1.4.5-1
gst-plugins-good 1.4.5-2
gst-plugins-ugly 1.4.5-2
gstreamer 1.4.5-1

about:config
media.gstreamer.enabled;true

media.mediasource.enabled;true
media.mediasource.mp4.enabled;true
media.mediasource.webm.enabled;true

# pacman -Qi firefox
Name           : firefox
Version        : 38.0.1-1
Description    : Standalone web browser from mozilla.org
Architecture   : x86_64
URL            : https://www.mozilla.org/firefox/
Licences       : MPL  GPL  LGPL
Groups         : None
Provides       : None
Depends On     : gtk2  mozilla-common  libxt  startup-notification  mime-types
                 dbus-glib  alsa-lib  desktop-file-utils  hicolor-icon-theme
                 libvpx  icu  libevent  nss  hunspell  sqlite
Optional Deps  : networkmanager: Location detection via available WiFi networks
                 [installed]
                 gst-plugins-good: h.264 video [installed]
                 gst-libav: h.264 video [installed]
                 upower: Battery API [installed]

I've got https://wiki.archlinux.org/index.php/VDPAU enabled for my AMD r600 if that's relevant.

PS. I've used this command to install the gstreamer packages:

pacman -S gst-libav gst-plugins-base gst-plugins-good gst-plugins-ugly

so the gst-plugins-bad has been installed arbitrary by pacman.

EDIT:
Additional info:

# journalctl -b -0 | grep -i vdpau
May 17 17:19:34 arch1411 /usr/lib/gdm/gdm-x-session[585]: (II) RADEON(0): [DRI2]   VDPAU driver: r600
# journalctl -b -0 | grep -i vaapi
# journalctl -b -0 | grep -i va-api
# vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
# vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
...
# cat /etc/profile
# /etc/profile
.
.
.
# moj VDPAU i VA-API
#export LIBVA_DRIVER_NAME=vdpau
#export VDPAU_DRIVER=r600

EDIT:
setting
media.gstreamer.enabled;false
"fixes" the issue.

EDIT 2:
For the troubleshooting purposes I've comented out both environmental variables:
#export LIBVA_DRIVER_NAME=vdpau
#export VDPAU_DRIVER=r600
I've left any package installed for the purpose of vdpau or va-api intact.

Last edited by bbarcher (2015-05-23 08:19:10)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#9 2015-08-12 15:50:58

mmoya
Member
Registered: 2014-05-14
Posts: 3
Website

Re: Can't enable HTML5 H264 for Firefox

bbarcher wrote:

EDIT:
setting
media.gstreamer.enabled;false
"fixes" the issue.

This is what finally fixed the issue for me. I already had needed packages and media.mediasource.* stuff in about:config set to True.

EDIT: It actually fixed playing some Youtube videos that were previously green there still are videos that doesn't play. Seems to me that disabling gstreamer allowed playing h.264 but broke playing of another codecs.

I think I'd wait until FF support newer gstreamer.

Last edited by mmoya (2015-08-14 07:47:15)

Offline

Board footer

Powered by FluxBB