mpv icon indicating copy to clipboard operation
mpv copied to clipboard

FPS 29.97003/23.97602 (specified) VP9 (when 1080p is max res) breaks youtube skip/seek function (mpv+yt-dlp)

Open geextahslex opened this issue 1 year ago • 6 comments

mpv Information

mpv v0.38.0-567-g68a1a387 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jun 29 2024 00:14:07
libplacebo version: v7.349.0 (v7.349.0-rc1-3-g1fd3c7b-dirty)
FFmpeg version: N-116052-gd5e603ddc
FFmpeg library versions:
   libavcodec      61.9.100
   libavdevice     61.2.100
   libavfilter     10.2.102
   libavformat     61.4.100
   libavutil       59.27.100
   libswresample   5.2.100
   libswscale      8.2.100

Other Information

  • Windows version: Windows 10 22H2 Build 19045.4170)
  • GPU model, driver and version: intel HD Graphics 4600, driver: 20.19.15.5171
  • Source of mpv: https://sourceforge.net/projects/mpv-player-windows/files/
  • Introduced in version: present since v37.0/38 and latest
  • Source of yt-dlp: https://github.com/yt-dlp/yt-dlp-nightly-builds
  • yt-dlp version: yt-dlp nightly 2024.06.29.232730

Reproduction Steps

run: mpv "https://www.youtube.com/watch?v=PgHZ4itvgVs" or any FPS 29.97003 VP9 youtube video and try to skip/seek forward

Expected Behavior

video can use skip/seek and works normally

Actual Behavior

video can't be skipped forward/use seek. If you use it the video hangs/stops playback.

Log File

gpu-debug output.txt full log output.txt

Sample Files

after using seek, video stops and cache is at 0 for a while screenshot after a while cache starts again but there is still no playback screenshot2

I carefully read all instruction and confirm that I did the following:

  • [X] I tested with the latest mpv version to validate that the issue is not already fixed.
  • [X] I provided all required information including system and mpv version.
  • [X] I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • [X] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • [X] I attached the full, untruncated log file.
  • [X] I attached the backtrace in the case of a crash.

geextahslex avatar Jun 30 '24 12:06 geextahslex

Duplicate of https://github.com/mpv-player/mpv/issues/13033

guidocella avatar Jun 30 '24 12:06 guidocella

It looks like videos with FPS 29.97003/23.97602 (specified) VP9 and only if 1080p is available, have this issue

geextahslex avatar Jun 30 '24 14:06 geextahslex

this looks like the same issue (I opened), I just wish you posted the full log file so I can at least confirm if this error shows up:

[  14.613][d][cplayer] video EOF (status=4)

Obegg avatar Jun 30 '24 14:06 Obegg

Here full logfile output.txt

geextahslex avatar Jun 30 '24 15:06 geextahslex

Mmmm, I am not sure but I think it's not the same issue (I don't see the video EOF lines)

Obegg avatar Jun 30 '24 15:06 Obegg

@SnnUntz provided a solution/workaround.

These can be used to solve the issue. ytdl-raw-options = format-sort="proto" or ytdl-raw-options = extractor-args="youtube:skip=hls" or ytdl-format = "(bv*+ba/b)[protocol^=http][protocol!*=dash] / (bv*+ba/b)"

The bug occurs when using the m3u8 protocol.

geextahslex avatar Jul 01 '24 13:07 geextahslex