Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899956 - media-video/mpv: streaming from youtube: Error in EDL
Summary: media-video/mpv: streaming from youtube: Error in EDL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-03-06 20:18 UTC by poncho
Modified: 2023-03-08 22:08 UTC (History)
3 users (show)

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


Attachments
init fragment requires other fragments (94c189dae76ba280d9883b16346c3dfb9720687e.patch,1.12 KB, patch)
2023-03-06 20:20 UTC, poncho
Details | Diff
only log error when no fallback url available (362256edbc4f95c63e69c1fa8c8dce9cc6c44288.patch,1.55 KB, patch)
2023-03-06 20:20 UTC, poncho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2023-03-06 20:18:30 UTC
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
Comment 1 poncho 2023-03-06 20:20:10 UTC
Created attachment 856422 [details, diff]
init fragment requires other fragments
Comment 2 poncho 2023-03-06 20:20:50 UTC
Created attachment 856424 [details, diff]
only log error when no fallback url available
Comment 3 poncho 2023-03-06 20:23:10 UTC
Dropping the two attached patches into /etc/portage/patches/media-video/mpv fixes the issue.
Comment 4 Larry the Git Cow gentoo-dev 2023-03-06 20:41:06 UTC
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(+)