add-ons / plugin.video.viervijfzes

Kodi add-on to watch video-on-demand content from the Play 4, Play 5 and Play 6 channels.
https://github.com/add-ons/plugin.video.viervijfzes/wiki
GNU General Public License v3.0
50 stars 10 forks source link

Some streams stall after a few seconds #124

Closed freynder closed 11 months ago

freynder commented 12 months ago

Some streams stall after a few seconds of playback. Logs show timeouts. This is happening a few weeks already. Sometimes they do play normally. Not sure why.

Logs can 100% reproduce currently. Logs are attached.

System

Additional context issue.log

freynder commented 11 months ago

This is still an issue, am I the only one?

I did a clean install with CoreElec, same issue. Attaching the log file here: kodi.log

The log shows timeouts to telenet servers:

2023-07-20 20:00:45.242 T:4439    error <general>: CCurlFile::CReadState::FillBuffer - (0xd0e1fef8) Failed: Timeout was reached(28)
2023-07-20 20:00:45.242 T:4439    error <general>: CCurlFile::Open - <https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/1080/segment_4.m4s> Failed with code 0:

2023-07-20 20:00:45.242 T:4439    error <general>: AddOnLog: inputstream.adaptive: CURLOpen returned an error, download failed: https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/1080/segment_4.m4s
2023-07-20 20:00:45.742 T:4439  warning <general>: AddOnLog: inputstream.adaptive: Segment download failed, attempt 3...
2023-07-20 20:00:57.176 T:4443     info <general>: ProcessDecoderOutput: Changed max allowed Out-Of-Sync value to 16 ms due self-learning
2023-07-20 20:01:08.690 T:4443     info <general>: CVideoPlayerAudio::Process - stream stalled
2023-07-20 20:01:17.770 T:4442    error <general>: CCurlFile::CReadState::FillBuffer - (0xe6a87340) Failed: Timeout was reached(28)
2023-07-20 20:01:17.770 T:4442    error <general>: CCurlFile::Open - <https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/audio/segment_10.m4s> Failed with code 0:

When I wget those same urls from my PC, they download fine each time...

Any help would be appreciated.

freynder commented 11 months ago

terminal curl from same box works as well:

2023-07-20 20:12:21.137 T:4439    error <general>: AddOnLog: inputstream.adaptive: CURLOpen returned an error, download failed: https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s
2023-07-20 20:12:21.637 T:4439  warning <general>: AddOnLog: inputstream.adaptive: Segment download failed, attempt 2...
2023-07-20 20:13:09.556 T:4443     info <general>: CVideoPlayerAudio::Process - stream stalled
^C

CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0   881k      0 --:--:-- --:--:-- --:--:--  880k
CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0   812k      0 --:--:-- --:--:-- --:--:--  814k
CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0   982k      0 --:--:-- --:--:-- --:--:--  981k
CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0   921k      0 --:--:-- --:--:-- --:--:--  920k
CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0  1000k      0 --:--:-- --:--:-- --:--:-- 1002k
CoreELEC:~/.kodi/temp # curl https://stream3-vod.cdn1.sbs.prd.telenet-ops.be/geo/SSAI/UNDERCOVER_BOSS/S11/E1/10150361207475812/20230304T110304803/video/576/segment_183.m4s --output test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0  1045k      0 --:--:-- --:--:-- --:--:-- 1046k
michaelarnauts commented 11 months ago

I have no idea why this could be happening. Are you perhaps running any VPN software, or network wide ad-blocking software (like pihole)?

michaelarnauts commented 11 months ago

Could you try with this version to see if it makes any difference? https://github.com/add-ons/plugin.video.viervijfzes/issues/120#issuecomment-1456713805

freynder commented 11 months ago

I have no idea why this could be happening. Are you perhaps running any VPN software, or network wide ad-blocking software (like pihole)?

Hi Michael,

No, I even tested it with Proximus hotspot but the issue is the same. Can you reproduce for the same episode?

Thanks

freynder commented 11 months ago

Could you try with this version to see if it makes any difference? #120 (comment)

I'm away from home currently, will test tomorrow and let you know. Thanks.

michaelarnauts commented 11 months ago

I'm not using Kodi anymore actually (since GoPlay has an Android TV app, I just use my Chromecast).

I've tried it on my PC (on Kodi 20.2), and I can confirm that I also see the stream stall. I'm wondering if it might be related to a change in Kodi 20.

frankdpGH commented 11 months ago

Also experiencing same issue since kodi 20.2 on androids. Similar issue on VRT max addon.

freynder commented 11 months ago

The issue seems to have disappeared. Still not sure why.

freynder commented 11 months ago

Also experiencing same issue since kodi 20.2 on androids. Similar issue on VRT max addon.

Do you still experience the issue?