question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to download Twitch.tv segments (11/21 segments)

See original GitHub issue

OS: Windows 8 x64 Area: South-East Asia VLC Version: 2.1.5 Rincewind LiveStreamer version: livestreamer-v1.10.2-win32-setup.exe StreamUrl: http://www.twitch.tv/jamielinux Logs:


C:\Users\ManhTam>livestreamer http://www.twitch.tv/jamielinux worst --loglevel d
ebug
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/jamielinux

[cli][info] Available streams: audio, source (worst, best)
[cli][info] Opening stream: source (hls)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 605 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 606 to queue
[stream.hls][debug] Adding segment 607 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 608 to queue
[stream.hls][debug] Adding segment 609 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 610 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 611 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 612 to queue
[stream.hls][debug] Adding segment 613 to queue
[stream.hls][debug] Download of segment 605 complete
[cli][info] Starting player: 'C:\Program Files (x86)\VideoLAN\VLC\vlc.exe'
[cli][debug] Writing stream to output
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 614 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 615 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 616 to queue
[stream.hls][debug] Adding segment 617 to queue
[stream.hls][debug] Download of segment 606 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 618 to queue
[stream.hls][debug] Download of segment 607 complete
[stream.hls][debug] Adding segment 619 to queue
[stream.hls][debug] Download of segment 608 complete
[stream.hls][error] Failed to open segment 609: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000609-JOPO.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 609: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000609-JOPO.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 609: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000609-JOPO.ts (404 Client Error: Not Found)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 623 to queue
[stream.hls][debug] Adding segment 624 to queue
[stream.hls][debug] Download of segment 610 complete
[stream.hls][debug] Adding segment 625 to queue
[stream.hls][error] Failed to open segment 611: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000611-PYCC.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 611: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000611-PYCC.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 611: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000611-PYCC.ts (404 Client Error: Not Found)
[stream.hls][debug] Adding segment 626 to queue
[stream.hls][error] Failed to open segment 612: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000612-JQ75.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 612: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000612-JQ75.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 612: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000612-JQ75.ts (404 Client Error: Not Found)
[stream.hls][debug] Adding segment 627 to queue
[stream.hls][error] Failed to open segment 613: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000613-Wd8A.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 613: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000613-Wd8A.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 613: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000613-Wd8A.ts (404 Client Error: Not Found)
[stream.hls][debug] Adding segment 628 to queue
[stream.hls][error] Failed to open segment 614: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000614-9wvn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 614: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000614-9wvn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 614: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000614-9wvn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 615: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000615-TzdP.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 615: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000615-TzdP.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 615: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000615-TzdP.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 616: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000616-U6Mn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 616: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000616-U6Mn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 616: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000616-U6Mn.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 617: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000617-zXzM.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 617: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000617-zXzM.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 617: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000617-zXzM.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 618: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000618-A5YF.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 618: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000618-A5YF.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 618: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000618-A5YF.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 619: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000619-eUg7.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 619: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000619-eUg7.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 619: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000619-eUg7.ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 623: Unable to open URL: http://video17.sfo01.hls.twitch.tv/hls46/jamielinux_12023834576_171385834/chunked/index-0000000623-Qmju.ts (404 Client Error: Not Found)

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
trocknetcommented, Dec 2, 2014

I met the same problem. when fetch a segment failed(i watch afreecatv and met http 400),it did not fetch the next segment immediately, it will wait a long time,even exceed the timeout option.(a segment’s duration is 3 seconds,so i set timeout to 3). and the queue segment number will increase faster then the fetch segment number. but when the 2 number distance reach to 10,it will fetch the next immediately. if set --hls-segment-threads=10 might help? btw, is there not a option the set the queue size?change this line might help?

def __init__(self, reader, size=10, retries=None, threads=None, timeout=None):
0reactions
chrippacommented, Dec 30, 2014

I don’t think making the timeout apply to the whole response download will help and will only introduce more issues. For example, if a segment has reached 90% completion, but the timeout is reached then we would have to start downloading that segment again which would probably only slow things down more.

The reality is that Afreeca does not have very good bandwidth to countries outside South Korea and I don’t think we can overcome this entirely through software.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic Troubleshooting Tips - Twitch Help
This article are steps support may ask while troubleshooting issue with the Twitch Studio or Soundtrack by Twitch with you.
Read more >
Video On Demand - Twitch Help
A VOD (Video on Demand) is an archive of content previously streamed live on Twitch. Utilizing VODs can help grow your channel and...
Read more >
Creating Highlights and Stream Markers - Twitch
This article will show you how to use Highlights and Stream Markers to curate your Past Broadcasts.
Read more >
How to Discover and Claim Drops on Twitch
You can only gain progress toward a reward on one channel at a time. Some Drops rewards will require you to earn and...
Read more >
Twitch API Reference - Twitch Developers
Resource Endpoint Description Ads Start Commercial Starts a commercial on the specified channel. Analytics Get Game Analytics Gets an analytics report for one or more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found