X
Tap here to go to the mobile version of the site.

Support Forum

No H.264 support in HTML5, Firefox 49, Linux

Posted

Hi, my Firefox doesn't have support for H.264 decoding, although ffmpeg and other software compiled with support for it. According to https://www.youtube.com/html5 there is no H.264 and MSE & H.264 support. On pages with html5

Hi, my Firefox doesn't have support for H.264 decoding, although ffmpeg and other software compiled with support for it. According to https://www.youtube.com/html5 there is no H.264 and MSE & H.264 support. On pages with html5 <video> tag with type="video/mp4" Firefox tells "Video format or MIME type is not supported". At about:support page there is line: "Supports Hardware H264 Decoding = No; Failed to create H264 decoder". I have recompiled Firefox with --enable-debug, and now I see the error "[6748] WARNING: Unable to create a decoder, no platform found.: file /var/tmp/portage/www-client/firefox-49.0/work/firefox-49.0/dom/media/platforms/PDMFactory.cpp, line 153". Video driver is the nvidia proprietary driver. I also ask this question in this thread (with additional info related to distrib) https://forums.gentoo.org/viewtopic-t-1054580.html. Please help.

Chosen solution

I have found the cause of the problem, it is Plex Media Server. This package contains libavcodec.so.57 which Firefox tries to link against and fails to do so (system-wide installed ffmpeg contains libavcodec.so.56).

Read this answer in context 0

Additional System Details

Application

  • Firefox 49.0
  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
  • Support URL: https://support.mozilla.org/1/firefox/49.0/Linux/ru/

Extensions

  • Adblock Plus 2.8.1 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Browsec 2.0.3 (browsec@browsec.com)
  • ChmFox 2.10.1-signed.1-signed (chmfox@zhuoqiang.me)
  • Multi-process staged rollout 1.2 (e10srollout@mozilla.org)
  • Pocket 1.0.4 (firefox@getpocket.com)
  • Skype 8.5.0.9167 ({82AF8DCA-6DE9-405D-BD5E-43525BDAD38A})
  • Web Compat 1.0 (webcompat@mozilla.org)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: NVIDIA Corporation -- GeForce GTX 560 Ti/PCIe/SSE2
  • adapterDeviceID: GeForce GTX 560 Ti/PCIe/SSE2
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: NVIDIA Corporation
  • crashGuards: []
  • driverDate:
  • driverVersion: 4.5.0 NVIDIA 375.10
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'force_enabled', u'description': u'Compositing', u'log': [{u'status': u'blocked', u'message': u'Acceleration blocked by platform', u'type': u'default'}, {u'status': u'force_enabled', u'message': u'Force-enabled by pref', u'type': u'user'}], u'name': u'HW_COMPOSITING'}]}
  • info: {u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'skia', u'AzureFallbackCanvasBackend': u'none', u'CairoUseXRender': 0, u'AzureContentBackend': u'cairo'}
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • supportsHardwareH264: No; Failed to create H264 decoder
  • webglRenderer: NVIDIA Corporation -- GeForce GTX 560 Ti/PCIe/SSE2
  • windowLayerManagerRemote: True
  • windowLayerManagerType: OpenGL

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No

Chosen Solution

I have found the cause of the problem, it is Plex Media Server. This package contains libavcodec.so.57 which Firefox tries to link against and fails to do so (system-wide installed ffmpeg contains libavcodec.so.56).

I have found the cause of the problem, it is Plex Media Server. This package contains libavcodec.so.57 which Firefox tries to link against and fails to do so (system-wide installed ffmpeg contains libavcodec.so.56).
AliceWyman
  • Moderator
240 solutions 2597 answers

(For the record) For details on the problem and its solution, see this thread that nshibalov posted on the Gentoo Forums: https://forums.gentoo.org/viewtopic-p-7991240.html?sid=38ed7080bf31ac898795875a04c62f4e [SOLVED] Firefox 49, no H.264 support

(For the record) For details on the problem and its solution, see this thread that '''nshibalov''' posted on the Gentoo Forums: https://forums.gentoo.org/viewtopic-p-7991240.html?sid=38ed7080bf31ac898795875a04c62f4e [SOLVED] Firefox 49, no H.264 support