Welcome
Login  Sign up

livestream downloads terminate early

I download German TV from these two livestreams (geoblocked outside Germany, so I use Smart DNS Proxy)


https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/index_2296_av-p.m3u8?sd=10&dw=0&rebase=on

and

http://daserstelive-lh.akamaihd.net/i/daserste_de@38086/index_1992_av-p.m3u8?sd=10&rebase=on


Mostly, everything works fine, I schedule a recording with start time/date and duration, and I get an mp4 file which plays perfectly.

But  about one in ten of my downloads, on a completely random basis, fails by terminating early. The download shows complete, no error message of any sort, I get a useable file, but it's not all there, ie. of shorter duration than specified. Like a one hour recording might terminate anywhere between 1 minute and 59 minutes.

Now one in ten is quite a high probability in my opinion, and I never know when it's going to happen, so it's rather annoying.


So the question is, is this the best I can expect, or maybe there are some settings I should change?  Applian suggested I go to settings/internet downloads/advanced/http and set Max. number of segments to 1. That didn't help. Are there any other settings that might help?


I'm puzzled as to why the software doesn't give any error message or attempt to reconnect. Surely it must "know" that something's gone wrong when it signs off a download as complete after 25 min although the specified time was 45 min?


Help please.

Thanks,

Clinton Solon


ps - Windows 7 64bit Pro,  internet connection ADSL, full speed about 10 Mb/s







--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---



Not sure why they would have told you to change that setting as those streams are HLS protocol which has settings under Settings > Internet Downloads > Advanced > HLS.


If no error is displayed then the stream has ended for some reason.


You will need to provide debug logs that show the stream terminating early so I can see if there is any reason for it that you will have control over.


https://www.jaksta.com/support/windows/technical/jaksta-media-recorder/how-to-generate-debug-logs-6000009063


Those streams are not geoblocked btw, I can get to them from Australia no probs and capture them.




--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Ok so I turn on debug-logs and just leave it on until I get another failure. The I notify you and send logs.

Have I got that right?


That's interesting that the streams aren't geoblocked for you. They certainly are for me here in NZ


Clinton Solon




--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Yes please.




--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


I've just had another early termination failure of a scheduled download. Unfortunately debug mode was OFF, because that seems to be the default option when Jaksta starts, and I wasn't there to turn it ON. Is there any way of setting the default option to ON? I can't alway be thereto turn it on.

Thanks,
Clinton Solon





--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Follow the steps in the section to turn debug on permanently:


"If the application doesn't start or crashes on start"


https://www.jaksta.com/support/windows/technical/jaksta-media-recorder/how-to-generate-debug-logs-6000009063  






--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Here's another download that stopped early. Scheduled to run for 50m, stopped after 8m58s. Screenshots and debug logs attached. I'll be very pleased if you can throw some light on why this is happening.

Thanks,

Clinton Solon




--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


After 8:14 mins the download started to receive Read time out errors and after multiple retires gave up.


What is causing the time out errors?  Well it is most probably your internet connection dropping or some other internet issue.  


You can control the timeouts and number of retries for HLS via Settings > Internet Downloads > Advanced > HLS.


Below is the relevant parts of the debug logs showing the time outs.


HTH



2018-07-10 20:39:15,131 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out.)
2018-07-10 20:39:15,132 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out.)
2018-07-10 20:39:18,987 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121192: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121192_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out.)
2018-07-10 20:39:18,988 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121192: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121192_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out.)
2018-07-10 20:39:31,835 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][warning] Failed to reload playlist: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/index_2296_av-p.m3u8?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Max retries exceeded with url: /i/de14_v1@392878/index_2296_av-p.m3u8?sd=10&dw=0&rebase=on (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x03305830>, 'Connection to zdf1314-lh.akamaihd.net timed out. (connect timeout=20.0)')))
2018-07-10 20:39:31,836 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][warning] Failed to reload playlist: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/index_2296_av-p.m3u8?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Max retries exceeded with url: /i/de14_v1@392878/index_2296_av-p.m3u8?sd=10&dw=0&rebase=on (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x03305830>, 'Connection to zdf1314-lh.akamaihd.net timed out. (connect timeout=20.0)')))
2018-07-10 20:39:36,444 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out. (read timeout=10.0))
2018-07-10 20:39:36,445 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (HTTPSConnectionPool(host='zdf1314-lh.akamaihd.net', port=443): Read timed out. (read timeout=10.0))
2018-07-10 20:39:43,931 [4] INFO  c3 [(null)] - HlsdManager: [cli][error] Error when reading from stream: Read timeout
2018-07-10 20:39:43,932 [4] INFO  c3 [(null)] - HlsdManager: [cli][error] Error when reading from stream: Read timeout
2018-07-10 20:39:44,344 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (404 Client Error: Not Found for url: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on)
2018-07-10 20:39:44,344 [4] INFO  c3 [(null)] - HlsdManager: [stream.hls][error] Failed to open segment 153121191: Unable to open URL: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on (404 Client Error: Not Found for url: https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/segment153121191_2296_av-p.ts?sd=10&dw=0&rebase=on)






--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Thanks for that info. As for the HLS settings, remember that you know what they do, but I don't!  Mine are still the default settings, I assume, because I haven't touched them - see screenshot attached.

 What changes could I make to them, that might make these disconnects less likely?


Thanks,
Clinton Solon




--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


There are tooltips on all of them that explain what each does.  Just hover your mouse over them.


As you are getting read timeouts try adjusting segment timeout and segment attempts to start with.





--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Would you care to make a suggestion as to what I should set them to?


Also with HLS streams I am scheduling them with Normal URL, but Extraction engine URL works as well. Which one should I be using?


Thanks, Clinton Solon 





--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


I cant really say say it depends on your internet connection and why it is dropping.  I guess 30 for a time out and say 10 reties and see how you go.  Its a case of playing around with them given it doesnt happen all the time and your not sure what is happening with your connection.


You can use either normal or extraction engine url for HLS m3u8 urls.




--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


I've just had another failure, same URL, ran for 22m instead of 50. I had set segment timeout to 60, retries to 10.

Log attached. Got any more suggestions?

Would this sort of thing be much less likely to happen if I had a fast connection, say100Mbs, instead of my ADSL at 12Mbs?

Log attached.

Thanks,

Clinton Solon




--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Here's the latest failure. Scheduled to run 55m, stopped after 39m. Log attached.

Clinton Solon




--- Import ---
Author: Clinton Solon
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Your logs are not in debug mode so dont show anything.  As I mentioned previously as you are getting timeout errors something is happening with your internet connection.  All as you can do is try adjusting settings but if the connection goes down there is nothing that the software can do.




--- Import ---
Author: CRS
Created At: 2018-06-13T12:10:47+08:00
Updated At: 2018-06-13T12:10:47+08:00
Views: 104
Votes: 0
--- Import ---


Login or Signup to post a comment