FS#77751 - [firefox] Can't play mp4 videos with ffmpeg 6

Attached to Project: Arch Linux
Opened by Hanabishi (Hanabishi) - Monday, 06 March 2023, 23:09 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 07 March 2023, 09:20 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

With ffmpeg update to version 6 (testing/ffmpeg 2:6.0-1), Firefox can no longer play any mp4 video. Also tried with clean profile.
I see such errors in logs:

[Child 5589, MediaDecoderStateMachine #1] WARNING: Decoder=7fea4c563700 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/firefox/src/firefox-110.0.1/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 5589, MediaDecoderStateMachine #1] WARNING: Decoder=7fea4c563700 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file /build/firefox/src/firefox-110.0.1/dom/media/MediaDecoderStateMachineBase.cpp:164

Other formats like vp9 seems fine.

Additional info:
extra/firefox 110.0.1-1
testing/ffmpeg 2:6.0-1
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 07 March 2023, 09:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  firefox 110.0.1-2
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 07 March 2023, 03:32 GMT
Related: https://bugzilla.mozilla.org/show_bug.cgi?id=1819374 (Updat ffmpeg to current master, update Gecko to use ffmepg 6.0 APIs)
Comment by Mel (Mel) - Tuesday, 07 March 2023, 08:23 GMT
Why are you mixing packages from testing and extra?
There is a firefox package in testing patched to work with ffmpeg 6.
https://github.com/archlinux/svntogit-packages/commit/dd7a5fb35df6e31ee9591ab204fa2fe54e716155
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 07 March 2023, 09:07 GMT
This ticket was created before the fixed package was uploaded.

On the other hand, I can confirm firefox 110.0.1-2 plays mp4 videos well (tested h264/aac) - this ticket can be closed.

Loading...