Skip to content

fast_forward=false sometimes results in video stops loading  #69

@Obegg

Description

@Obegg

I mainly use fast_forward = false, because I prefer to skip segments like preview and not fast forward.
But a few times now I encountered a bug where if I use fast_forward=false in order to skip preview the video will stop loading afterwards.
Take for example this video: https://www.youtube.com/watch?v=KrLj6nc516A
mpv will skip to 00:00:20 (20seconds mark) (Chapter: Preview segment end) and will stop loading the video.
Using the latest mpv and latest yt-dlp
The only solution (that I found) is to use fast_forward = true, but that's not an ideal solution.
Meanwhile, I have a few suggestions to counter this issue:

  1. If fast_forward = false then wait for video to load the end of the segment to cache and only then skip it
    In other words - skip only if segment is cached
  2. If fast_forward = false then wait 1-3 seconds if video is just starting up, for example: if video is currently at 00:00:00 and it needs to skip to 00:00:20 then wait until the current time is 00:00:03 to give time to yt-dlp and mpv to load properly (even if the segment is not cached yet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions