Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 13
Release TrueHD passthrough - New MAT Packer implementation (merged in master and Omega)
#1
While current MAT packer for TrueHD works really very well, I have found some rare cases (0.1%) that may produce non-compliant bitstream, especially related to seamless branching Blu-Ray sources (or resultant MKVs remuxes).

The new implementation is based on LAVFilters implementation with some optimizations and small changes. Then is totally different from current FFmpeg based implementation...

Omega Test Builds:

Android ARM64 (Shield):
https://mirrors.kodi.tv/nightlies/androi...v8a/Omega/

Android ARM:
https://mirrors.kodi.tv/nightlies/android/arm/Omega/

Windows x64:
https://mirrors.kodi.tv/nightlies/windows/win64/Omega/


Should be more robust especially handling sources with stream discontinuities or bad/rare/missing timestamps (to some extent of course).

May (or may not) fix some rare remaining dropouts/cuts on some specific streams...

These builds are Omega v21.0 based, then can be installed safety on top of current Omega release and also you can reinstall the official version on top of these to return to previous state (if necessary).


For those interested, it also includes much more information at the debug log level e.g.:

Code:
2024-04-14 17:31:16.198 T:21568 warning <general>: CPackerMAT::WritePadding: a large padding block of 247968 bytes is required due to unusual timestamps

Code:
2024-04-14 17:31:16.298 T:21568 warning <general>: CPackerMAT::PackTrueHD: detected a stream discontinuity -> output timing expected: 56504, found: 60344

Code:
2024-04-14 17:43:13.840 T:21272    info <general>: CPackerMAT::PackTrueHD: seek detected, re-initializing MAT packer state
Reply
#2
Hello,

I tried but Shield 2019 does not allw me to install on top of 21 Omega.
Reply
#3
(2021-03-02, 23:22)Hitcher Wrote: Using adbLink connect to your device.
Select Uninstall APK, select org.xbmc.kodi - making sure to tick -k (keep app data) - and uninstall it.
Reboot your device.
Reconnect adbLink, select Install APK and select the downloaded version of Kodi you want to install.
Reply
#4
Thank you, jogal! I have indeed noticed that there can still be a small dropout in TrueHD, though it's rare.
Installed the test build and so far so good, I'll make another post here if I encounter any issues.
Reply
#5
Thank you jogal!
I have tested but unfortunatelly same hiccups after some time. My setup is Shield 2019 - soundbar Q990C  - QE65Q67TAUXXH.
Reply
#6
(2024-04-15, 09:28)kolololop Wrote: Thank you jogal!
I have tested but unfortunatelly same hiccups after some time. My setup is Shield 2019 - soundbar Q990C  - QE65Q67TAUXXH.

Where is your Debug Log?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Hello fristch,

my debug logs:

https://paste.kodi.tv/mariwapuso.kodi
https://paste.kodi.tv/akiteyumuk.kodi
https://paste.kodi.tv/tumulecazu.kodi
https://paste.kodi.tv/legifoqani.kodi
Reply
#8
(2024-04-15, 17:12)kolololop Wrote: my debug logs:

Your logs have no occurrence of term CPackerMAT:: then you are not playing any media file or any related to TrueHD passthrough audio
Reply
#9
Hello jogal,

another bunch of logs:

https://paste.kodi.tv/inulataxef.kodi
https://paste.kodi.tv/dakuhobeqo.kodi
https://paste.kodi.tv/oyidakucet.kodi
https://paste.kodi.tv/soxoqexiwo.kodi
Reply
#10
Whatever your issue is has nothing to do with the Packer. You play btw. Dolby DD+ - this guy here:
Quote:script.module.slyguy - RESPONSE OUT: https://cmaf.cf.eu.hbomaxcdn.com/videos/...07/v17.mp4 (206)
seems to highjack your mainloop very often. No idea what this is.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
Thx fritsch

And this guy:
warning <general>: ActiveAE - large audio sync error:
Whenevrr hiccups appears this line is written in log. Is there something to focus on - uninstall some addons or is it some audio -video sync general problem?
Reply
#12
It's an effect not a root - cause - fix your script and check if problem is fine.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
(2024-04-15, 19:59)kolololop Wrote: Thx fritsch

And this guy:
warning <general>: ActiveAE - large audio sync error:
Whenevrr hiccups appears this line is written in log. Is there something to focus on - uninstall some addons or is it some audio -video sync general problem?
I have no idea what you are doing or what you are playing:
2024-04-15 18:06:49.714 T:21115 info <general>: VideoPlayer::OpenFile: videodb://movies/titles/546?xsp=%7b%22limit%22%3a50%2c%22order%22%3a%7b%22direction%22%3a%22descending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22dateadded%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22playcount%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%220%22%5d%7d%5d%7d%2c%22type%22%3a%22movies%22%7d

But this file wherever it comes from has sever issues on the audio stream as kodi cannot even setup the stream type correctly. This is in no way related to this thread here.  Open your own thread and provide a proper sample / Debug Log where you play that from local file share, please.

Other than that: No TrueHD Mat Packer Sync issues in your logfile
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#14
@fritsh: thank for your analysis. I have made a clean install of this build and only few addons installed as well and so far no hiccups.
Reply
#15
(2024-04-16, 22:34)kolololop Wrote: @fritsh: thank for your analysis. I have made a clean install of this build and only few addons installed as well and so far no hiccups.
Meeeh - and I even bought that bluray ... btw. for "intermittant" unexplainable stutters, please install nighly. A fix the JNIMediasession DOS there ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 13

Logout Mark Read Team Forum Stats Members Help
TrueHD passthrough - New MAT Packer implementation (merged in master and Omega)0
This forum uses Lukasz Tkacz MyBB addons.