Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
6 tasks done
geextahslex opened this issue Jun 30, 2024 · 6 comments
Labels

Comments

@geextahslex
Copy link

geextahslex commented Jun 30, 2024

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

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:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • 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.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
@geextahslex geextahslex changed the title specific youtube video have broken skip/seek function specific youtube video has broken skip/seek function Jun 30, 2024
@guidocella
Copy link
Contributor

Duplicate of #13033

@geextahslex geextahslex changed the title specific youtube video has broken skip/seek function FPS 29.97003 FPS breaks youtube skip/seek function (yt-dlp) Jun 30, 2024
@geextahslex geextahslex changed the title FPS 29.97003 FPS breaks youtube skip/seek function (yt-dlp) FPS 29.97003 FPS breaks youtube skip/seek function (mpv+yt-dlp) Jun 30, 2024
@geextahslex
Copy link
Author

geextahslex commented Jun 30, 2024

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

@geextahslex geextahslex changed the title FPS 29.97003 FPS breaks youtube skip/seek function (mpv+yt-dlp) FPS 29.97003 VP9 breaks youtube skip/seek function (mpv+yt-dlp) Jun 30, 2024
@Obegg
Copy link

Obegg commented Jun 30, 2024

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)

@geextahslex
Copy link
Author

geextahslex commented Jun 30, 2024

Here
full logfile
output.txt

@Obegg
Copy link

Obegg commented Jun 30, 2024

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

@geextahslex geextahslex changed the title FPS 29.97003 VP9 breaks youtube skip/seek function (mpv+yt-dlp) FPS 29.97003 (specified) VP9 (when only 1080p available) breaks youtube skip/seek function (mpv+yt-dlp) Jun 30, 2024
@geextahslex geextahslex changed the title FPS 29.97003 (specified) VP9 (when only 1080p available) breaks youtube skip/seek function (mpv+yt-dlp) FPS 29.97003 (specified) VP9 (when 1080p is max res) breaks youtube skip/seek function (mpv+yt-dlp) Jun 30, 2024
@geextahslex geextahslex changed the title FPS 29.97003 (specified) VP9 (when 1080p is max res) breaks youtube skip/seek function (mpv+yt-dlp) FPS 29.97003/23.97602 (specified) VP9 (when 1080p is max res) breaks youtube skip/seek function (mpv+yt-dlp) Jun 30, 2024
@geextahslex
Copy link
Author

geextahslex commented Jul 1, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants