maxbambi / plugin.video.raitv

Kodi plugin for RAI
GNU General Public License v3.0
36 stars 9 forks source link

Video stream skips 10s each 10s on long video in Replay TV #56

Open federicodisante opened 2 years ago

federicodisante commented 2 years ago

Hi @maxbambi.

Some time ago I noticed that in some cases the videos from Replay TV subtly skip. My children saw a lot of cartoons from Rai Yoyo, but I never noticed the problem I mention.

Today I investigate better the problem, to find some evidences. It seems that the problem arise on long videos (may be more than 1hour), as Presa Diretta (broadcasted from Rai3 last Monday, 2022-09-05 at 21:25) or #cartabianca (broadcasted from Rau3 last Tuesday 2022-09-06 at 21:25).

I compared the playing process with the one of the RaiPlay Android App to understand what happen. It seems that the addon only play 10s, the skip 10s and play 10s and so on. So you see frame from 0s to 10s, 20s to 30s, 40s to 50s, and so on. It is very strange!!!

In the log file (that I grabbed in debug mode), you can see the line "The specified session has been invalidated for some reason." that repeats every 10s. (I grabbed it 5 times, while playing a little more than 1minute of video).

I use Kodi 18.7 Git:20200612-e2aefdbee4 on a RaspberryPi 2 with Raspbian GNU/Linux 10. The addon is the master version 3.6.0.

I have also a LibreElec 9.2.8 (RPi2.arm) and Kodi 18.9 (18.9.0) Git:newclock5_18.9-Leia. Also in this installation the addon is the master version 3.6.0, with the same weird oddity!

I hope you can give me some feedback.

Thank you.

maxbambi commented 2 years ago

@federicodisante I am using kodi 19 and matrix version of plugin (3.8.2). I have tried to play the streams you gave as example, but there wasn't any problem. I don't remember if recent updates change something about streaming, but i don't think.

Do you have the possibility to play this link http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=sOGmBVDzF6gWk9T2mlIlcAeeqqEEqualeeqqEEqual or this https://b70cb04c54ab478189e9d8ee45637b13.msvdn.net/dom6/podcastcdn/raitre/Presadiretta/Presadiretta_PUNTATE/17777385_,1800,2401,.mp4.csmil/playlist.m3u8?auth=daEagbYc1cAc5cIb4auabaeajdcbtcIdgdU-bJg74n-c0-GkrwuGt&aifp=V001 directly on your devices, bypassing kodi?

federicodisante commented 2 years ago

Hi @maxbambi.

Thank you for your replay.

I just tried with a fresh installation of LibreElec 10.0.2, that use Kodi Matrix. I installed the addon from the official kodi repository (3.8.1) but the weird behavior is still there!!! The hardware I used is the same I mentioned in my first post (RaspberryPi 2).

Do you have any suggestions?

maxbambi commented 2 years ago

@federicodisante, It doesn't seem an issue of plugin itself, because it simply gets the direct link and runs the command for playing... Take a look in libreelec forum to see if someone had the same problem

federicodisante commented 2 years ago

@maxbambi

I don't think the problem came from the LibreElec distro. As i stated in my first post, the problem arises also in another RaspberryPi 2 with a Raspbian distro.

Anyway thank you for your support!