chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 581 forks source link

YouTube Gaming plugin support #1107

Open ROMaster2 opened 9 years ago

ROMaster2 commented 9 years ago

From my attempts of using the YouTube plugin it appears to be working differently from YouTube. Support for this would be nice.

StarWolf3000 commented 9 years ago

As from what I found, the usual YT API supports Youtube Gaming, but requires you to use videoCategoryId=20 as param.

https://twitter.com/Steam_Spy/status/642339647918620672

I won't test it, because since v2 is abandoned, I'm no longer using the API.

ghost commented 8 years ago

From my attempts of using the YouTube plugin it appears to be working differently from YouTube.

I'm currently watching some live streams, so I guess it's already supported.

livestreamer "https://gaming.youtube.com/watch?v=FxpSMuaCeXk" best
[cli][info] Found matching plugin youtube for URL https://gaming.youtube.com/watch?v=FxpSMuaCeXk
[cli][info] Available streams: 72p (worst), 240p, 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[cli][info] Starting player: "C:\Program Files (x86)\Video\MPC-HC\mpc-hc.exe"

Livestreamers YouTube plugin seems to be fully compatible with YouTube Gaming.

livestreamer "https://gaming.youtube.com/watch?v=q3jP5OCEufw" best
[cli][info] Found matching plugin youtube for URL https://gaming.youtube.com/watch?v=q3jP5OCEufw
[cli][info] Available streams: audio_webm, audio_mp4, 144p (worst), 240p, 360p, 720p (best)
[cli][info] Opening stream: 720p (http)
[cli][info] Starting player: "C:\Program Files (x86)\Video\MPC-HC\mpc-hc.exe"
makedir commented 7 years ago

Anything new on this? I tried it but it doesn't work, the video is frozen in vlc.

StarWolf3000 commented 7 years ago

livestreamer is no longer being developed and you should move over to streamlink, which is a fork of livestreamer and under active development. https://github.com/streamlink/streamlink