2023-01-15, 10:15
This topic concerns only the users which use the audio passthrough IEC mode.
Complete rework of True-HD and audio/video sync enhancements have been done by @jogal
Some improvements and a workaround (see below) have been developed by @fritsch
Release Kodi Nexus v20.1 (no Dolby Vision):
ARMV7 32-bit
Latest Nightly Kodi Omega v21 since 2023-02-19:
ARMV7 32-bit
It will replace your current version of Kodi. Do a backup first via the addon.
Do not forget to test all the audio formats (DD, DD+, AAC, DTS, DTS-HDMA, TRUE-HD,...) and report any issue with a debug log.
SELF-CALIBRATION MAX A/V OUT-OF-SYNC DELAY ALLOWED
Kodi will define the max audio/video out-of-sync delay allowed during the first 30s.
This information is visible in the Video Player debug Information (Ctrl+Shift+O).
Moreover, you could see how many time Kodi did an a/v sync corrections (which could explain some video micro stutters).
If you still see video micro stutters but the number of a/v corrections is 0,
no skips and no drops are reported inside the Video Player debug Information (ignore those caused by opening it (Ctrl+Shift+O)),
then it's not a kodi issue but caused by the chain behind kodi: Android, AVR or TV.
You should have no maxpassthroughoffsyncduration in your advancedsettings.xml.
FORCE MAX A/V OUT-OF-SYNC DELAY
If the self-calibration doesn't work for you, you can set the max audio/video out-of-sync delay manually.
You can use the new audio option maxpassthroughoffsyncduration available in the advancedsettings.xml:
maxpassthroughoffsyncduration should be adjusted with the device you use.
For the Shield 2019 Pro with the latest firmware, the value should be between 80 ms and 100 ms.
RECOMMENDED SHIELD AUDIO SETTINGS
Complete rework of True-HD and audio/video sync enhancements have been done by @jogal
Some improvements and a workaround (see below) have been developed by @fritsch
Release Kodi Nexus v20.1 (no Dolby Vision):
- Complete rework of True-HD
- New audio option maxpassthroughoffsyncduration (see below)
- Self-calibration of max audio/video out-of-sync delay (max value is 100 ms) (see below)
ARMV7 32-bit
Latest Nightly Kodi Omega v21 since 2023-02-19:
- Complete rework of True-HD
- New audio option maxpassthroughoffsyncduration (see below)
- Self-calibration of max audio/video out-of-sync delay (max value is 100 ms) (see below)
ARMV7 32-bit
It will replace your current version of Kodi. Do a backup first via the addon.
Do not forget to test all the audio formats (DD, DD+, AAC, DTS, DTS-HDMA, TRUE-HD,...) and report any issue with a debug log.
SELF-CALIBRATION MAX A/V OUT-OF-SYNC DELAY ALLOWED
Kodi will define the max audio/video out-of-sync delay allowed during the first 30s.
This information is visible in the Video Player debug Information (Ctrl+Shift+O).
Moreover, you could see how many time Kodi did an a/v sync corrections (which could explain some video micro stutters).
If you still see video micro stutters but the number of a/v corrections is 0,
no skips and no drops are reported inside the Video Player debug Information (ignore those caused by opening it (Ctrl+Shift+O)),
then it's not a kodi issue but caused by the chain behind kodi: Android, AVR or TV.
You should have no maxpassthroughoffsyncduration in your advancedsettings.xml.
FORCE MAX A/V OUT-OF-SYNC DELAY
If the self-calibration doesn't work for you, you can set the max audio/video out-of-sync delay manually.
You can use the new audio option maxpassthroughoffsyncduration available in the advancedsettings.xml:
Code:
<advancedsettings>
<audio>
<maxpassthroughoffsyncduration>90</maxpassthroughoffsyncduration>
</audio>
</advancedsettings>
maxpassthroughoffsyncduration should be adjusted with the device you use.
For the Shield 2019 Pro with the latest firmware, the value should be between 80 ms and 100 ms.
RECOMMENDED SHIELD AUDIO SETTINGS
- Dolby processing: OFF
- Match content resolution: ON (only in FW 9.x)
- Audio video sync: 0 ms
- Play comfort noise on HDMI: OFF
- Adjust display refresh rate: On start/stop
- Sync playback to display: OFF
- Delay after change of refresh rate: Usually anywhere from 2 sec to 4 sec (Find what works best for your TV)
- Whitelist: All resolutions that your TV supports
- Keep audio device alive: 1 Minute
- Allow Passthrough: ON
- Passthrough output device: AudioTrack IEC
- *** Capable Receiver: Turn ON the audio formats that your AVR/SoundBar is capable of playing (check your specs)