A recent change in net-misc/yt-dlp broke the integration with mpv when streaming YouTube videos. The error message: EDL specifies no segments.' EDL parsing failed. Error in EDL. And then the video plays without audio. See https://github.com/mpv-player/mpv/issues/11392 Patches were merged upstream here: https://github.com/mpv-player/mpv/pull/11398
Created attachment 856422 [details, diff] init fragment requires other fragments
Created attachment 856424 [details, diff] only log error when no fallback url available
Dropping the two attached patches into /etc/portage/patches/media-video/mpv fixes the issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88415abf5a1a3174a30fb6bdf4cdca8cb8a6ab7 commit b88415abf5a1a3174a30fb6bdf4cdca8cb8a6ab7 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-03-06 20:35:40 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-03-06 20:39:50 +0000 media-video/mpv: backport ytdl hook fix for dash videos Feels safe enough for straight-to-stable given only touches the lua script which is already semi-broken. Closes: https://bugs.gentoo.org/899956 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../files/mpv-0.35.1-yt-dlp-edl-fragments.patch | 55 ++++++++++++++++++++++ .../{mpv-0.35.1.ebuild => mpv-0.35.1-r1.ebuild} | 4 ++ 2 files changed, 59 insertions(+)