Firefox 45.2 ESR loads ffmpeg-libs only sometimes (CentOS 6.8 x86_64 on Intel G33/945G)

RESOLVED INVALID

Status

()

RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: w.hoelzl, Unassigned)

Tracking

({html5})

45 Branch
x86_64
Linux
html5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160601155443

Steps to reproduce:

1. Install Firefox 45.2 ESR

2. Install FFmpeg libraries from EPEL and Nux Dextop Repos
libavcodec.so.56
libavcodec.so.56.26.100
libavutil.so.54
libavutil.so.54.20.100
libfaac.so.0
libfaac.so.0.0.0
libgsm.so.1
libgsm.so.1.0.12
libmp3lame.so.0
libmp3lame.so.0.0.0
libmp4v2.so.0
libmp4v2.so.0.0.0
libopus.so.0
libopus.so.0.5.2
libschroedinger-1.0.so.0
libschroedinger-1.0.so.0.2.0
libsoxr.so.0
libsoxr.so.0.1.0
libswresample.so.1
libswresample.so.1.1.100
libva.so.1
libva.so.1.3200.0
libx26410b.so.142
libx264.so.142
libx265.so.79
libxvidcore.so.4
libxvidcore.so.4.3

3. Start Firefox and check
https://www.youtube.com/html5
about:config media.ffmpeg.enabled=true
/usr/sbin/lsof | grep firefox | grep lib64 | perl -ane 'print "$F[8]\n"' | grep -E 'avcodec|avutil'




Actual results:

Sometimes FFmpeg libraries are loaded, sometimes not. 


Expected results:

The FFmpeg libraries should be always loaded.
(Reporter)

Updated

2 years ago
Keywords: html5
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Updated

2 years ago
Component: Untriaged → Audio/Video
Product: Firefox → Core
Component: Audio/Video → Audio/Video: Playback
Please provide your about:config. Are you sure you haven't enabled multiprocess e10s?

Because if so, the libraries will only be loaded by the content process; not the main process. 

Also, the libraries are loaded on demand only. So it's perfectly normal to not see the Libs being loaded.
(Reporter)

Comment 2

2 years ago
This time the FFmpeg libraries are loaded:

/usr/sbin/lsof |grep firefox |grep lib64 |perl -ane 'print "$F[8]\n"' |grep -E 'avcodec|avutil'
/usr/lib64/libavutil.so.54.20.100
/usr/lib64/libavcodec.so.56.26.100

https://www.youtube.com/html5 shows all HTML5 features.

Which about:config preferences would you need?

This is about:support

Application Basics
------------------

Name: Firefox
Version: 45.2.0
Build ID: 20160601155443
Update Channel: esr
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Multiprocess Windows: 0/1 (default: false)
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: 4or6
Version: 1.2.1.1-signed.1-signed
Enabled: true
ID: 4or6@hunen.net

Name: Enforce Encryption
Version: 1.0.5
Enabled: true
ID: enforceencryption@palant.de

Name: facepaste
Version: 2.91
Enabled: true
ID: facepaste.firefox.addon@azabani.com

Name: Firefox Hello Beta
Version: 1.1.14
Enabled: true
ID: loop@mozilla.org

Name: Location Guard
Version: 1.2.3
Enabled: true
ID: jid1-HdwPLukcGQeOSh@jetpack

Name: Lock The Text
Version: 0.34.1-signed.1-signed
Enabled: true
ID: lockthetext@lockthetext.sourceforge.net

Name: NoScript
Version: 2.9.0.11
Enabled: true
ID: {73a6fe31-595d-460b-a920-fcc0f8843232}

Name: Print Edit
Version: 16.8
Enabled: true
ID: printedit@DW-dev

Name: Privacy Badger
Version: 1.0.6
Enabled: true
ID: jid1-MnnxcxisBPnSXQ-eff@jetpack

Name: TrackMeNot
Version: 0.9.2
Enabled: true
ID: trackmenot@mrl.nyu.edu

Name: User Agent Switcher
Version: 0.7.3.1-signed.1-signed
Enabled: true
ID: {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

Graphics
--------

Adapter Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) G33
Asynchronous Pan/Zoom: none
Device ID: Mesa DRI Intel(R) G33
Driver Version: 2.1 Mesa 11.0.7
GPU Accelerated Windows: 0/1 Basic (OMTC)
Supports Hardware H264 Decoding: No;
Vendor ID: Intel Open Source Technology Center
WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) G33
windowLayerManagerRemote: true
AzureCanvasBackend: cairo
AzureContentBackend: cairo
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0
CairoUseXRender: 1

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 0
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.enabled: false
browser.cache.disk.smart_size.first_run: false
browser.cache.frecency_experiment: 4
browser.download.importedFromSqlite: true
browser.download.useDownloadDir: false
browser.places.smartBookmarksVersion: 7
browser.startup.homepage: about:newtab
browser.startup.homepage_override.buildID: 20160601155443
browser.startup.homepage_override.mstone: 45.2.0
browser.tabs.loadInBackground: false
browser.tabs.warnOnClose: false
browser.tabs.warnOnCloseOtherTabs: false
browser.urlbar.trimURLs: false
dom.apps.reset-permissions: true
dom.mozApps.used: true
extensions.lastAppVersion: 45.2.0
gfx.crash-guard.glcontext.appVersion: 45.2.0
gfx.crash-guard.glcontext.deviceID: Mesa DRI Intel(R) G33
gfx.crash-guard.glcontext.driverVersion: 2.1 Mesa 11.0.7
gfx.crash-guard.status.glcontext: 2
media.gmp-gmpopenh264.abi: x86_64-gcc3
media.gmp-gmpopenh264.lastUpdate: 1466114713
media.gmp-gmpopenh264.version: 1.5.3
media.gmp-manager.buildID: 20160601155443
media.gmp-manager.lastCheck: 1466529513
network.cookie.lifetimePolicy: 2
network.cookie.prefsMigrated: true
network.dns.disablePrefetch: true
network.dns.disablePrefetchFromHTTPS: true
network.dnsCacheEntries: 0
network.dnsCacheExpiration: 0
network.dnsCacheExpirationGracePeriod: 0
network.http.fast-fallback-to-IPv4: false
network.predictor.cleaned-up: true
network.prefetch-next: false
places.database.lastMaintenance: 1466173735
places.history.expiration.transient_current_max_pages: 98439
plugin.importedState: true
plugin.state.flash: 0
privacy.clearOnShutdown.cookies: false
privacy.cpd.cookies: false
privacy.donottrackheader.enabled: true
privacy.donottrackheader.value: 1
privacy.sanitize.migrateClearSavedPwdsOnExit: true
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.sanitizeOnShutdown: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1466173735

Important Locked Preferences
----------------------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: true
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.12
Version in use: 4.12

NSS
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSSMIME
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSSSL
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSUTIL
Expected minimum version: 3.21.1
Version in use: 3.21.1

Experimental Features
---------------------

Sandbox
-------

Seccomp-BPF (System Call Filtering): false
Seccomp Thread Synchronization: false
User Namespaces: false
Media Plugin Sandboxing: false
(Reporter)

Comment 3

2 years ago
Firefox 45.2 ESR Mozilla and CentOS/RHEL are different:

about:support (Mozilla)
Supports Hardware H264 Decoding: No;

about:support (CentOS/RHEL)
Supports Hardware H264 Decoding: No; Compiled without MP4 support.
(Reporter)

Comment 4

2 years ago
I have installed Firefox 45.2 ESR CentOS (RPM) and Mozilla (/opt/firefox-45.2).
The Mozilla version is in my PATH and the CentOS version in the Gnome menu.
This created the strange behavior with working/non-working HTML5-MP4 video.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
(In reply to Werner Hoelzl from comment #3)
> about:support (Mozilla)
> Supports Hardware H264 Decoding: No;
theres no hardware h264 support on Linux at this stage.

> 
> about:support (CentOS/RHEL)
> Supports Hardware H264 Decoding: No; Compiled without MP4 support.

Then you need to report to whomever is packaging it on centos to not play with configure options and include MP4 support.
You need to log in before you can comment on or make changes to this bug.