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 580 forks source link

Can no longer watch youtube streams #1265

Open Pericorpp opened 8 years ago

Pericorpp commented 8 years ago

I first noticed maybe 2-3 weeks ago. All I see is a frozen frame of the stream, it simply doesn't play. I made sure to update my VLC player and used both the newest version of livestreamer AND nightly build of livestreamer. Im out of ideas, please help.

Oh also the way I use and always used livestreamer is command > livestreamer www.youtube.com/streamurl 720p

ghost commented 8 years ago

Livestreamer's YouTube plugin still works properly. I'm using MPC-HC.

karlo2105 commented 8 years ago

I guess Youtube switched their hls streams to "manifest(format=m3u8-aapl).m3u8" which is not supported so far by VLC that's why there is a frozen frame on their streams. The only solution is to use alternative player.

Pericorpp commented 8 years ago

How do I use livestreamer with a different player? Can't figure it out with website's instructions.

heathercreech commented 8 years ago

@Pericorpp, You can follow the directions here to change the player (there is even an example toward the bottom of that section). The players that are compatible are located here.

karlo2105 commented 8 years ago

@Pericorpp livestreamer -p "playpath of alternative player" "http://www.youtube.com/streamurl" best

Pericorpp commented 8 years ago

Thanks guys, got it to work. Thing is, its been working for about 2 hours and then the youtube stream ended. When I tried to open another I got a wall of text on my cmd and it no longer worked. So yeah, I got livestreamer to work with youtube and MPC-HC but only for 1 stream :D Basically I get a ''bad request'' with a wall of text full of numbers and letters and it's like that for every stream. I use livestreamer https://www.youtube.com/watch?v=o5tmgfdO8_vw9k 480p --player "C:\Program Files\MPC-HC\mpc-hc64.exe" as my cmd line. No idea why it worked perfectly for one stream and then suddenly broke o.o

edit: also worth noting that the stream that worked AND the other stream I attempted to open came from the same source, same official channel so I dont think it's on their end.

tp0 commented 8 years ago

Post the wall of text? If too long post it here: https://gist.github.com

sambirempo commented 8 years ago

Try nightly builds of VLC. My livestreamer works with nightly VLC builds. Only issue is that is seems way less stable. Connections are dropped every 1 or 2 hour or so although if the live stream is not ended yet. With stable vlc releases streams were more stable.

refriedfood commented 8 years ago

The youtube plugin doesn't work for mpc or vlc for me, I get this error regardless of the string: error: Unable to open URL: https://youtube.com/get_video_info (503 Server Error: Service Unavailable)

String example: livestreamer "https://www.youtube.com/watch?v=OTW4AGY6wEI" best

Returns: [cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch? v=OTW4AGY6wEI error: Unable to open URL: http://youtube.com/get_video_info (503 Server Error: Service Unavailable)

skulblakka commented 8 years ago

@refriedfood Your issue is unrelated to this one. See #1284