FS#73841 - [firefox] Can't play h264 videos

Attached to Project: Arch Linux
Opened by Robert Cegliński (codicodi) - Thursday, 17 February 2022, 17:36 GMT
Last edited by Antonio Rojas (arojas) - Friday, 18 February 2022, 11:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Firefox can't decode h264 after updating to ffmpeg 5.0. Launching firefox with MOZ_LOG="PlatformDecoderModule:5" reveals that libavcodec versions up to 58 are supported, but ffmpeg 5.0 has libavcodec.so.59

Additional info:
firefox 97.0-1
ffmpeg 2:5.0-3

Steps to reproduce:
Go to any website that serves h264 videos, like https://www.dailymotion.com/ and try to play something.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 18 February 2022, 11:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  firefox 97.0.1-1
Comment by Robert Cegliński (codicodi) - Thursday, 17 February 2022, 17:48 GMT
It seems to be tracked upstream too, but no patches available yet
https://bugzilla.mozilla.org/show_bug.cgi?id=1750760
Comment by Henrique Dias (hdias) - Thursday, 17 February 2022, 18:14 GMT
I have the same problem.
In firefox, a bar appears at the top of the brwser with the following message:
"To play video you need to install the required video codecs"
Comment by Robert Cegliński (codicodi) - Thursday, 17 February 2022, 18:49 GMT
I didn't notice the old ffmpeg is still available as ffmpeg4.4. Installing it fixes the issue. Perhaps firefox' dependency should be switched?
Comment by Geert Hendrickx (ghen) - Thursday, 17 February 2022, 21:27 GMT
Yes, firefox should depend on ffmpeg4.4 for the time being.
Comment by Curtis (foxcm2000) - Friday, 18 February 2022, 00:22 GMT
Having the same problem.
Comment by Curtis (foxcm2000) - Friday, 18 February 2022, 01:45 GMT
Just got the updated firefox & ffmpeg packages and they seem to fix the issue. Thanks for the quick response and hopefully upstream gets everything working soon.
Comment by snitxmhm (Einsam) - Friday, 18 February 2022, 09:36 GMT
Please update firefox-developer-edition PKGBUILD. Having the same problem.

Loading...