Kodi Community Forum
v17 Adjusting Audio Offset forward causes picture to freeze - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v17 Adjusting Audio Offset forward causes picture to freeze (/showthread.php?tid=321053)



Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-04

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


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-05

Can anyone advise how I'd go about reporting this as a bug?
I've no previous experience in this sort of thing.


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-07

Anyone?
Id just like to get this bug reported and no idea how.


RE: Adjusting Audio Offset forward causes picture to freeze - FernetMenta - 2017-09-07

will be fixed in v18
https://github.com/FernetMenta/kodi-agile/commit/09f19d6860e04706be7dc30481ed7cb560720eeb


RE: Adjusting Audio Offset forward causes picture to freeze - Koying - 2017-09-07

Candidate for a backport to 17.5?


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-07

Excellent.
Thanks chaps.


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-07

(2017-09-07, 11:25)FernetMenta Wrote: will be fixed in v18
https://github.com/FernetMenta/kodi-agile/commit/09f19d6860e04706be7dc30481ed7cb560720eeb

@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


RE: Adjusting Audio Offset forward causes picture to freeze - FernetMenta - 2017-09-07

(2017-09-07, 12:12)Koying Wrote: Candidate for a backport to 17.5?

probably not in current state Smile


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2017-09-09

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.


RE: Adjusting Audio Offset forward causes picture to freeze - TheLastOfUs - 2018-07-04

Just had this issue on NVIDIA SHIELD with 17.4............


RE: Adjusting Audio Offset forward causes picture to freeze - gb160 - 2018-07-05

Its fixed in Leia, so install the v18 alpha release, or wait for the full release of Leia.


RE: Adjusting Audio Offset forward causes picture to freeze - BEBER2410 - 2018-08-23

(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.


RE: Adjusting Audio Offset forward causes picture to freeze - Karellen - 2018-08-23

@BEBER2410

CoreELEC is a fork of Kodi. You had best seek assistance at the CoreElec forum as we cannot assist you here.