Media playback issues with ffmpeg 8.0 (rebuild required?)

Description:

The ffmpeg package has been updated in testing and Firefox has some media playback issues now.

When trying to seek a H264 video, it fails with "Video can't be played because the file is corrupt." message. Prints such errors to cli:

[Child 78007, MediaDecoderStateMachine #1] WARNING: Decoder=7f912bf39d00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /usr/src/debug/firefox/firefox-143.0.3/dom/media/MediaDecoderStateMachineBase.cpp:168
[Child 78007, MediaDecoderStateMachine #1] WARNING: Decoder=7f9135f1b100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - virtual RefPtr<MediaDataDecoder::DecodePromise> mozilla::GMPVideoDecoder::Decode(MediaRawData *): mGMP not initialized: file /usr/src/debug/firefox/firefox-143.0.3/dom/media/MediaDecoderStateMachineBase.cpp:168

So I guess it needs a rebuild?

Additional info:

  • package version(s): firefox 143.0.3-1, ffmpeg 2:8.0-2

Steps to reproduce:

  1. Open e.g. this video in Firefox, play it and then try to seek.
Edited by Hanabishi Recca
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information