Closed Bug 1887735 Opened 1 year ago Closed 8 months ago

"Webm could not be decoded: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)" when playing any Webm

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 124
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: carlosgonzrz, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.52 Safari/537.36

Steps to reproduce:

Open any Webm on any page. Example: https://dl6.webmfiles.org/big-buck-bunny_trailer.webm

On Chromium Chromium 123.0.6312.58 (Official Build) snap (64-bit) the Webm plays with no issues.

Actual results:

Gray box with "No video with supported format and MIME type found". In the console there are 2 warnings with the following message:
"Media resource https://dl6.webmfiles.org/big-buck-bunny_trailer.webm could not be decoded."
"Media resource https://dl6.webmfiles.org/big-buck-bunny_trailer.webm could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)"

Expected results:

The Webm should have played with no issues. Attached a screenshot of the Webm playing on Chromium 123.0.6312.58 (Official Build) snap (64-bit)

The actual User-Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

This is playing fine for me on Windows. Internally we're using the ffvpx video decoder. The format is VP8. Your screenshot shows a frame from the video in question, implying it played? Can you provide some more detail here?

Flags: needinfo?(carlosgonzrz)

The screenshot is from Chromium.

Does a Firefox build downloaded from https://www.mozilla.org/en-US/firefox/download/thanks/ behave similarly?

I'm getting the same issue with MULTIPLE videos, including https://dl6.webmfiles.org/big-buck-bunny_trailer.webm , using Arch Linux's default Firefox package.

https://support.mozilla.org/en-US/questions/1447784

Did something happen semi-recently that packagers need to change? Maybe built in codecs not enabled by default?

This Debian bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068126 is likely also related. It has the same sort of flavor and is also for a 'more recent' Firefox version. I'd been avoiding updates myself due to the KDE update; Arch is now on KDE 6, so I paused updates to wait for a mostly usable desktop.

After some additional testing on my desktop I think it's related to something in my existing user profiles.

Freshly created clean profile...

WORKS: ESR 115.11.0esr (64-bit) w/HWaccel (both) checked https://dl6.webmfiles.org/big-buck-bunny_trailer.webm

WORKS: ESR 115.11.0esr (64-bit) wo/HWaccel (both) UNchecked (reloaded) https://dl6.webmfiles.org/big-buck-bunny_trailer.webm

Re-test: 126.0 (64-bit) ... Wait, it works in this?

I tried disabling all plugins (except a session manager thing) in one of my less opened profiles; the video didn't work. Though I'm not sure if I have to completely reload that profile for those changes to take effect.

Is there any guide to duplicating a profile, to test out modifying settings/stuff? It might be as simple as close that session then transplant the entire profile content to replace the content of another target other profile folder?

** Though I still need a better set of instructions for collecting data on how Firefox is making decisions, with a focus on troubleshooting media playback at all stages. **

Flags: needinfo?(jmathies)

about:logging is the easiest way to collect info on which decisions are made. See https://paul.cx/public/about-logging-presentation.webm and include hidden threads if uploading.

cp -r ~/.mozilla/firefox/XXXXXXXX.default DEST should be good enough to duplicate a profile, and run firefox -no-remote -profile DEST.
Search for "media" "Show only modified preferences" prefs in about:config or perhaps about:support.

Severity: -- → S3
Duplicate of this bug: 1892233

Possible root cause/solution: gmp-gmpopenh264
How can gmp-gmpopenh264 be manually-reinstalled / overwriten even if the same version?

media.gmp-gmpopenh264.abi	x86_64-gcc3
media.gmp-gmpopenh264.hashValue	53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b458073
media.gmp-gmpopenh264.lastDownload	1688546534
media.gmp-gmpopenh264.lastDownloadFailed	1707213618
media.gmp-gmpopenh264.lastDownloadFailReason	Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398878, errorCode: 2, reason: error
media.gmp-gmpopenh264.lastInstallStart	1707213598
media.gmp-gmpopenh264.lastUpdate	1688546534
media.gmp-gmpopenh264.version	2.3.2

As a final test I tried 'refreshing' Firefox from the about:support tab, THIS IS NOT SOMETHING I WANT TO DO WITH MY PROFILES.

That appears to have forced gmp-gmpopenh264 to reinstall correctly, how can I do this MANUALLY?

That seems to have fixed the video playback issue, but I need a method that is NOT refreshing firefox (and purging all of the profiles and customizations!).

A google result mentioned "Toggle DRM off/on in Options/Preferences to force an update check." - this does NOT WORK.

++
++ Lots of logs etc
++

First I created two profiles, a test template so I can load the profile without restoring 100 tabs, and second an active test profile.

cd ~/.mozilla/firefox/
...
rm -r sm46csvw.ActiveTests/* ; cp -r 7lnvxapn.TestTemplate/* sm46csvw.ActiveTests/ ; DISPLAY=:0 firefox --profile sm46csvw.ActiveTests

firefox --profile sm46csvw.ActiveTests

https://dl6.webmfiles.org/big-buck-bunny_trailer.webm

about:logging
HTMLMediaElement:9,HTMLMediaElementEvents:9,cubeb:9,PlatformDecoderModule:9,AudioSink:9,AudioSinkWrapper:9,MediaDecoderStateMachine:9,MediaDecoder:9,MediaFormatReader:9,GMP:9

tmp$ cat log.txt-main.822877.moz_log
[Parent 822877: Main Thread]: I/Logger Flushing old log files
[Parent 822877: Main Thread]: D/cubeb media.audioipc.shm_area_size: 0

tmp$ cat log.txt-child.823831.moz_log
[Child 823831: Main Thread]: D/GMP GMPServiceChild::UpdateGMPCapabilities {gmp-gmpopenh264 version=2.3.2 tags=[encode-video:h264 decode-video:h264], gmp-clearkey version=1 tags=[chromium-cdm10-host4:org.w3.clearkey:org.mozilla.clearkey_with_protection_query]}


Command line:

[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=71994c9a8100 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=71994c9a8100 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachineBase.cpp:167
[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=71994a5d9900 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=71994a5d9900 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachineBase.cpp:167
2024-06-02 03:39:47.082577 UTC - [Child 823075: Main Thread]: I/Logger Flushing old log files
2024-06-02 03:39:47.082608 UTC - [Child 823068: Main Thread]: I/Logger Flushing old log files
2024-06-02 03:39:47.082619 UTC - [Child 823071: Main Thread]: I/Logger Flushing old log files
2024-06-02 03:39:47.082649 UTC - [Child 823009: Main Thread]: I/Logger Flushing old log files
2024-06-02 03:39:47.082665 UTC - [Child 823164: Main Thread]: I/Logger Flushing old log files
2024-06-02 03:39:47.082722 UTC - [Child 822962: Main Thread]: I/Logger Flushing old log files
^T[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=719949ffaa00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 823068, MediaDecoderStateMachine #1] WARNING: Decoder=719949ffaa00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachineBase.cpp:167
[Child 823071, MediaDecoderStateMachine #1] WARNING: Decoder=7756c88b8b00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 823071, MediaDecoderStateMachine #1] WARNING: Decoder=7756c88b8b00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachineBase.cpp:167
[Child 823831: Main Thread]: I/Logger Flushing old log files
[Child 823164: Main Thread]: I/Logger Flushing old log files
[Child 823068: Main Thread]: I/Logger Flushing old log files
[Child 823071: Main Thread]: I/Logger Flushing old log files
[Child 823075: Main Thread]: I/Logger Flushing old log files
[Child 823009: Main Thread]: I/Logger Flushing old log files
[Child 822962: Main Thread]: I/Logger Flushing old log files
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
/usr/lib/libicudata.so.74: unable to generate file identifier
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 SetVolume(1.000000) called by JS
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 SuspendOrResumeElement(suspend=0) docHidden=0
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 ChangeDelayLoadStatus(1) doc=0x0
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 Created decoder 791e4b9b3700 for type video/webm
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] set state machine 791e51cd1000
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Normal because the element is not in tree.
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 Network state changed to LOADING
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Normal because the element is not in tree.
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Normal because the element is not in tree.
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 SuspendOrResumeElement(suspend=0) docHidden=0
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Queuing event loadstart
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Suspend because of invisible element.
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Queuing event progress
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Normal->Normal), mVideoDecodeSuspended=F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), early return because the mode does not change
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] state=DECODING_METADATA Dispatching AsyncReadMetadata
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Normal->Normal), mVideoDecodeSuspended=F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), early return because the mode does not change
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Normal->Normal), mVideoDecodeSuspended=F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), early return because the mode does not change
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Normal->Suspend), mVideoDecodeSuspended=F
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Dispatching event loadstart
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Dispatching event progress
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Queuing event mozstartvideosuspendtimer
[Child 823075: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Content process
[Child 823075: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder rejects requested type video/vp8
[Child 823075: Main Thread]: D/HTMLMediaElement OnVisibilityChange(): ApproximatelyVisible
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Normal because of visible element.
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Suspend->Normal), mVideoDecodeSuspended=F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 CancelSuspendTimer: State: DECODING_METADATA, Timer.IsScheduled: T
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Dispatching event mozstartvideosuspendtimer
[Child 823075: Main Thread]: D/GMP GeckoMediaPluginService created; Gecko version=126.0 buildID=20240513213610
[Child 823075: Main Thread]: D/GMP GMPServiceChild::Init
[Child 823075: Main Thread]: D/GMP GMPServiceChild::AddShutdownBlocker 
[Child 823075, MediaDecoderStateMachine #1] WARNING: Decoder=791e4b9b3700 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 823075, MediaDecoderStateMachine #1] WARNING: Decoder=791e4b9b3700 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /usr/src/debug/firefox/firefox-126.0/dom/media/MediaDecoderStateMachineBase.cpp:167
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Queuing event mozcancelvideosuspendtimer
[Child 823075: Main Thread]: D/HTMLMediaElement MediaElement 791e4ad06100 UpdateReadyStateInternal() Decoder ready state < HAVE_METADATA
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] Play state changes from LOADING to SHUTDOWN
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] UpdateVideoDecodeMode(), set Normal because of visible element.
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Queuing event error
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 Network state changed to NO_SOURCE
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 ChangeDelayLoadStatus(0) doc=0x791e609b2d00
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Dispatching event mozcancelvideosuspendtimer
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), VideoDecodeMode=(Normal->Normal), mVideoDecodeSuspended=F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 SetVideoDecodeModeInternal(), early return because the mode does not change
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 CancelSuspendTimer: State: DECODING_METADATA, Timer.IsScheduled: F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] state=DECODING_METADATA change state to: SHUTDOWN
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 CancelSuspendTimer: State: SHUTDOWN, Timer.IsScheduled: F
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 MediaDecoderStateMachine::Reset
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaQueue=791e51cd16b0 Set media queue offset 0
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaQueue=791e51cd1550 Set media queue offset 0
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder VideoSink=791e404a7bb0 [Shutdown]
[Child 823075: MediaSupervisor #1]: V/MediaFormatReader MediaFormatReader[791e4c60b400] ::ResetDecode: 
[Child 823075: MediaSupervisor #1]: D/MediaFormatReader MediaFormatReader[791e4c60b400] ::Reset: Reset(Video) BEGIN
[Child 823075: MediaSupervisor #1]: D/MediaFormatReader MediaFormatReader[791e4c60b400] ::Reset: Reset(Video) END
[Child 823075: MediaSupervisor #1]: D/MediaFormatReader MediaFormatReader[791e4c60b400] ::Shutdown: 
[Child 823075: MediaSupervisor #1]: V/MediaFormatReader MediaFormatReader[791e4c60b400] ::ShutdownDecoder: Video
[Child 823075: MediaSupervisor #1]: V/MediaFormatReader MediaFormatReader[791e4c60b400] ::ReleaseResources: 
[Child 823075: MediaDecoderStateMachine #1]: D/MediaDecoder MediaDecoderStateMachine[791e51cd1000] Decoder=791e4b9b3700 Shutting down state machine task queue
[Child 823075: Main Thread]: D/HTMLMediaElementEvents 791e4ad06100 Dispatching event error
[Child 823075: Main Thread]: D/HTMLMediaElement OnVisibilityChange(): ApproximatelyNonVisible
[Child 823075: Main Thread]: D/HTMLMediaElement HTMLVideoElement=791e4ad06100, pause non-audible autoplay video when it's invisible
[Child 823075: Main Thread]: D/HTMLMediaElement OnVisibilityChange(): ApproximatelyVisible
[Child 823075: Main Thread]: D/MediaDecoder MediaDecoder[791e4b9b3700] null out state machine 791e51cd1000
[Child 823075: Main Thread]: D/MediaDecoder MediaQueue=791e51cd16b0 Set media queue offset 0
[Child 823075: Main Thread]: D/MediaDecoder MediaQueue=791e51cd1550 Set media queue offset 0
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 SuspendOrResumeElement(suspend=0) docHidden=0
/usr/lib/libicudata.so.74: unable to generate file identifier
[Child 824049: Main Thread]: D/GMP GMPServiceChild::UpdateGMPCapabilities {gmp-gmpopenh264 version=2.3.2 tags=[encode-video:h264 decode-video:h264], gmp-clearkey version=1 tags=[chromium-cdm10-host4:org.w3.clearkey:org.mozilla.clearkey_with_protection_query]}
[Child 823075: Main Thread]: D/HTMLMediaElement 791e4ad06100 SuspendOrResumeElement(suspend=0) docHidden=1




Contrast, a FRESH (from a week or so ago) empty profile...

firefox --profile q2duchgg.Clean-Test

/tmp/
16258 Jun  1 20:56 log.txt-main.824292.moz_log
  260 Jun  1 20:56 log.txt-child.824779.moz_log
14113 Jun  1 20:56 log.txt-child.824756.moz_log


## log.txt-main.824292.moz_log ##
[Parent 824292: Main Thread]: D/PlatformDecoderModule Broadcast support from 'Utility Generic', support=H264 SW
VP9 SW
VP8 SW
AV1 SW
HEVC NONE
Theora NONE
AAC SW
MP3 SW
Opus SW
Vorbis SW
FLAC SW
Wave SW
[Parent 824292: Main Thread]: D/PlatformDecoderModule Broadcast support from 'RDD', support=H264 SW
VP9 SW
VP8 SW
AV1 SW
HEVC NONE
Theora SW
AAC SW
MP3 SW
Opus SW
Vorbis SW
FLAC SW
Wave SW
[Parent 824292: AudioIPC Server RPC]: E/cubeb stream.rs:555: Output buffer attributes maxlength 4194304, tlength 22052, prebuf 17648, minreq 4408, fragsize 4294967295
[Parent 824292: Unnamed thread 79a5129eab80]: E/cubeb stream.rs:1071: Trigger user callback with output buffer size=22052, read_offset=0
[Parent 824292: cubeb_log]: E/cubeb stream.rs:383: Output callback to be written buffer size 22052
[Parent 824292: Unnamed thread 79a5129eab80]: E/cubeb stream.rs:1071: Trigger user callback with output buffer size=7656, read_offset=0
[Parent 824292: cubeb_log]: E/cubeb stream.rs:383: Output callback to be written buffer size 7656
[Parent 824292: Unnamed thread 79a5129eab80]: E/cubeb stream.rs:1071: Trigger user callback with output buffer size=7528, read_offset=0
[Parent 824292: cubeb_log]: E/cubeb stream.rs:383: Output callback to be written buffer size 7528
...

## log.txt-main.824292.moz_log ##
[Child 824779: Main Thread]: D/GMP GMPServiceChild::UpdateGMPCapabilities {gmp-gmpopenh264 version=2.3.2 tags=[encode-video:h264 decode-video:h264], gmp-clearkey version=1 tags=[chromium-cdm10-host4:org.w3.clearkey:org.mozilla.clearkey_with_protection_query]}

## log.txt-child.824756.moz_log ##
[RDD 824756: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in RDD process
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 102, isFFMpeg: yes
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 100, isFFMpeg: yes
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFVPX: Link result: Success
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/hevc'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
[RDD 824756: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
[RDD 824756: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav'
[RDD 824756: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav'
[RDD 824756: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[RDD 824756: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[RDD 824756: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=40000<C2><B5>s ; mTime=0<C2><B5>s ; mTimecode=0<C2><B5>s
[RDD 824756: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=40000<C2><B5>s ; mTime=40000<C2><B5>s ; mTimecode=40000<C2><B5>s
[RDD 824756: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=40000<C2><B5>s ; mTime=80000<C2><B5>s ; mTimecode=80000<C2><B5>s

## command line ##
[Parent 824292: Main Thread]: D/HTMLMediaElement 79a52ba2a100 SuspendOrResumeElement(suspend=0) docHidden=1
[Parent 824292: Main Thread]: D/HTMLMediaElement 79a52ba2a100 SuspendOrResumeElement(suspend=0) docHidden=0
[Utility 824504: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Utility process
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 100, isFFMpeg: yes
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFVPX: Link result: Success
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 102, isFFMpeg: yes
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/hevc'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
[Utility 824504: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/theora'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav'
[Utility 824504: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav'
[Utility 824504: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[Utility 824504: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis'
[Utility 824504: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=13000µs ; mTime=0µs ; mTimecode=0µs
[Utility 824504: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=13000µs ; mTime=0µs ; mTimecode=0µs
[Utility 824504: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23000µs ; mTime=13000µs ; mTimecode=13000µs
[Utility 824504: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23000µs ; mTime=13000µs ; mTimecode=13000µs
[Utility 824504: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23000µs ; mTime=36000µs ; mTimecode=36000µs
...
[Utility 824504: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23000µs ; mTime=5098000µs ; mTimecode=5098000µs
[Child 824537: Main Thread]: I/Logger Flushing old log files
[Child 824779: Main Thread]: I/Logger Flushing old log files
[Child 824538: Main Thread]: I/Logger Flushing old log files
[RDD 824756: Main Thread]: I/Logger Flushing old log files
[Child 824439: Main Thread]: I/Logger Flushing old log files
[Child 824509: Main Thread]: I/Logger Flushing old log files
[Child 824378: Main Thread]: I/Logger Flushing old log files
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt


It looks like the old profiles trip up around where a WORKING profile does:

D/PlatformDecoderModule Broadcast support from 'Utility Generic', support=...
D/PlatformDecoderModule Broadcast support from 'RDD', support=...


Armed with: firefox PlatformDecoderModule

Some search engine hits suggest inspecting about:support and ctrl+f video


FRESH (from a week or so ago) empty profile : firefox --profile q2duchgg.Clean-Test

Important Modified Preferences
layers.acceleration.disabled	true
media.gmp-gmpopenh264.abi	x86_64-gcc3
media.gmp-gmpopenh264.hashValue	53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b458073
media.gmp-gmpopenh264.lastDownload	1716431696
media.gmp-gmpopenh264.lastInstallStart	1716431695
media.gmp-gmpopenh264.lastUpdate	1716431696
media.gmp-gmpopenh264.version	2.3.2
media.gmp.storage.version.observed	1

HARDWARE_VIDEO_DECODING
default available
runtime unavailable Force disabled by gfxInfo Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED

Content Decryption Modules Information
Key System Name Video Robustness Audio Robustness Capabilities Clear Lead HDCP 2.2 Compatible
org.w3.clearkey {"persistent":"optional","distinctive":"not-allowed","sessionType":"[Temporary]","scheme":"[cenc,cbcs,cbcs-1-9]","codec":{"decodingAndDecrypting":[],"decryptingOnly":["h264","aac","flac","opus","vp9","av1","vorbis","vp8"]}} No No

VS the purged history, disabled extensions, but still broken clone profile : firefox --profile sm46csvw.ActiveTests

Important Modified Preferences - Oh I found a setting that's different.

layers.acceleration.disabled	true
media.autoplay.default	5
media.benchmark.vp9.fps	249
media.benchmark.vp9.versioncheck	5
media.gmp-gmpopenh264.abi	x86_64-gcc3
media.gmp-gmpopenh264.hashValue	53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b458073
media.gmp-gmpopenh264.lastDownload	1688546534
media.gmp-gmpopenh264.lastDownloadFailed	1707213618
media.gmp-gmpopenh264.lastDownloadFailReason	Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398878, errorCode: 2, reason: error
media.gmp-gmpopenh264.lastInstallStart	1707213598
media.gmp-gmpopenh264.lastUpdate	1688546534
media.gmp-gmpopenh264.version	2.3.2
media.gmp-manager.buildID	20240513213610
media.gmp-manager.lastCheck	1716088436
media.gmp-manager.lastEmptyCheck	1716088436
media.gmp.storage.version.observed	1
media.rdd-process.enabled	false
media.videocontrols.picture-in-picture.video-toggle.has-used	true
media.webspeech.synth.dont_notify_on_error	true

HARDWARE_VIDEO_DECODING (same)
default available
runtime unavailable Force disabled by gfxInfo Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED

Content Decryption Modules Information (also same)
Key System Name Video Robustness Audio Robustness Capabilities Clear Lead HDCP 2.2 Compatible
org.w3.clearkey {"persistent":"optional","distinctive":"not-allowed","sessionType":"[Temporary]","scheme":"[cenc,cbcs,cbcs-1-9]","codec":{"decodingAndDecrypting":[],"decryptingOnly":["h264","aac","flac","opus","vp9","av1","vorbis","vp8"]}} No No

As a final test I tried 'refreshing' Firefox from the about:support tab, THIS IS NOT SOMETHING I WANT TO DO WITH MY PROFILES.

That appears to have forced gmp-gmpopenh264 to reinstall correctly, how can I do this MANUALLY?

media.gmp-gmpopenh264.abi	x86_64-gcc3
media.gmp-gmpopenh264.hashValue	53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b458073
media.gmp-gmpopenh264.lastDownload	1717301798
media.gmp-gmpopenh264.lastInstallStart	1717301798
media.gmp-gmpopenh264.lastUpdate	1717301798
media.gmp-gmpopenh264.version	2.3.2
media.gmp.storage.version.observed	1

That seems to have fixed the video playback issue, but I need a method that is NOT refreshing firefox (and purging all of the profiles and customizations!).

A google result mentioned "Toggle DRM off/on in Options/Preferences to force an update check." - this does NOT WORK.

How can gmp-gmpopenh264 be manually-reinstalled / overwriten even if the same version?

Flags: needinfo?(jmathies)
Attached file Broken Profile Tests
I've identified the issue: INCORRECT SETTING: media.rdd-process.enabled = FALSE CORRECT SETTING: media.rdd-process.enabled = true // Default Used the 'reset' option in about config and now retesting https://dl6.webmfiles.org/big-buck-bunny_trailer.webm works. + how did I eventually stumble to that solution? + * about:support -- Revisited again to compare section by section for ANY differences that stood out no matter now small... * One missing remote process lead me to search 'firefox RDD video' and stumble across * * https://firefox-source-docs.mozilla.org/dom/ipc/process_model.html#data-decoder-rdd-process * * A differnt bug #1683808 has a better log flag: https://bugzilla.mozilla.org/show_bug.cgi?id=1683808 Oh that has a MUCH cleaner logging profile to test this issue with: MOZ_LOG="PlatformDecoderModule:5" firefox --profile 7lnvxapn.TestTemplate Working clean profile: ``` about:support (diffs) Remote Features Name Status Add an Image to PDF (with Alt Text) - Rollout (control) Address Autofill Desktop ( Pref, Release Rollout ) (enable-address-autofill) CSV Import (Release Rollout) (enable-csv-import) Encrypted Client Hello (rollout) Extensions Migration in Import Wizard - 117+ (control) Highlighting in PDFs - Rollout (treatment) Mixed content level 2 roll out (Release 115+) (control) MozillaAccounts toolbar button default visibility rollout (treatment-a) Persist Search Term Rollout (Phase 1) (control-rollout) PHC Rollout (rollout) Showing 3rd sponsored tile on the newtab page (Rollout) (control) Product Insight Telemetry via Server Knobs - Rollout - Release (control-rollout) Recommend Add-ons - Staff pick Relaunch - Treatment A Rollout (treatment-a) SERP Categorization and Consolidated Search Config (US) [Desktop] Relaunch (control) Upgrade Spotlight Rollout (treatment) Remote Processes Type Count Socket 1 Preallocated 3 Privileged About 1 Extension 1 RDD 1 Utility JavaScript Oracle 1 Utility Generic Audio Decoder 1 Media Audio Backend pulse-rust Max Channels 2 Preferred Sample Rate 48000 Roundtrip latency (standard deviation) 89.45ms (9.40) Codec Support Information Codec Name Software Decoding Hardware Decoding H264 Supported Unsupported VP9 Supported Unsupported VP8 Supported Unsupported AV1 Supported Unsupported HEVC Unsupported Unsupported Theora Supported Unsupported AAC Supported Unsupported MP3 Supported Unsupported Opus Supported Unsupported Vorbis Supported Unsupported FLAC Supported Unsupported Wave Supported Unsupported Remote Experiments Name Experiment Branch Fox Guide Reader Mode - Early Day User Holdback control Long term holdback 2024 H1 Velocity Desktop delivery MOZ_LOG="PlatformDecoderModule:5" DISPLAY=:0 firefox --profile q2duchgg.Clean-Test/ [Child 871114: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Content process [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp8 [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp8 [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/vorbis [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/vorbis [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/vorbis [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/vorbis [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/vorbis [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp8 [Child 871114: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp8 [Utility 871100: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Utility process [Utility 871100: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 100, isFFMpeg: yes [Utility 871100: Main Thread]: D/PlatformDecoderModule FFVPX: Link result: Success [Utility 871100: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 102, isFFMpeg: yes [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc' [Utility 871100: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/hevc' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora' [Utility 871100: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/theora' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav' [Utility 871100: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav' [Utility 871100: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [Utility 871100: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [Child 871114: RemVidChild]: D/PlatformDecoderModule RemoteMediaDataDecoder[7af23808cf70] ::RemoteMediaDataDecoder: 7af23808cf70 is created [Parent 870895: Main Thread]: D/PlatformDecoderModule Broadcast support from 'Utility Generic', support=H264 SW VP9 SW VP8 SW AV1 SW HEVC NONE Theora NONE AAC SW MP3 SW Opus SW Vorbis SW FLAC SW Wave SW [Child 871114: RemVidChild]: D/PlatformDecoderModule RemoteMediaDataDecoder[7af23808cf70] ::operator(): 7af23808cf70 RemoteDecoderChild has been initialized - description: ffvpx audio decoder (Utility Generic remo te), process: utility+audioDecoder_Generic, codec: vorbis [Child 871114: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::Decode: AudioTrimmer::Decode [Child 871114: MediaPDecoder #1]: V/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::PrepareTrimmers: sample[{0,1000000},{13000,1000000}] no trimming information [Utility 871100: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=13000_s ; mTime=0_s ; mTimecode=0_s [Utility 871100: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=13000_s ; mTime=0_s ; mTimecode=0_s [Child 871114: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::HandleDecodedResult: HandleDecodedResults: 1 decoded data, 1 trimmers [Child 871114: MediaPDecoder #1]: V/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::HandleDecodedResult: decoded buffer [{0,1000000}, {0,1000000}] doesn't need trimming [RDD 871212: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in RDD process [RDD 871212: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 102, isFFMpeg: yes [RDD 871212: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, macro: 60, micro: 100, isFFMpeg: yes [RDD 871212: Main Thread]: D/PlatformDecoderModule FFVPX: Link result: Success [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/hevc' [RDD 871212: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/hevc' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora' [RDD 871212: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora' [RDD 871212: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/opus' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/vorbis' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav' [RDD 871212: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/x-wav' [Parent 870895: Main Thread]: D/PlatformDecoderModule Broadcast support from 'RDD', support=H264 SW VP9 SW VP8 SW AV1 SW HEVC NONE Theora SW AAC SW MP3 SW Opus SW Vorbis SW FLAC SW Wave SW [RDD 871212: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [RDD 871212: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8' [Child 871114: RemVidChild]: D/PlatformDecoderModule RemoteMediaDataDecoder[7af238029820] ::RemoteMediaDataDecoder: 7af238029820 is created [Child 871114: RemVidChild]: D/PlatformDecoderModule RemoteMediaDataDecoder[7af238029820] ::operator(): 7af238029820 RemoteDecoderChild has been initialized - description: ffvpx video decoder (RDD remote), process : rdd, codec: vp8 [RDD 871212: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=40000_s ; mTime=0_s ; mTimecode=0_s [RDD 871212: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=40000_s ; mTime=40000_s ; mTimecode=40000_s [Child 871114: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::Decode: AudioTrimmer::Decode [Child 871114: MediaPDecoder #1]: V/PlatformDecoderModule AudioTrimmer[7af23811e7a0] ::PrepareTrimmers: sample[{13000,1000000},{36000,1000000}] no trimming information [Utility 871100: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23000_s ; mTime=13000_s ; mTimecode=13000_s [Utility 871100: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23000_s ; mTime=13000_s ; mTimecode=13000_s [RDD 871212: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=40000_s ; mTime=80000_s ; mTimecode=80000_s ... I've identified the issue: INCORRECT SETTING: media.rdd-process.enabled = FALSE CORRECT SETTING: media.rdd-process.enabled = true // Default Used the 'reset' option in about config and now retesting https://dl6.webmfiles.org/big-buck-bunny_trailer.webm works.

How long should this bug remain open if the original reporter doesn't respond?
I've been able to figure out what the incorrect setting is and how to fix it for my reproduction case.

(my) resolution steps:
about:config
CORRECT THIS SETTING: media.rdd-process.enabled = true // Default

My final troubleshooting steps:

  • A broken profile
  • A newly created 'clean' test profile
    (which worked, pointing me to a profile specific issue)
  • MOZ_LOG="PlatformDecoderModule:5" firefox --profile 7lnvxapn.TestTemplate
    Console output log
  • about:support
    Detailed summary including the missing RDD process breadcrumb.
Flags: needinfo?(jmathies)

I'm getting this on ffmpeg transcoding streams sent back to the browser -- it works on most mkv files but some mp4 it does not.

import { mp4 } from "@rcompat/http/mime";
import spawn from "@rcompat/stdio/spawn";

const command = "ffmpeg";
const input = "-i pipe:0";
const flags = "-acodec aac -vcodec libx264 -movflags frag_keyframe+empty_moov";
const output = "-f mp4 pipe:1";
const repo = "primatejs/guides";
const url = `https://raw.githubusercontent.com/${repo}/ffmpeg/assets/test.avi`;

export default {
  async get(request) {
    const { stdout, stdin } = spawn(`${command} ${input} ${flags} ${output}`);

    (await fetch(url)).body.pipeTo(stdin);

    return new Response(stdout, { headers: { "content-type": mp4 }});
  }
}

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(carlosgonzrz)

(In reply to Michael J Evans from comment #12)

How long should this bug remain open if the original reporter doesn't respond?

About this long. :)

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Flags: needinfo?(jmathies)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: