• 1
  • 9
  • 10
  • 11
  • 12
  • 13(current)
Release TrueHD passthrough - New MAT Packer implementation (merged in master and Omega)
(2024-07-04, 15:54)jogal Wrote: In others words: max allowed stationary / not corrected error e.g. 80 ms + transitory error (error noise / peaks e.g. 15 to 20 ms) MUST not be at any time > 100 ms

Understood, thank you for the explanation. Also yes.. when we were testing the Cars file, maxpassthroughoffsyncduration 50 did actually play that file perfectly with your MAT Rework. This was exciting because before the MAT Rework, 50 would definitely cause stutters in the Cars file (and pretty much all TrueHD files).

After some time I started to notice stutters in some files so I put it back to 96 (at this time I didn't know it was actually limited to 80). It worked much better but some TrueHD movies still have maybe 1 or 2 stutters. I was only asking if there was some way to allow maxpassthroughoffsyncduration 96 again without breaking things, but it seems like it's not possible. I probably just have a really bad Shield, so hopefully there will be a new model coming soon so I can upgrade. Thank you again @jogal for your hard work!
Reply
(2024-07-03, 20:48)Draconix Wrote: Yeah I seem to have this problem now in 4K blu-rays with TrueHD, there's usually 1 or 2 video stutters throughout the movie.

Just my opinion, but ~100ms error in A/V sync is quite noticeable, already makes following dialogue difficult because of bad lip sync.

So you have two options:

1) watch entire movie with bad lip sync, but no frame skip

2) skip single frame and then rest of the movie is perfectly in sync..

One frame at 24fps is about 42ms. 96ms would be over two frames off. Even though I don't like skips, I can easily accept it if it only happens like 1-2 times per movie and makes rest of the movie perfect..
Reply
(2024-07-05, 09:14)Zuikkis Wrote: Just my opinion, but ~100ms error in A/V sync is quite noticeable, already makes following dialogue difficult because of bad lip sync.
Yes that would normally be noticeable, except the Shield is known to fluctuate the timestamp like crazy but it always corrects itself. Basically I don't believe Kodi actually needs to correct the sync in this case... I think it's causing a stutter to correct the sync that the Shield would've done on its own.
 
(2024-07-04, 20:09)fritsch Wrote: From the beginning it was clear, that some people have sever and specific and special issues on their devices. What you most likely need is a "I don't care about SYNC" setting
In that old TrueHD thread, we did in-depth testing with those huge debug logs that show all audio timestamps. You saw that my Shield would drift the timestamps in a strange way, sometimes hitting 80ms+ but then quickly correcting itself afterwards. That's how you ended up creating the "maxpassthroughoffsyncduration" setting so that we could basically tell Kodi to ignore those huge timestamp drifts, and it worked.
I was able to set "maxpassthroughoffsyncduration" to a value higher than the highest Shield timestamp drift, and then there were no more stutters. A/V sync was still fine because the Shield always corrects itself after a huge drift. I could be totally wrong here, but this is how I understand it currently.

@fritsch, would you be able to make me a test build that has an "I don't care about SYNC" setting so I can see what happens? Of course it will still have to sync at the start and also when there's a seek (fast forward or rewind), but otherwise tell Kodi not to ErrorAdjust to fix sync.

EDIT: I think that maybe my request was a bit too difficult and not worth your time, @fritsch. Could you possibly make me a quick build with one simple change: Just increase the maxpassthroughoffsyncduration limit from 80ms to 90ms. I would like to see if that has a positive effect on my Shield, since I used to use a value of 92 with great success... 80 is unfortunately just a bit too low for my Shield.
Reply
Hmm. I have had some random hickups with TrueHD now. It starts with just a few frame drops, but slowly gets worse and worse until A/V sync is completely messed up.

However it always fixes itself after rebooting Shield. Now I've learned to notice the initial small drops and immediately reboot. Sometimes just stopping the video works.

Only happens with Disney TrueHD streams.. I'll try to get a debug log.
Reply
  • 1
  • 9
  • 10
  • 11
  • 12
  • 13(current)

Logout Mark Read Team Forum Stats Members Help
TrueHD passthrough - New MAT Packer implementation (merged in master and Omega)0