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

Stopped working with Twitch.tv #4

Closed
computerquip opened this issue Apr 7, 2012 · 7 comments
Closed

Stopped working with Twitch.tv #4

computerquip opened this issue Apr 7, 2012 · 7 comments

Comments

@computerquip
Copy link

No longer works with Twitch TV, prints "ERROR: rtmp server sent error", but still tries to load unsuccessfuly.

@chrippa
Copy link
Owner

chrippa commented Apr 7, 2012

It could just be a problem with the Twitch servers, I'm watching a stream right now without any problems. Could you give me the URL to the channel you're trying to play?

@mkaito
Copy link

mkaito commented Apr 7, 2012

I'm watching it too, works just fine.

@foshaug
Copy link

foshaug commented Apr 15, 2012

I am only getting: [flv @ 0x1020f1620] Unsupported video codec (0)
It appears to be streaming, but VLC can't play the stream.

@chrippa
Copy link
Owner

chrippa commented Apr 19, 2012

About the codec problem, does this happen on all stream qualities or only on "live"?
I believe the "live" quality on Twitch is the raw stream from the streamer himself and might be using an odd encoder, while others like "480p" etc, should be transcoded with a proper encoder by Twitch so they should always work in VLC. If not, then your ffmpeg or VLC might lack support to decode H264.

@foshaug
Copy link

foshaug commented Apr 19, 2012

This happens on all stream qualities.
I am currently using Mac OS X 10.7.3 and VLC media player 2.0.1
I have checked that VLC is able to play H.264 files on my machine.

I see the following output when running livestreamer. I manually quit VLC after no video was appearing...

air:~ gusto$ livestreamer http://www.twitch.tv/esltv_studio1_hd 360p
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
[0x10020a5a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: duration 0.00
INFO: width 640.00
INFO: height 360.00
INFO: videodatarate 500.00
INFO: framerate 30.00
INFO: videocodecid 7.00
INFO: audiodatarate 92.77
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf53.20.0
INFO: filesize 0.00
52.139 kB / 0.00 secTruncating packet of size 52995 to 689
[h264 @ 0x10093fa20] AVC: nal size 52991
[h264 @ 0x10093fa20] no frame!
7095.906 kB / 94.11 secTruncating packet of size 9291630 to 1
[h264 @ 0x10093fa20] no frame!
Truncating packet of size 5104178 to 1
[h264 @ 0x10093fa20] no frame!
[flv @ 0x102988820] Unsupported video codec (b)
Truncating packet of size 11389273 to 1
[h264 @ 0x10093fa20] no frame!
[flv @ 0x102988820] Unsupported video codec (c)
Truncating packet of size 13295366 to 1
[h264 @ 0x10093fa20] no frame!
[flv @ 0x102988820] Stream discovered after head already parsed
Truncating packet of size 5228715 to 1
Truncating packet of size 291 to 1
[aac @ 0x100940020] Input buffer exhausted before END element found
Truncating packet of size 13658996 to 1
[h264 @ 0x10093fa20] no frame!
Truncating packet of size 8635294 to 1
Truncating packet of size 698 to 1
[h264 @ 0x10093fa20] no frame!
Truncating packet of size 3959049 to 1
[h264 @ 0x10093fa20] no frame!
[flv @ 0x102988820] Unsupported video codec (a)
Truncating packet of size 8670358 to 1
[h264 @ 0x10093fa20] no frame!
[flv @ 0x102988820] decoding for stream 0 failed
[flv @ 0x102988820] Could not find codec parameters (Video: flashsv ([10][0][0][0] / 0x000A), 512 kb/s)
7112.711 kB / 94.38 sec
Caught signal: 13, cleaning up, just a second...
ERROR: Download: Failed writing, exiting!

@chrippa
Copy link
Owner

chrippa commented Apr 19, 2012

That's very odd. Does it make a difference if you output the stream to a file (livestreamer -o filename.flv) and then play it?
You could also try to play it in another player (like mplayer) with the -p parameter.
The stream you tried works for me in Arch Linux's VLC.

@foshaug
Copy link

foshaug commented Apr 19, 2012

Looks like there is an issue with OSX. (I tried on three different machines with various versions of VLC)

Now the good news,
Using the -o option VLC is able to play the file/stream.
I also installed mplayer (macports) and it is able to play streams using the -p option.
Thanks!

@chrippa chrippa closed this as completed May 25, 2012
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

4 participants