• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 11
Release TrueHD passthrough Test Builds - New MAT Packer implementation
#31
(2024-05-06, 20:04)jerah61865 Wrote:
(2024-05-06, 18:54)ricklar Wrote:
(2024-05-06, 02:12)jerah61865 Wrote: Ugoos AM8. Constant stuttering issues with TrueHD passthrough. 

Believe that UGOOS hasn't fixed their firmwares to effectively use AudioTrack(IEC) for Passthrough mode correctly, try testing using AudioTrack(RAW) instead.
AudioTrack (RAW) seems to work better, there are ocasionally issues with pausing and resuming, but seems to be better.

I have communicated with Ugoos support before and got replies. Can you tell me what exactly to convey to them? I can write them an email explaining the situation and try to get them to fix it.

Yes.

a) They open the device succesfully with 200 ms buffer, but in fact eat nearly 450 ms of buffer before playing -> Most of your videos with IEC passthrough should be out of sync
b) Their GetDelay under the hood does not work properly. You can especially see this in your logfile. We measure this against wallclock ...
c) Thanks to their broken firmware (audio wise), we had to create and advancedsetting with opt-in ... so all FireTV Cube 3rd gen and others now need to toy with advancedsettings ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#32
(2024-05-06, 20:19)fritsch Wrote:
(2024-05-06, 20:04)jerah61865 Wrote:
(2024-05-06, 18:54)ricklar Wrote: Believe that UGOOS hasn't fixed their firmwares to effectively use AudioTrack(IEC) for Passthrough mode correctly, try testing using AudioTrack(RAW) instead.
AudioTrack (RAW) seems to work better, there are ocasionally issues with pausing and resuming, but seems to be better.

I have communicated with Ugoos support before and got replies. Can you tell me what exactly to convey to them? I can write them an email explaining the situation and try to get them to fix it.

Yes.

a) They open the device succesfully with 200 ms buffer, but in fact eat nearly 450 ms of buffer before playing -> Most of your videos with IEC passthrough should be out of sync
b) Their GetDelay under the hood does not work properly. You can especially see this in your logfile. We measure this against wallclock ...
c) Thanks to their broken firmware (audio wise), we had to create and advancedsetting with opt-in ... so all FireTV Cube 3rd gen and others now need to toy with advancedsettings ...
FWIW Audiotrack(RAW) is also buggy when pausing/seeking on DD+ files (which work fine with Audiotrack(IEC)). Gets very messed up. let me try to convey your messages to them.
Reply
#33
(2024-05-06, 20:37)jerah61865 Wrote:
(2024-05-06, 20:19)fritsch Wrote:
(2024-05-06, 20:04)jerah61865 Wrote: AudioTrack (RAW) seems to work better, there are ocasionally issues with pausing and resuming, but seems to be better.

I have communicated with Ugoos support before and got replies. Can you tell me what exactly to convey to them? I can write them an email explaining the situation and try to get them to fix it.

Yes.

a) They open the device succesfully with 200 ms buffer, but in fact eat nearly 450 ms of buffer before playing -> Most of your videos with IEC passthrough should be out of sync
b) Their GetDelay under the hood does not work properly. You can especially see this in your logfile. We measure this against wallclock ...
c) Thanks to their broken firmware (audio wise), we had to create and advancedsetting with opt-in ... so all FireTV Cube 3rd gen and others now need to toy with advancedsettings ...
FWIW Audiotrack(RAW) is also buggy when pausing/seeking on DD+ files (which work fine with Audiotrack(IEC)). Gets very messed up. let me try to convey your messages to them.

See the sticky topic in this forum. RAW API is nonsense in general - I describe why in that sticky post. Depending on vendor ... might suck more or even more ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#34
Hi @fritsch, I've sent you an email with Ugoos' reply.  Please have a look at it when you can.
Reply
#35
I don't real mails with Kodi content. Simply post it here.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#36
Ugoos reply
Hello,
please use Kodi 19.5 to eliminate this issue.

My reply:
Hi,

Running Kodi 19 is more of a temporary fix. Is it possible to fix the firmware of the device so that newer versions of kodi can be used? I mentioned the feedback from the Kodi devs in my previous message in case that helps you.

Ugoos reply
It is KODI developers authority to get the option back, we haven't change any part of the firmware in order to make newer KODI versions play that content properly.
Ugoos engineers already know about that incompatibility, if there will be a solution it will be in new firmware update
Reply
#37
What option do they mean?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#38
I think they're saying that Kodi 19 worked with Audiotrack(IEC), so it's the kodi devs' fault if it doesn't work in Kodi 20/21.
Reply
#39
Quote:2024-05-05 19:08:50.525 T:7572 info <general>: Product: AM8, Device: AM8, Board: AM8 - Manufacturer: UGOOS, Brand: UGOOS, Model: AM8, Hardware: amlogic

They obviously meant the private amlogic specific API. Sad that in 2024 someone still thinks to implement it ... while the amlogic BSP itself (on google and amazon devices) implements it properly. Lame excuse ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#40
Earlier I had a TrueHD Passthrough audio dropout issue with the movie "Lightyear" and posted this log in a different thread: https://paste.kodi.tv/edigaluhen.kodi

I have now once again encountered this audio dropout issue with the movie "Avatar: The Way of Water".
Here's the new Debug Log for this movie: https://paste.kodi.tv/cemukemutu.kodi

I noticed two dropouts around the 4 minute mark. I've watched the beginning of this movie several times, and those two dropouts happen at the exact same spots every time.
However if I immediately rewind and play those parts again, it plays perfectly with no dropouts.

I'm starting to think this may be a bigger issue than just a couple movies. I'll be checking several other TrueHD 4K Blu-rays in the future to see if this more common than originally thought.
If @fritsch or @jogal have any suggestions or builds for me to test these two files with, I'm more than happy to help!
Reply
#41
There might be a problem understanding pause bursts, which are purely container based, e.g. AE uses an existing package, but alters it to be an empty burst packet ... only speculation. AE will uses those bursts to get the sink back into sync. It's a completion to the other thing I posted with the payload / sink delay.

@jogal is more into ths low level topic.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#42
Test with Omega nightly (old TrueHD packer).

All lines of code in MAT packer have been changed: if you have the same issue before/after then the problem is in another place but not in MAT packer code.
Reply
#43
(2024-05-12, 07:59)jogal Wrote: Test with Omega nightly (old TrueHD packer).

Thank you for the suggestion, I uninstalled Kodi master and installed the latest Omega nightly. Here's the log: https://paste.kodi.tv/uciwaciceh.kodi

This result was actually worse, as I noticed 3 dropouts and 1 stutter. The first dropout happened at the exact same spot as before, but the other two dropouts happened at different spots.
Hopefully this testing can shed some light on what's actually going on here. Thank you for your time and effort, and hopefully we can find some sort of fix or workaround.
Reply
#44
Does it dropout if you skip into the video just before the dropout point? If so, a sample around that area might help other test it.
Reply
#45
Created 10 minutes test sample file to make sure is not "bad media" issue:

MEGA:
https://mega.nz/file/yjw3GRbY#qGjInMF0Fi...6FOEQnZga8


Tested TrueHD English and TrueHD Spanish tracks and absolutely no dropouts here.


xml:
General
Unique ID                                : 260933733726115449423233492964343509363 (0xC44E02563CF4CB3CADC27E66BD1B7173)
Complete name                            : T:\thd\Avatar - The Way of Water-001.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 3.69 GiB
Duration                                 : 10 min 0 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 52.8 Mb/s
Frame rate                               : 23.976 FPS
Movie name                               : Avatar: The Way of Water
Encoded date                             : 2024-05-12 07:06:05 UTC
Writing application                      : mkvmerge v82.0 ('I'm The President') 64-bit
Writing library                          : libebml v1.4.5 + libmatroska v1.7.1

Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@high
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 10 min 0 s
Bit rate                                 : 43.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.218
Stream size                              : 3.02 GiB (82%)
Writing library                          : ATEME Titan File 3.9.6 (4.9.6.2)        
Language                                 : English
Default                                  : No
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Original source medium                   : Blu-ray

Audio #1
ID                                       : 2
Format                                   : MLP FBA 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Codec ID                                 : A_TRUEHD
Duration                                 : 10 min 0 s
Bit rate mode                            : Variable
Bit rate                                 : 4 855 kb/s
Maximum bit rate                         : 7 239 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Stream size                              : 347 MiB (9%)
Title                                    : Castellano (AE) TrueHD Atmos 7.1
Language                                 : Spanish
Default                                  : Yes
Forced                                   : No
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
mixlevel                                 : 80 dB
ltrtcmixlev                              : 3.0 dB
ltrtsurmixlev                            : 3.0 dB
lorocmixlev                              : 3.0 dB
lorosurmixlev                            : 3.0 dB

Audio #2
ID                                       : 3
Format                                   : MLP FBA 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Codec ID                                 : A_TRUEHD
Duration                                 : 10 min 0 s
Bit rate mode                            : Variable
Bit rate                                 : 4 491 kb/s
Maximum bit rate                         : 4 974 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Stream size                              : 321 MiB (9%)
Title                                    : Inglés TrueHD Atmos 7.1
Language                                 : English
Default                                  : No
Forced                                   : No
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
mixlevel                                 : 80 dB
ltrtcmixlev                              : 3.0 dB
ltrtsurmixlev                            : 3.0 dB
lorocmixlev                              : 3.0 dB
lorosurmixlev                            : 3.0 dB

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 5 min 35 s
Bit rate                                 : 5 b/s
Frame rate                               : 0.030 FPS
Count of elements                        : 10
Stream size                              : 218 Bytes (0%)
Title                                    : Castellano Forzado [Planos]
Language                                 : Spanish
Default                                  : Yes
Forced                                   : Yes

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 8 min 35 s
Bit rate                                 : 34 b/s
Frame rate                               : 0.202 FPS
Count of elements                        : 104
Stream size                              : 2.19 KiB (0%)
Title                                    : Castellano Completos [Planos]
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 9 min 23 s
Bit rate                                 : 41.1 kb/s
Frame rate                               : 0.590 FPS
Count of elements                        : 332
Stream size                              : 2.76 MiB (0%)
Title                                    : Inglés Completos (PGS) HDR
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Capítulo 01
00:05:21.237                             : en:Capítulo 02
00:05:57.523                             : en:Capítulo 03
00:08:54.033                             : en:Capítulo 04
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 11

Logout Mark Read Team Forum Stats Members Help
TrueHD passthrough Test Builds - New MAT Packer implementation0