lip sync driving me mad – shield pro, marantz, samsung



Hi there, sorry to be a pain, but I’m going mad on certain mkv files that are not playing correctly on my setup (they work fine when played on PC with vlc player).

Setup
QNAP 419P x 8 HDD’s
10Gbps connection to QNAP switch
Samsung S95C TV, ethernet connection to qnap switch
Marantz SR6015 with ethernet connection.
nvidia Shield Pro, ethernet connection to qnap switch. HDMI connection to Samsung ‘one’ box.
Kodi: 12.1

So, all streaming works fine on shield. Netflix, disney+ etc. Even movies I’ve transcribed work fine streaming from qnap to nvidia/tv.

However, some episodes of some tv shows (eg, Fifth gear) work fine, but others do not.

Symptoms.
Bad lip sync. Within a minute or less, the sync is out.. Will keep on playing, but then after about 10 mins, it will jump and correct the sync. Then a min or less later, it is out again. Repeat.

I’ve change lots of settings on all devices (nvidia, marantz, kodi), but still can’t get these ‘special’ files to work.

Using media info, I can see that the ones that work are in AAC LC, 2 channels, 48kHz, where as the ones that don’t work are AC3, 384kbps, 6 channel.

Shows that work well, I can see on the AMP Input: FL and FR.  It translates to Active Speakers: SW, FL, C, FR, SL, SR, TRL, TRR
Shows that don’t work well, I can see on the AMP Input: LFE, FL, C, FR, SL, SR    It translates to Active Speakers: SW, FL, C, FR, SL, SR

That’s the only different I can find.

I’m happy to provide what ever logs needed. Can anybody point me in the right direction? I’ve tried multiple changes (as recommended on this forum) to Kodi config (speakers set to 2.0, enable/disable passthrough etc), but nothing seems to ‘fix’ these files.

Just a last note, these ‘same’ problem files play fine on my pc (using vlc player), streaming from same QNAP, so I don’t think it’s the transcoding that is wrong, it’s the interpretation on the nvidia/kodi that is causing the issue in my mind (obviously I don’t have an amp plugged in to my pc!)