Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846641 - media-video/ffmpeg has issues with some of youtube's vp9 encodes (was: net-misc/yt-dlp: ERROR: Postprocessing: Conversion failed!)
Summary: media-video/ffmpeg has issues with some of youtube's vp9 encodes (was: net-mi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
Keywords: PATCH
Depends on:
Reported: 2022-05-21 06:46 UTC by lekto
Modified: 2023-02-17 10:52 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2022-05-21 06:46:31 UTC
I writing this in case someone see this bug and will be looking for fix here. Upstream is aware of it [1], and this is ffmpeg bug. This was already fixed in ffmpeg, but unfortunately this fix isn't in version 5.0.1 (the newest version in portage tree right now), so right now the only way to fix it is to install ffmpeg-9999

Comment 1 Tee KOBAYASHI 2022-05-21 15:55:36 UTC
You (and we) should be free to apply the fix as a user patch to released versions of media-video/ffmpeg.

Upstream patch:
Comment 2 Ionen Wolkens gentoo-dev 2022-05-21 17:52:08 UTC
Well, from what I can tell this is a ffmpeg issue that would happen regardless of the yt-dlp context if converting such videos -- so don't think much for yt-dlp to do here.

Maybe ffmpeg would be interested in backporting the fix given patch looks trivial, I assume comment #2 implies it works?
Comment 3 jospezial 2023-02-17 10:31:38 UTC
As we can see at
This is fixed in ffmpeg version 5.1 and higher.
I has not been backported to 4.x. The line still exists in that releases and branches.

5.0.x is gone.
Last affected versions in Gentoo are 4.x.x
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-17 10:52:30 UTC
If the patch works when applied to 4.4.x and tests pass, feel free to try it I guess. It's a free for all anyway though.