Yes, at this version and also one before to see the difference.
TrueHD 7,1 is always more OOS vs other types on my setup
But is it now a constant offset with latest nightly?
@Portisch yes with a quick test with this advancedsettings and a couple of skip forward on the remote, offset is the same. Will do some more testing later , but thanks!
<advancedsettings>
<video>
<latency>
<delay>0</delay>
<refresh>
<min>23</min>
<max>24</max>
<delay>175</delay>
</refresh>
</latency>
</video>
</advancedsettings>
20241108_kodi.log (1002.2 KB)
20241109_kodi.log (1.0 MB)
20241111_kodi.log (1.0 MB)
Results using three nightly versions, the 20241109 one that was discussed, the previous one, and the new one for the sake of it.
File used was: Audio sync/Audio_Video_Sync_23.976_TEST TrueHD DTS-HD DDP DD PCM.mkv from 23.9976 link from Kodi Audio Out of Sync playing file or after seeking - #90 by R3S3T_9999
Was testing with the DD+ audio track.
For all the tests started the video, measured the offset, skipped back 10 sec by pressing left once on my remote, measured the offset and then stopped the video.
Approximate delay for each tests are
| 20241111 | 20241109 | 20241108 | |
|---|---|---|---|
| Initial audio delay | 215 ms | 215 ms | 350 ms |
| Audio delay after skip | 285 ms | 320 ms | 280 ms |
Other testing on 20241111:
Will test in more detail later, but when using the TrueHD track it did appear to have both more consistent results and a lower delay than the DD+ track.
Please also enable audio/video timing in components.
All againâŚ
Ahh, all three versions?
@Portisch Also found something that might be worth you testing to see if you can replicate the issue.
By setting the advancedsettings.xml as follows (with the overly large value for the delay)
<advancedsettings>
<video>
<latency>
<refresh>
<min>23</min>
<max>24</max>
<delay>500</delay>
</refresh>
</latency>
</video>
</advancedsettings>
The differences in the change in audio sync become much more obvious - to the extent I am seeing some consistency in results. This has also highlighted differences in behaviour between TrueHD and DD+.
With the above advancedsettings.xml on the test file from the previous post.
- The TrueHD track consistently starts with the audio at the ~+11 mark, left alone the offset will stay at the point. Skipping back 10 sec with the left button the audio jumps to the ~-6 mark. Also replicated on the Spears and Munsil AV sync sample with the same offsets.
- The DD+ track, usually, starts at the ~+11 mark and then, without any input, it then drifts through +12,-12, -11 and then settles at ~-6 mark. With a single 10 sec backwards skip, it then typically doesnât really change offset (sometimes changes to ~-4). When it doesnât start at the ~+11 mark, the audio will start at the -6 mark.
Can someone else also try playing with the advancedsettings to see if the results can be replicated?
edit: tests from this post were on version 21.1.1-Omega_nightly_20241111
I hope you test and make logs without any user advanced tuningâŚ
yes⌠That was just something I found interesting that I thought may be useful
edit: any any case, shouldnât the advanced setting just provide a constant offset though?
I unpacked a SM1, S905X3 and tested your example. Itâs in perfect sync, every time. So make a video with mobile to actually see/here the issue.
And make kodi.log in parallel.
Assume you want the video for the test without the advanced setting even though the results are more obvious with the advanced setting?
Without any custom settings. We are not here to solve issues caused by user configuration.
I get that and will do the test that way, but shouldnât a misconfigured offset still be a constant offset? Am I misunderstanding what that option does?
I have no idea about this advanced setting and if it still apply when hardware decoders are used.
I only see the first beep after seek isnât on +0 frame. But the second and following are again on frame 0.
I just tested the above file on my setup and cannot see any out of sync issues, also not after seeking.
My setup is AM6B+ â Avidgram HDMI 4K/120 splitter â Denon AVR-X2800H â Philips 48OLED808 TV.
None of the audio tracks show any sync issues.
I do have one delay of 83 ms (2 frames @ 23.976) configured on the Denon but thatâs just because of something quirky going on between the TV and the Denon. I need this delay for all other connected sources as well. My old TV did not need this, so Iâm blaming the firmware on the new TV for this.
Agree, I tested all files from reset9999,
All is in sync. No delay needed.
Tryed ff rew, paused, no issue.
Amb6+ > 8k hdmi splitter extractor> one go to the tv > one to the avr system.
kodi-android.log (995.2 KB)
kodi-ce.log (6.3 MB)
Here is a log (kodi-ce.log) from testing with todayâs nightly (Iâm not sure where to obtain previous version but they are still out of sync regardless). I used Audio-delay-test-v5_23.976.mkv since it was easier for me to see the sync errors visually. At the start of playback it is ~ +1 oos. I did a seek forward and now it is in sync. Another seek forward, it is now ~ +3 oos. Then I paused/resumed, it is now ~ +1 oos. Another seek forward, it is now ~ -4 oos. And finally stop. (These numbers should be multiples of a 23.976fps frame time corresponding with the bars on the screen).
I also uploaded a log from Kodi running under Android (kodi-android.log) on the exact same equipment in the exact same configuration. Here, the video starts out of sync but self-corrects itself multiple times until it is finally in sync. I was hoping perhaps the Android log could provide some insight.
Setup is CE â Q990B Soundbar â LG CX
What app will do this? The test files look in sync to me, but when watching a movie or tv show with someone talking its obvious to me that it is out of sync.
Mine was in sync to begin with but seeking backwards and forwards a few times threw it out by between 1 and 3 frames.