Open 29988122 opened 11 years ago
Hmm, it's definetly a bug that the exception is not caught, but the fact that it happened should only be because the stream ended or that you lost connection to the stream.
Please try running with --loglevel debug
to get some more useful information.
Hi, I finally grab another crash, still the browser, flash stream of azubu.tv alive, not even laggy/glich.
Here are the logs before crash:
[stream.akamaihd][debug] tat=5327.99619198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5324.33299994
[stream.akamaihd][debug] timeOfLastTAT=1379792950.57
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5332.99619198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5329.33299994
[stream.akamaihd][debug] timeOfLastTAT=1379792955.57
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5337.99619198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5334.33299994
[stream.akamaihd][debug] timeOfLastTAT=1379792960.44
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5343.03019198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5339.36699994
[stream.akamaihd][debug] timeOfLastTAT=1379792965.54
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5348.06319198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5344.39999994
[stream.akamaihd][debug] timeOfLastTAT=1379792970.64
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5353.06319198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5349.39999994
[stream.akamaihd][debug] timeOfLastTAT=1379792975.77
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
[stream.akamaihd][debug] onEdge data
[stream.akamaihd][debug] session=AQDchixLy0VxoifoPVIa0CQ1aWJ1x4XPWcRU2xZ7uI6ag/
2G/f
[stream.akamaihd][debug] tat=5358.06319198
[stream.akamaihd][debug] dvrWindow=36000.0
[stream.akamaihd][debug] timeBase=5354.39999994
[stream.akamaihd][debug] timeOfLastTAT=1379792980.54
[stream.akamaihd][debug] errorNumber=0.0
[stream.akamaihd][debug] status=0.0
[stream.akamaihd][debug] streamType=3.0
[stream.akamaihd][debug] streamStartTime=1379787611.25
[stream.akamaihd][debug] liveDelay=14.0
[stream.akamaihd][debug] isLive=True
[stream.akamaihd][debug] switchFail=False
[stream.akamaihd][debug] streamName=RiotNA_1_3000_1379787504841@12587
Traceback (most recent call last):
File "
IF they are not enough, please tell me if what kind of diagnosis soft should I install / debug settings should I apply.
thanks for your good program written!
Hmm, I still don't know exactly why this happens, but I made a change that should work around the problem for now in 857813826e2df36939b2cd7b1d67d36a406ed7a3.
Compiled & Replaced.
Problem still exists, it just stop showing most of the debugging messages, and then still exit playing with message like[info]stream ended. This problem is inconsistent, sometimes it took for 4 hours and disconnected, but there's also 3 disconnection within an hour. ※Also it exist on 1080p 720p stream, the others are not tested.
I believe that my internet connection is stable and not infected with something strange(just a example). Also this problem occurred on Windows XP, Windows 7, three different computers, two different internet, so IMO this is a common issue of Azubu..
Please suggest me any method including install debugging/monitoring software, or how to show different level debug messages, etc... I'd try my best to help solve this bug, since your project is my best companion of laggy twitch(somehow mobilestream is able to play with perfect download speed, but 20k/s with PC, that's an ISP related issue I guess) and Azubu tv during League of Legends World Championship.. :P
Thank you again!
Sorry, I'm new to here and dunno how to report issues correctly.
Recently I use livestreamer a lot with newely pushed azubutv.py plugin.
But livestreamer frequently pop error, thus stop the streaming.
LOG:
Traceback (most recent call last): File "", line 6, in
File "main.py", line 128, in
File "main__livestreamer.py", line 8, in
File "livestreamer_cli\main.py", line 446, in main
File "livestreamer_cli\main.py", line 285, in handle_url
File "livestreamer_cli\main.py", line 217, in handle_stream
File "livestreamer_cli\main.py", line 118, in output_stream
File "livestreamer_cli\main.py", line 135, in read_stream
File "livestreamer\stream\akamaihd.py", line 158, in read
File "livestreamer\packages\flashmedia\flv.py", line 17, in next
File "livestreamer\packages\flashmedia\packet.py", line 14, in deserialize
File "livestreamer\packages\flashmedia\tag.py", line 236, in _deserialize
File "livestreamer\packages\flashmedia\util.py", line 87, in chunked_read
livestreamer.packages.flashmedia.error.FLVError: End of stream before requied da
ta could be read
I've checked few times with different computer, fresh new vlc player etc, no avail.
Also it's not the stream issue, because I have open the same stream in browser, and it didn't stop at all.