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 launch twitch streams using VLC #1481

Open
bdriffield opened this issue Sep 15, 2016 · 7 comments
Open

Unable to launch twitch streams using VLC #1481

bdriffield opened this issue Sep 15, 2016 · 7 comments

Comments

@bdriffield
Copy link

Hi,

I'm receiving the bel;ow access_token json error message whenever I attempt to launch a twitch stream in OSX El Capitain.

bdriffield$ livestreamer twitch.tv/moonmoon_ow source
[cli][info] Found matching plugin twitch for URL twitch.tv/moonmoon_ow
error: Unable to open URL: https://api.twitch.tv/api/channels/moonmoon_ow/access_token.json (400 Client Error: Bad Request)

@skulblakka
Copy link
Contributor

See #1456 and #1478

@sshilko
Copy link

sshilko commented Sep 16, 2016

screen shot 2016-09-16 at 15 28 14

@mxwn
Copy link

mxwn commented Sep 17, 2016

Thank you @sshilko, worked almost flawlessly for me; livestreamer reports "failed to authenticate" upon using my oauth token but it still starts the stream.

For all the other batch noobs here, I wrote a very ugly batch file asking for the stream name and quality which means you don't have to paste URLs in your CLI:

C:\Program Files (x86)\Livestreamer
:START
set /p inputName=Stream name:%=%
set /p inputQuality=Stream quality (low, medium, high, source):%=%
livestreamer --twitch-oauth-token xxxxxxxxxxxxxxxxxxxxxxxxxxx twitch.tv/%inputName% %inputQuality%
set /p restart=restart script? (y/n):
IF "%restart%"=="y" goto START

I apologize in advance as I am not at all familiar with batch and there are certainly 100 ways to do this better.

@sshilko
Copy link

sshilko commented Sep 17, 2016

for all those mac pplz, VLC has proper hardware acceleration

livestreamer twitch.tv/AdmiralBulldog source -p '/Applications/VLC.app/Contents/MacOS/VLC --network-caching 8000 --file-caching 8000' --player-http -v --hls-segment-threads 4
boom•~/twitch» cat ~/.livestreamerrc                                                                                                                              
twitch-oauth-token=v9tl7wahpv5o0n8gt6co4d5o2jlzhx

@sshilko
Copy link

sshilko commented Sep 17, 2016

@mxwn for windows there is built in livestreamer alternative with proper UI and so on, its on Reddit.
Tardsplaya

http://tards.net

@valobal
Copy link

valobal commented Sep 17, 2016

Hi all, sorry for my newbie question. Anybody knows how to play a live streaming from Vaughnlive with VLC on mac?
regards

@KORandi
Copy link

KORandi commented Sep 18, 2016

Yeah with oauth key it works. thx

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

6 participants