So, at the moment I'm trying to create a music bot for my gaming community's teamspeak server, and I'd like to have it work through VLC Media player via youtube links. I've got everything set up, the only thing stopping me is that when I or someone else tries to play a youtube video through the player, it will show the thumbnail of the video for about half a second, then return this error:
Any help would be great, if you need any extra info to help out, go ahead and ask. I would add the log it's talking about, though I can't seem to find it.Code:VLC is unable to open the MRL 'http://r8---sn-hufvjvgx-hxal.googlevideo.com/videoplayback?ipbits=0&mime=video%2Fmp4&key=yt5&itag=22&expire=1430379674&pl=23&sver=3&upn=zh1sJ_G8vx0&ip=220.127.116.11&usequic=yes&id=o-AJMEL1SIlw__030iHn53kxGgUq75g1doG_r57twcIvVt&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cusequic%2Cexpire&ratebypass=yes&initcwndbps=587500&mm=31&source=youtube&mt=1430358003&mv=m&ms=au&fexp=900720%2C906335%2C907263%2C934954%2C934968%2C938028%2C938682%2C9405994%2C9407992%2C9408142%2C9408586%2C9408634%2C9408706%2C9408710%2C9408766%2C9412721%2C9412836%2C9413152%2C948124%2C952612%2C952637%2C957201&dur=209.861&signature=3CEA440DE917DE59E237E52BD21A6695787F9902.FFA77311AE643D2E5E7F1409C584866F2B5BF83F3FE'. Check the log for details.
+ Reply to Thread
Results 1 to 5 of 5
youtube-dl -f best "https://www.youtube.com/watch?v=XXXXXXXX" -o - | "C:\Program Files\VideoLAN\VLC\vlc" --file-caching=3000 -
livestreamer "https://www.youtube.com/watch?v=XXXXXXXX" best
Last edited by biezom; 29th Apr 2015 at 23:02.
Not sure what you are talking about with the two codes, but the video I tried to watch was https://www.youtube.com/watch?v=pB-5XG-DbAA... For some reason it just comes up with that error, seems to stretch the link out or something, I don't really know. I'm just chucking it in the menu that comes up when I press CTRL+N and hitting play.
livestreamer doesn't work for this protected video but youtube-dl works
youtube-dl -f best "https://www.youtube.com/watch?v=pB-5XG-DbAA" -o - | "C:\Program Files\VideoLAN\VLC\vlc" --file-caching=3000 -
also you can download it
youtube-dl -f best "https://www.youtube.com/watch?v=pB-5XG-DbAA" -o Sam-Smith-Stay-With-Me.mp4
youtube-dl -f 137+141 "https://www.youtube.com/watch?v=pB-5XG-DbAA" -o Sam-Smith-Stay-With-Me.mp4
Last edited by biezom; 30th Apr 2015 at 00:18.
Thanks, that's worked.