• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 27
Android Fire TV Cube 3 & HD Audio Passthrough w/24p Support (Workaround Builds)
#31
How strange, mine's working fine w/o synch issue now. Will test again later today and report back. The 100M Ethernet is a big disappointment, but I'm using a USB gigabit Ethernet hub and getting 400Mbps Jellyfish clip to play, along with high bitrate UHD rips like '1917', which has several peaks over 100Mbps.
Reply
#32
Which USB gigabit Ethernet hub is that? And how much throughput do you achieve? (400 Mbit/s I might guess roughly as the port is USB 2.0)
And second: Could you please post a Debug Log? (Hehe, by accident you might run the RAW sink ;-))
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#33
Here's what I got using the build you provided -

1st Test

Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  on start/stop
Sync playback to display:  ON
keep audio device alive: 1 min
send low volume noise:  on
delay after change of refresh rate: 3.0 seconds

Results - Played everything I threw at it perfectly, no audio delay, no stutters/freezes

2nd Test
Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  OFF
Sync playback to display:  OFF
keep audio device alive: 1 min
send low volume noise:  on
delay after change of refresh rate: 3.0 seconds

Results - audio out of sync or no audio at all ONLY on dolby tracks, DTS played fine
Debug log - https://paste.kodi.tv/perisuqaha


Let me know what else I can test
Reply
#34
Jep - for second file: Android's Audiotrack is fully stuck - it does not move a single bit ... it eats more than 4 seconds of audio ... and then slowly starts consuming ...
I get my Cube tomorrow and will then check first hand ...

Let me prepare you a hack ... until then.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#35
I see the issue - I have an idea. Oh man what a FW bug ... they forgot a factor ... from bytes to frames.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#36
Lol:

Quote:Audiotrack buffer params are: period time = 32.021 ms, period size = 24592 bytes, num periods = 32

Can you do the same with this one please? https://jenkins.kodi.tv/view/Android/job...bi-v7a.apk
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#37
I'll try that new build in just a few mins, but here are my results w/the nightly... I was wrong, there are still problems w/getting both HD audio passthrough & adjust display refresh rate working Sad. Janky behavior.

1st Test
Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  OFF
Sync playback to display:  OFF
keep audio device alive: 1 min
delay after change of refresh rate: 1.5 seconds

Results:
- TrueHD/ATMOS & DTS MA/X passed & play fine (in synch)
- 24p video played at 60

2nd Test
Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  on start/stop
Sync playback to display:  OFF
keep audio device alive: 1 min
delay after change of refresh rate: 1.5 seconds

Results:
- TrueHD/ATMOS & DTS MA/X played as PCM 5.1/7.1 instead
- 24p video played properly

3rd Test
Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  on start/stop
Sync playback to display:  ON
keep audio device alive: 1 min
delay after change of refresh rate: 1.5 seconds

Results:
- TrueHD/ATMOS & DTS MA/X played as PCM 5.1/7.1 instead
- 24p video played properly

Debug log. I can't seem to post these on pastebin or paste.kodi.tv, maybe because these logs are larger than 20MB.

@fritsch, I'm using this USB hub, but I imagine any USB 3.0 USB ethernet adapter/hub should work fine. Granted we're being constrained by Cube3's USB 2.0 port bandwidth.

Here's my iperf3 result:
 
Code:
Connecting to host 192.168.86.xxx, port 5201
[  4] local 192.168.86.xx port 63423 connected to 192.168.86.xxx port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  41.1 MBytes   345 Mbits/sec
[  4]   1.00-2.00   sec  41.0 MBytes   344 Mbits/sec
[  4]   2.00-3.00   sec  41.0 MBytes   343 Mbits/sec
[  4]   3.00-4.00   sec  40.9 MBytes   344 Mbits/sec
[  4]   4.00-5.00   sec  40.1 MBytes   337 Mbits/sec
[  4]   5.00-6.00   sec  41.1 MBytes   344 Mbits/sec
[  4]   6.00-7.00   sec  40.9 MBytes   344 Mbits/sec
[  4]   7.00-8.00   sec  41.0 MBytes   344 Mbits/sec
[  4]   8.00-9.00   sec  41.0 MBytes   344 Mbits/sec
[  4]   9.00-10.00  sec  40.9 MBytes   343 Mbits/sec
[  4]  10.00-11.00  sec  41.0 MBytes   344 Mbits/sec
[  4]  11.00-12.00  sec  41.0 MBytes   344 Mbits/sec
[  4]  12.00-13.00  sec  40.9 MBytes   344 Mbits/sec
[  4]  13.00-14.00  sec  41.0 MBytes   343 Mbits/sec
[  4]  14.00-15.00  sec  40.9 MBytes   343 Mbits/sec
[  4]  15.00-16.00  sec  41.0 MBytes   343 Mbits/sec
[  4]  16.00-17.00  sec  41.0 MBytes   344 Mbits/sec
[  4]  17.00-18.00  sec  40.9 MBytes   344 Mbits/sec
[  4]  18.00-19.00  sec  40.9 MBytes   342 Mbits/sec
[  4]  18.00-19.00  sec  40.9 MBytes   342 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-19.00  sec   797 MBytes   352 Mbits/sec                  sender
[  4]   0.00-19.00  sec  0.00 Bytes  0.00 bits/sec                  receiver

The 400Mbps Jellyfish clip plays smoothly for me as I mentioned before.
Reply
#38
A friendly reminder that "Sync playback to display: ON" disables passthrough so maybe you do not want to test that if goal is to get everything smooth with passthrough.

https://kodi.wiki/view/Settings/Player/Videos "Using this setting will disable Audio Passthrough"
Reply
#39
Awesome :-) Now that I bought the device - we find out it is broken Tongue
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#40
I am busy tonight - please get me the debuglogs with the version I posted before, that will show me that this direction is the right one. Maybe even some stuff already works.
A more hardcore approach "counter API" is then here: https://jenkins.kodi.tv/view/Android/job...bi-v7a.apk

But step by step, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#41
(2023-02-12, 21:24)Koder123 Wrote: A friendly reminder that "Sync playback to display: ON" disables passthrough so maybe you do not want to test that if goal is to get everything smooth with passthrough.

https://kodi.wiki/view/Settings/Player/Videos "Using this setting will disable Audio Passthrough"
You're right. I fixed my error above. With adjust display refresh & synch playback both enabled, I get 24p to work, but HD audio as you point out plays as PCM.
 
(2023-02-12, 21:26)fritsch Wrote: Awesome :-) Now that I bought the device - we find out it is broken Tongue
Same here. Ordered a 2nd one for another room. Hopefully Amazon fixes the f/w bugs.
[H]i-[d]eft [M]edia [K]een [V]ideosaurus
My HT
Reply
#42
(2023-02-12, 20:31)fritsch Wrote: Lol:
Quote:Audiotrack buffer params are: period time = 32.021 ms, period size = 24592 bytes, num periods = 32

Can you do the same with this one please? https://jenkins.kodi.tv/view/Android/job...bi-v7a.apk
Seems to be working based on brief testing, first a movie w/ATMOS, second one w/DTS:X...

Passthrough:  AudioTrack IEC/Kodi IEC Packer (recommended)
Adjust display refresh rate:  On start/stop
Sync playback to display:  OFF
keep audio device alive: 1 min
delay after change of refresh rate: 1.5 seconds

Results:
- TrueHD/ATMOS & DTS MA/X passed & play fine (audio in synch)
- 24p video played properly at 24

Debug log.
Reply
#43
"Working" in the sense of: Was broken before - and now is good?

Quote:2023-02-12 15:21:52.634 T:29286    info <general>: Audiobuffer is already very large - Reducing as much as possible!
2023-02-12 15:21:52.634 T:29286    info <general>: Audiotrack buffer params are: period time = 32.086 ms, period size = 11320 bytes, num periods = 4
2023-02-12 15:21:52.634 T:29286    info <general>: Created Audiotrackbuffer with playing time of 128.344671 ms min buffer size: 45280 bytes

Good - from my POV - that was the idea ... so: Already happy?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#44
Okay - after this nice success. Here is the more generalized approach:

Here I kindly ask you to test: https://jenkins.kodi.tv/view/Android/job...bi-v7a.apk

Settings:
Adjust Refreshrate: On start / stop
Sync Playback to Display: Disabled
Keep Audio alive: 1 minute
Stream low noise: yes
All PT codecs checked.

IEC we divide into 2 classes with multiple sub members:

8 channel 16 bit class with 192 khz:
DTS-HD-MA
TrueHD

2 channel 16 bit class with 8 khz:
AC3
DTS-512

2 channel 16 bit class with 192 khz:
EAC3 5.1 including Atmos (7.1 is currently broken everywhere ...)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#45
(2023-02-12, 23:14)fritsch Wrote: Okay - after this nice success. Here is the more generalized approach:

Here I kindly ask you to test: https://jenkins.kodi.tv/view/Android/job...bi-v7a.apk

Settings:
Adjust Refreshrate: On start / stop
Sync Playback to Display: Disabled
Keep Audio alive: 1 minute
Stream low noise: yes
All PT codecs checked.

IEC we divide into 2 classes with multiple sub members:

8 channel 16 bit class with 192 khz:
DTS-HD-MA
TrueHD

2 channel 16 bit class with 8 khz:
AC3
DTS-512

2 channel 16 bit class with 192 khz:
EAC3 5.1 including Atmos (7.1 is currently broken everywhere ...)

I must be confused, but is Kodi able to send full 24bit audio from TrueHD and DTS-HD or you guys have it limited to max of 16bit max audio quality? 🤔
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 27

Logout Mark Read Team Forum Stats Members Help
Fire TV Cube 3 & HD Audio Passthrough w/24p Support (Workaround Builds)0