v17 Adjusting Audio Offset forward causes picture to freeze
#1
I noticed this issue a while back using OSMC on RPi2 when Krypton was first released, basically if the audio offset is moved forward past approx 0.8 seconds, the picture starts stuttering, anything more than 1 second causes the picture to freeze completely while the audio continues.

I know the first thing i'll be asked is 'Why do you need to offset it by that amount anyway?'...the answer is to get the audio in sync with my Airplay speakers...as the pi has no native support for airplay i use a program called AirTunes, i won't go any further as the issue I'm describing occurs even with any audio output.
I didn't bother digging any further at the time and presumed it was an OSMC issue, so i just rolled my Pi back to Kodi 16, where the problem doesn't occur at all...it lets me adjust the audio as far as i wish with no problems with picture playback.

Ive only just noticed that this issue is present on kodi 17.4 on Mac OS X also, so I'm presuming the problem is with Kodi 17 itself.
I've checked the problem persists with both local and network stored media, just thought id bring it up as this is the reason i can't update the Pis in the bedrooms of my house to kodi 17....and because i have different kodi versions around the house means i can't use mysql to centralise a database.

Its very easy to reproduce this issue, just try to play a movie or TV episode and adjust the audio past 1 second forward and it should occur.
Ive experimented with different filetypes and codecs and it makes no difference.

Hope I've made sense.

https://pastebin.com/g0bzBgzV
Reply
#2
Can anyone advise how I'd go about reporting this as a bug?
I've no previous experience in this sort of thing.
Reply
#3
Anyone?
Id just like to get this bug reported and no idea how.
Reply
#4
will be fixed in v18
https://github.com/FernetMenta/kodi-agil...b560720eeb
Reply
#5
Candidate for a backport to 17.5?
Reply
#6
Excellent.
Thanks chaps.
Reply
#7
(2017-09-07, 11:25)FernetMenta Wrote: will be fixed in v18
https://github.com/FernetMenta/kodi-agil...b560720eeb

@FernetMenta
FYI, i built your fixed version and I'm still getting almost the same issue on Mac OSX 10.12

It is marginally improved as the video no longer freezes completely , but the video starts to stutter quite badly at any forward offset above 0.8s.

Im happy to build and test any more fixes...thanks for taking the time to address this anyway.

https://pastebin.com/BWxYnuxc
Reply
#8
(2017-09-07, 12:12)Koying Wrote: Candidate for a backport to 17.5?

probably not in current state Smile
Reply
#9
For anyone who's interested, FernetMenta has now fixed this with the latest changes pushed to the master branch of this repo:
https://github.com/FernetMenta/kodi-agile
I've only been able to build and test this on Mac OS X 10.12 but the problem is definitely fixed now.

In an ideal world I'd like to get this built for Pi2, I've it but I'm getting all sorts of errors building it after following the guide for Raspberry Pi on the github readme.
If anyone has any pointers about building for this platform I'd be greatly interested.
Failing that I'll have to wait for the changes to find their way into the OSMC alpha builds, which I'm hoping won't be too long.

Edit, the fix is now included in the latest alpha of OSMC and is working fine on Rpi2.
Reply
#10
Just had this issue on NVIDIA SHIELD with 17.4............
Reply
#11
Its fixed in Leia, so install the v18 alpha release, or wait for the full release of Leia.
Reply
#12
(2018-07-05, 08:35)gb160 Wrote: Its fixed in Leia, so install the v18 alpha release, or wait for the full release of Leia.
 I am using coreElec 8.95.0 Leia Alpha the bug is still present here on wetek play 2 device. The same with libreelec devel.
Reply
#13
@BEBER2410

CoreELEC is a fork of Kodi. You had best seek assistance at the CoreElec forum as we cannot assist you here.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Adjusting Audio Offset forward causes picture to freeze0