Fix missing video frames when seeking with yt-dlp #19

Closed
opened 2024-08-04 01:22:41 +02:00 by oysteikt · 1 comment
Owner

When you play a video from youtube through yt-dlp inside mpv, and seek in front of what has already been cached, mpv will freeze for a while and then only resume music without any more video frames.

The origin of the bug seemingly has to do with codecs and remuxing, and it can be solved by forcing yt-dlp's format. This config file will let you force the yt-dlp format for only the urls matching youtube ($XDG_CONFIG_HOME/mpv/mpv.conf)

[youtube]
profile-cond=path:find('youtu%.?be')
--ytdl-format="137+140"
When you play a video from youtube through yt-dlp inside mpv, and seek in front of what has already been cached, `mpv` will freeze for a while and then only resume music without any more video frames. The origin of the bug seemingly has to do with codecs and remuxing, and it can be solved by forcing `yt-dlp`'s format. This config file will let you force the yt-dlp format for only the urls matching youtube (`$XDG_CONFIG_HOME/mpv/mpv.conf`) ``` [youtube] profile-cond=path:find('youtu%.?be') --ytdl-format="137+140" ```
oysteikt added the
bug
label 2024-08-04 01:22:41 +02:00
Author
Owner

Fixed by b3e7f550b7

Fixed by b3e7f550b7c29fe7c186b3c9835405f29b48e7de
Sign in to join this conversation.
No description provided.