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

mpv not playinmg youtube livestream properly #15257

Open
6 tasks done
solomoncyj opened this issue Nov 4, 2024 · 7 comments
Open
6 tasks done

mpv not playinmg youtube livestream properly #15257

solomoncyj opened this issue Nov 4, 2024 · 7 comments

Comments

@solomoncyj
Copy link

mpv Information

mpv 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0
FFmpeg version: 7.0.2
FFmpeg library versions:
   libavcodec      61.3.100
   libavdevice     61.1.100
   libavfilter     10.1.100
   libavformat     61.1.100
   libavutil       59.8.100
   libswresample   5.1.100
   libswscale      8.1.100

Important Information

- Platform version: fedora 41
- GPU model, driver and version: mesa 4400
- Source:dnf
- Introduced in version: n/a

Reproduction Steps

mpv 'https://www.youtube.com/watch?v=UhmOMIGrdRY' --no-config --profile=fast --hwdec=yes --gpu-debug --log-file=output.txt

Expected Behavior

the stream to play normarly

Actual Behavior

the stream looped a small 2 second segment and was unable to play normaly, i havd to manually seek to play the next part and the following warninjg appeard in the console:
image

Log File

output.txt

Sample Files

No response

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.
@llyyr
Copy link
Contributor

llyyr commented Nov 4, 2024

I also get some errors and it seems specific to this specific youtube stream somehow, can you reproduce this on any other youtube stream? I can't

@solomoncyj
Copy link
Author

solomoncyj commented Nov 4, 2024

heppens to all live streams

@mrfragger
Copy link

yea if live stream it won't work but if it's a recorded live stream then no problem
in mpv.conf

ytdl-raw-options = extractor-args="youtube:skip=hls"
ytdl-format = bestvideo*[height<=?360]+worstaudio/worst
image

@sfan5
Copy link
Member

sfan5 commented Nov 4, 2024

This is likely due to broken DASH support in ffmpeg. Nothing to fix here.

@solomoncyj
Copy link
Author

This is likely due to broken DASH support in ffmpeg. Nothing to fix here.

dosent yt-dlp also have support of m3u8 manifests? why not use that

@sfan5
Copy link
Member

sfan5 commented Nov 4, 2024

ytdl_hook should be using that by default unless you have enabled use_manifests.
However, IIRC in certain cases with some youtube content only DASH is possible.

@solomoncyj
Copy link
Author

oh wait yes the stream was in manifestless mode 🤦

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

No branches or pull requests

4 participants