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

Unable to stream live youtube videos #1239

Open
GauravMohla opened this issue Jul 18, 2023 · 8 comments
Open

Unable to stream live youtube videos #1239

GauravMohla opened this issue Jul 18, 2023 · 8 comments

Comments

@GauravMohla
Copy link

GauravMohla commented Jul 18, 2023

I am trying to stream a youtube video but it doesn't seem to be working. The program just downloads some chat comments to the download directory.

Issue / Suggestion

Unable to stream videos from youtube

Your Environment

yt --version yewtube version : 2.10.4 yt_dlp version : 2023.02.17 Python version : 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] Processor : Intel64 Family 6 Model 76 Stepping 4, GenuineIntel Machine type : AMD64 Architecture : 64bit, WindowsPE Platform : Windows-10-10.0.19044-SP0 sys.stdout.enc : utf-8 default enc : utf-8 Config dir : C:\Users\User\AppData\Roaming\mps-youtube dbus : None glib : False

I am using mpv player

mpv 0.33.0-268-g416668d3c8 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects built on Sun Aug 1 13:30:35 +08 2021 FFmpeg library versions: libavutil 57.3.100 libavcodec 59.3.102 libavformat 59.4.101 libswscale 6.0.100 libavfilter 8.1.103 libswresample 4.0.100 FFmpeg version: git-2021-08-01-c50f5460

@c0dehu1k
Copy link

@GauravMohla Can you please share the URL of youtube video? Is it happening for all the videos?
Can you try upgrading the yt-dlp version?

@destasetiawan
Copy link

i have same issue like that but my issue is the video take long time to play if the video is live stream
takes time for more than 5 minutes

@GauravMohla
Copy link
Author

@c0dehu1k this happens with all videos. Just updated yt-dlp to latest version and the problem still persists. Is there a verbose/debug mode which can help drill sown this problem. Even after waiting for 15 minutes it does not start streaming. Also, it download chat messages to the yewtube directory whenever I try to stream a live video.

@c0dehu1k
Copy link

@GauravMohla @destasetiawan Would you like to add some console logs or screenshot to describe the problem further. Also, does yt-dlp works on your system let aside mpyt for the time being.

@iamtalhaasghar
Copy link
Contributor

is it happening only with live stream videos? @GauravMohla @destasetiawan

@GauravMohla
Copy link
Author

@c0dehu1k @iamtalhaasghar happens with every live video. screenshot below.

image

copied the url and pasted in mpv

image

@iamtalhaasghar iamtalhaasghar changed the title Unable to stream youtube videos Unable to stream live youtube videos Jul 27, 2023
@destasetiawan
Copy link

destasetiawan commented Aug 3, 2023

@GauravMohla yeah its same with me now live stream and long video just load too much long

@bester69
Copy link

hi, live streams query doesnt work.. doesnt filter by live

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

5 participants