Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901207 - www-client/firefox-110.0.1 fails to play some videos with media-video/ffmpeg-6.0
Summary: www-client/firefox-110.0.1 fails to play some videos with media-video/ffmpeg-6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: ffmpeg-6.0
  Show dependency tree
 
Reported: 2023-03-14 12:02 UTC by crabbed halo ablution
Modified: 2023-04-12 05:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crabbed halo ablution 2023-03-14 12:02:16 UTC
AFAICT, Firefox relies on ffmpeg for some but not all of its media playback, but doesn't link directly, rather dlopens.
Having janked my whole system to using ffmpeg-6.0, firefox suddenly stops working with some youtube videos and all(?) twitch videosbecause the preserved libavcodec.so.59 was deleted. 
Termux has a patch for this at:
https://github.com/termux/termux-packages/pull/15393/commits/7d9a7c864bc3039c140318c86fcec611736d70be
It involves pulling in some new ffmpeg headers from ffmpeg-6.0 and adding a ffmpeg-6.0 bit to the dlopen code.
I have yet to test it, but it looks good and I thought I'd write this up before I forgot all about it again.

Reproducible: Always
Comment 1 Tee KOBAYASHI 2023-03-14 16:09:38 UTC
This should not happen by default, because >=media-video/ffmpeg-5 are masked. See also https://bugs.gentoo.org/831437.

You should share the `emerge --info` output.
Comment 2 Sven B. 2023-03-14 17:58:35 UTC
Might be fixed in 112;
https://bugzilla.mozilla.org/show_bug.cgi?id=1819374
Comment 3 Joonas Niilola gentoo-dev 2023-03-15 04:35:48 UTC
Yeah, should be fixed in firefox-112. The ffmpeg-6 compatibility series seemed to include so many patches I didn't bother even trying, as ffmpeg-6 is masked anyway.
Comment 4 Geoff Leach 2023-04-12 02:50:29 UTC
firefox-112 with ffmpeg-6 works for me
Comment 5 Joonas Niilola gentoo-dev 2023-04-12 05:38:37 UTC
Thanks! Firefox-112.0 is in the tree. Will see about supporting ESR, ffmpeg-6 probably won't be unmasked before the next ESR series (115) is available.