-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken HLS AES-128 decryption and live audio buzzy #1132
Comments
Thanks for the report @CrAcK75 I was able to have a brief look shortly after you posted this using the links in the log but now I get geoblocked. @CastagnaIT since this stream is local to you are you able to investigate? Going back to 3d6e4e1 it works but 06320be didn't. After finding this I couldn't access any longer to be able to debug. |
Yes @glennguy , unfortunatly is geobloked... the previous version works but often the audio is buzzy for streaming many of the RAI broadcaster channels |
yes i will try check |
Not sure but a possibility, about the audio corrupted for about 1sec every tot of seconds/minute here an example: |
No the media sequence looks right, even lines up nicely with the segment numbers... |
With this version, I have no audio on some channels via catchup tv and more plugin. |
Any news about the corrupted audio? |
Do you have the same problem if you seek backwards 20 seconds and then continue watching from there? |
Yes, I had some users carry out some tests and they all confirmed that going back about 20 seconds seems to solve the problem, the devices used were both PCs with Windows or Linux and devices with Android such as Firestick (before or last generation, or firestick 4k), MiboxS or Smartphone. |
On catchup tv and more , no option to go back |
@CrAcK75 Thanks heaps for testing. So for me this looks to be a service provider issue. @CastagnaIT provided some examples of downloaded manifests and it looks like a problem where stream segments on the live edge aren't being uploaded close enough together. The segments are 10 seconds long and IA by default (iirc) will try to start live streams in a segment that's 12-16 seconds away from the live edge. Example:
What I think happens next is that Kodi will receive some samples/packets from the audio stream before the video stream enters the 'waitforsegment' state, and it doesn't really like this so we get the buzzing until new video data is received and VideoPlayer can resync it. Really, I think this problem would be solved if they didn't have such a giant segment size. 2-4 seconds is more typical and would prevent there being such a delay in publishing segments - in this case the video segments are 3-4MB! @CastagnaIT what do you think about having a stream property that lets add-ons/m3u8 playlists set a minimum live edge buffer? When we call |
One more thing to add - I would bet if you played the RAI stream on Kodi and the official web/mobile app at the same time, the Kodi stream would be a number of seconds ahead. |
I'll check soon, my first check on Kodi Windwos vs Web is 20/25 secconds ahead a little bit less between app mobile and kodi on firestick other tests by some users had the same results, at least 20 seconds ahead |
now premise that i am not clear how all this works from session we always force live_delay_ to 16 despite manifest settings |
Any news about this? |
I've the same issue: the audio corrupted for about 1sec every tot of seconds / minute. |
@glennguy @CastagnaIT please, could you fix this? a lot of user that using my kodi addon are waiting a fix and they send me at lease 2 message per day... what could I answer them? |
Hi, I've been experiencing the issue for several months already...since Kodi 20 was released. I've got Android TV boxes and sticks such as Xiaomi and Nokia. The problem with Rai channels comes up at every use and it is really absolutely frustrating. The buzz is quite often so unbearable so that it prevents from watching. |
Hi guys, I'm running on Linux Mint 21 Xfce with Kodi 21.1 and right now buzz still persist, unfortunately. |
Hi! |
I understand your frustration about the audio buzzing problem for a full solution seem to require fixes also on Kodi core and will probably require the help of other team developers, to do this will take much longer time and i am talking of months not days, if so you will have to wait also a new Kodi release that include the patch, or use nightlies builds what we can try to do now its the workaround as mentioned by glennguy above so i tried set to 20 secs delay and played live video about 20 times and i get just 1 time buzz problem on 20 attempts i will prepare a test build with the workaround so you can give me a feedback |
i have implemented the delay workaround in the following test builds the delay its already increased to 20secs (from default of 16), test builds for some common operative systems here: let me know |
I’m testing the fix right now and seems to work perfectly. Thanks a lot. Inviato da iPhoneIl giorno 1 mag 2023, alle ore 18:45, Stefano Gottardo ***@***.***> ha scritto:
i have implemented the delay workaround
it can be also customized by an addon by using following property (or also added to strm)
listitem.setProperty('inputstream.adaptive.live_delay', 'xx')
where xx stand for n seconds (must be >= 16)
in the following test builds the delay its already increased to 20secs (from default of 16),
then no actions are required just install and play the live videos
test builds for some common operative systems here:
Kodi 20: https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Finputstream.adaptive/detail/PR-1247/2/artifacts
Kodi 21: https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Finputstream.adaptive/detail/PR-1246/1/artifacts
let me know
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Testing new IA on Xiaomi Stick Android 9
It seem works with new pvr version
Il lun 1 mag 2023, 19:40 ciro97RM ***@***.***> ha scritto:
… I’m testing the fix right now and seems to work perfectly. Thanks a
lot. Inviato da iPhoneIl giorno 1 mag 2023, alle ore 18:45, Stefano
Gottardo ***@***.***> ha scritto:
i have implemented the delay workaround
it can be also customized by an addon by using following property (or also
added to strm)
listitem.setProperty('inputstream.adaptive.live_delay', 'xx')
where xx stand for n seconds (must be >= 16)
in the following test builds the delay its already increased to 20secs
(from default of 16),
then no actions are required just install and play the live videos
test builds for some common operative systems here:
Kodi 20:
https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Finputstream.adaptive/detail/PR-1247/2/artifacts
Kodi 21:
https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Finputstream.adaptive/detail/PR-1246/1/artifacts
let me know
—Reply to this email directly, view it on GitHub, or unsubscribe.You are
receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#1132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3YIRC2PC2KIABMEBPKIKJDXD7YSDANCNFSM6AAAAAAUYJFT5I>
.
You are receiving this because you commented.Message ID: <xbmc/inputstream
.***@***.***>
|
I understand ALL friend... I think the 'inputstream.adaptive.live_delay' is the best solution for now, I'll modify my addon only for RAI channels to avoid the buzz, also I think that if the 20 seconds instead of 16 could influence negativelly other channels, probably is better to return at 16 sec .. but you known better the inputstream addon so, only you known what is really better. |
reopened to keep track of future fixes to do, |
Hi @CastagnaIT , the audio buzz seems to be came back |
the live delay its a workaround and not a real solution then can fail |
Our community users uses only the Kodi stable version, so kodi 20, a week ago all was ok. My delay valute was already set to 33 and the buzz Is present |
really sorry ... probably it was my fault caused by a code typo or bug |
Bug report
Describe the bug
The latest versione of Inputstream 20.3.3 has broken something on Kodi 20 with this stream, now there is no audio:
Rai1 => https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7
If I downgrade to the previous 20.3.2 it works again
Expected Behavior
Here is a clear and concise description of what was expected to happen:
Actual Behavior
Audio not present
Possible Fix
No possible fix found, only if downgrade to the previous 20.3.2 it works again
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
this a portion of log when the channel starts:
kodi.log
MPD/M3U8s/ISM
An example or copy of a manifest (or manifests for HLS - master and variants) can be found here:
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7
this is the m3u8 that in this moment become from the url:
playlist_ma.m3u8.txt
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
OSX
Windows
Windows UWP
Operating system version/name: Windows (10, 11) or AndroidTV (Box, Firestick)
Kodi version: 20
inputstream.adaptive version: 20.3.3
note: Once the issue is made we require you to update it with new information should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: