Why some Twitch streams do not work? #193

Closed
ghost opened this Issue Oct 15, 2013 · 16 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented Oct 15, 2013

For example I use .bat:

@echo
cd C:\Program Files (x86)\Livestreamer
livestreamer.exe -url twitch.tv/followgrubby best
@echo off

And works just fine, double clicked launches the VLC and stream runs on best quality. But if I do same for twitch.tv/mlgsc2 it simply doesn't play. It gives: '[plugin.twitch][warning] rtmpdump is not usable, only mobile streams may be available' and that's it.

I tried all or any quality profiles instead of best and simply not working on that channel.

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 15, 2013

Owner

Your are specifying a invalid parameter. The -url here is interpreted by livestreamer as --plugins --rtmpdump l, which makes no sense.

Owner

chrippa commented Oct 15, 2013

Your are specifying a invalid parameter. The -url here is interpreted by livestreamer as --plugins --rtmpdump l, which makes no sense.

@chrippa chrippa closed this Oct 15, 2013

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 15, 2013

Why would you close it? Removing -url doesn't solve anything.

ghost commented Oct 15, 2013

Why would you close it? Removing -url doesn't solve anything.

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 15, 2013

Owner

Why would you close it? Removing -url doesn't solve anything.

Then you need to make sure rtmpdump is correctly specified in your livestreamerrc. Since the reason your stream is not working is because mlgsc2 has mobile streams disabled, thus only making desktop streams available, which require rtmpdump.

If you do not want to setup rtmpdump manually you should try using the installer which takes care of this for you.

Owner

chrippa commented Oct 15, 2013

Why would you close it? Removing -url doesn't solve anything.

Then you need to make sure rtmpdump is correctly specified in your livestreamerrc. Since the reason your stream is not working is because mlgsc2 has mobile streams disabled, thus only making desktop streams available, which require rtmpdump.

If you do not want to setup rtmpdump manually you should try using the installer which takes care of this for you.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 15, 2013

But that's what I did, I used the installer only. And it shows only some of Twitch streams, not all of them for some reason. It all got installed to C:\Program Files (x86)\Livestreamer and I run my .bat from Desktop.

ghost commented Oct 15, 2013

But that's what I did, I used the installer only. And it shows only some of Twitch streams, not all of them for some reason. It all got installed to C:\Program Files (x86)\Livestreamer and I run my .bat from Desktop.

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 15, 2013

Owner

But that's what I did, I used the installer only. And it shows only some of Twitch streams, not all of them for some reason. It all got installed to C:\Program Files (x86)\Livestreamer and I run my .bat from Desktop.

I see, looks like something may have gone wrong with your setup then. Please try reinstalling and see if that helps, if not, open %APPDATA%\livestreamer\livestreamerrc in a text editor and check if the path after rtmpdump= is correct and exists.

Owner

chrippa commented Oct 15, 2013

But that's what I did, I used the installer only. And it shows only some of Twitch streams, not all of them for some reason. It all got installed to C:\Program Files (x86)\Livestreamer and I run my .bat from Desktop.

I see, looks like something may have gone wrong with your setup then. Please try reinstalling and see if that helps, if not, open %APPDATA%\livestreamer\livestreamerrc in a text editor and check if the path after rtmpdump= is correct and exists.

@chrippa chrippa reopened this Oct 15, 2013

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 15, 2013

Path's correct and reinstalled and nothing. You can air twitch.tv/mlgsc2 using .bat like mine ? I am on Windows 8 x64.

ghost commented Oct 15, 2013

Path's correct and reinstalled and nothing. You can air twitch.tv/mlgsc2 using .bat like mine ? I am on Windows 8 x64.

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 15, 2013

Owner

Path's correct and reinstalled and nothing. You can air twitch.tv/mlgsc2 using .bat like mine ? I am on Windows 8 x64.

I tried on Windows 7 x64 and it works as long as I remove the invalid parameter.

Owner

chrippa commented Oct 15, 2013

Path's correct and reinstalled and nothing. You can air twitch.tv/mlgsc2 using .bat like mine ? I am on Windows 8 x64.

I tried on Windows 7 x64 and it works as long as I remove the invalid parameter.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 15, 2013

So now the script is:
@echo
cd C:\Program Files (x86)\Livestreamer
livestreamer.exe twitch.tv/mlgsc2 best
@echo off

And it doesn't work. But if I change /mlgsc2 to any other channel, it works just fine.

ghost commented Oct 15, 2013

So now the script is:
@echo
cd C:\Program Files (x86)\Livestreamer
livestreamer.exe twitch.tv/mlgsc2 best
@echo off

And it doesn't work. But if I change /mlgsc2 to any other channel, it works just fine.

@karlo2105

This comment has been minimized.

Show comment
Hide comment
@karlo2105

karlo2105 Oct 16, 2013

I can confirm it's working to me too.

%systemdrive%\progra~1\livestreamer\livestreamer "http://www.twitch.tv/mlgsc2" best
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/mlgsc2
[plugin.twitch][error] Error when fetching mobile streams: Unable to open URL: h
ttp://usher.twitch.tv/stream/multi_playlist/mlgsc2.m3u8?token=6257dd1a85ed6cb583
6566169539b187f9e4a15c%3A000bc8dcc157e1aad177555102e9af5e74a1a78e%3A%7B%22expira
tion%22%3A%201381929983.2769599%2C%20%22channel%22%3A%20%22mlgsc2%22%2C%20%22use
r_agent%22%3A%20%22.%2A%22%7D&hd=true&allow_cdn=true (403 Client Error: ERROR)
[cli][info] Opening stream: source
[cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
[cli][info] Player closed
[cli][info] Stream ended

I can confirm it's working to me too.

%systemdrive%\progra~1\livestreamer\livestreamer "http://www.twitch.tv/mlgsc2" best
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/mlgsc2
[plugin.twitch][error] Error when fetching mobile streams: Unable to open URL: h
ttp://usher.twitch.tv/stream/multi_playlist/mlgsc2.m3u8?token=6257dd1a85ed6cb583
6566169539b187f9e4a15c%3A000bc8dcc157e1aad177555102e9af5e74a1a78e%3A%7B%22expira
tion%22%3A%201381929983.2769599%2C%20%22channel%22%3A%20%22mlgsc2%22%2C%20%22use
r_agent%22%3A%20%22.%2A%22%7D&hd=true&allow_cdn=true (403 Client Error: ERROR)
[cli][info] Opening stream: source
[cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
[cli][info] Player closed
[cli][info] Stream ended

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 16, 2013

Woah how does it give you full path to http://usher.twitch.tv/stream/multi_playlist/mlgsc2.m3u8 ? I don't get that. And like I said all channels I watch work just fine, except that twitch.tv/mlgsc2 which is offline now. So I do not get it what's the problem.

I am on Windows 8 x64 and my paths are:
C:\Program Files (x86)\VideoLAN\VLC\vlc.exe (2.1.0)
C:\Program Files (x86)\Livestreamer\livestreamer.exe
C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

And I used the 32bit installer from https://github.com/chrippa/livestreamer/releases/download/v1.6.1/livestreamer-v1.6.1-win32-setup.exe

ghost commented Oct 16, 2013

Woah how does it give you full path to http://usher.twitch.tv/stream/multi_playlist/mlgsc2.m3u8 ? I don't get that. And like I said all channels I watch work just fine, except that twitch.tv/mlgsc2 which is offline now. So I do not get it what's the problem.

I am on Windows 8 x64 and my paths are:
C:\Program Files (x86)\VideoLAN\VLC\vlc.exe (2.1.0)
C:\Program Files (x86)\Livestreamer\livestreamer.exe
C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

And I used the 32bit installer from https://github.com/chrippa/livestreamer/releases/download/v1.6.1/livestreamer-v1.6.1-win32-setup.exe

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 16, 2013

Owner

Hmm, you're still getting the [plugin.twitch][warning] rtmpdump is not usable, only mobile streams may be available message, right?

Could you put the full contents of your %APPDATA%\livestreamer\livestreamerrc on a pastebin?

Owner

chrippa commented Oct 16, 2013

Hmm, you're still getting the [plugin.twitch][warning] rtmpdump is not usable, only mobile streams may be available message, right?

Could you put the full contents of your %APPDATA%\livestreamer\livestreamerrc on a pastebin?

@ghost

This comment has been minimized.

Show comment
Hide comment

ghost commented Oct 16, 2013

There it is https://pastee.org/qa2cs (no key)

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 16, 2013

Owner

Try changing line 32 to:

rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
Owner

chrippa commented Oct 16, 2013

Try changing line 32 to:

rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 16, 2013

Hey it actually fixed it and works now. Gives same message as karlo2105 posted before. So I don't get it what was wrong. The docu on that file says I have to use "" quotes for paths with spaces, so with quotes it doesn't work, but removing quotes it works fine.

Thanks for all help.

ghost commented Oct 16, 2013

Hey it actually fixed it and works now. Gives same message as karlo2105 posted before. So I don't get it what was wrong. The docu on that file says I have to use "" quotes for paths with spaces, so with quotes it doesn't work, but removing quotes it works fine.

Thanks for all help.

@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Oct 16, 2013

Owner

The docu on that file says I have to use "" quotes for paths with spaces

Maybe the wording could be improved, but it says it only applies to the player option.

One more thing though, was the quotes there in the file that was first generated by the Livestreamer setup? It's not suppose to be, so maybe it's something going wrong on Windows 8.

Owner

chrippa commented Oct 16, 2013

The docu on that file says I have to use "" quotes for paths with spaces

Maybe the wording could be improved, but it says it only applies to the player option.

One more thing though, was the quotes there in the file that was first generated by the Livestreamer setup? It's not suppose to be, so maybe it's something going wrong on Windows 8.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 16, 2013

No it wasn't.

ghost commented Oct 16, 2013

No it wasn't.

@chrippa chrippa closed this Oct 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment