Passthrough (AC3/DTS) does not work with XBMC, works with MX Player. RK3066/4.4
#1
Hello,
I can't get HDMI passthrough to work with XBMC. Manually activating audio settings in guisettings.xml did not help either. I tried both 13.1 and the 14.0 06/12/2014 nightly. XBMC will play the audio as a downmix to stereo. Both, the Rockchip video player and the MX Player, are not affected by this problem and send AC3/DTS through the HDMI port (the receiver osd confirms the right type and bitrate of the audio stream).

Even though I do not think the exact hardware is relevant, as the bug should probably exist on all 4.4 RK3066 devices, it is a Ugoos UG802 compatible Bluetimes C120.

Could this problem be related to this line: <passthroughdevice default="true">AUDIOTRACK:AudioTrack</passthroughdevice>? I can't change devices in the XBMC gui.

The debug log shows no really the information I would like:
16:21:25 T:1678400536 DEBUG: FactoryCodec - Audio: passthrough - Failed

So I also made logcats of XBMC and MX Player.

Logs of the nightly with guisettings.xml

<audiooutput> configuration of guisettings.xml: http://pastebin.com/U8U9mSNj
XBMC debug log of completely playing both test files and exiting after: http://pastebin.com/vvwuwEg3
Logcat of XBMC playing the AC3 file (now named Adaptation, so I can start it remotely out of the library): http://pastebin.com/Tu4Q3Zfe
Logcat of XBMC playing the DTS file (now named Dancer in the Dark, so I can start it remotely out of the library): http://pastebin.com/VidZSY6a
Logcat of MX Player playing first the AC3 file then the DTS file, opened through ES File Explorer (named as above): http://pastebin.com/rT63Z09A

I am happy to provide more information if you need any.

If this is bugtracker worthy I can also register and paste this there.
Reply
#2
i have this same problem on my Nuvola NP-1 streamer. android 4.4
Reply
#3
Let me check the Rockchip player and MX player source to see how they achieve PT on unaltered android. Oh wait...
Reply
#4
Any updates? Just wondering... I get continuous static when I have passthrough enabled in XBMC on a FireTV.
Reply
#5
see above post and come back when you get Rockchip player and MX player source code to see how they achieve PT on unaltered android.
Reply
#6
I wasn't able to solve it. So I ended up sending the box back and went back to using something other than xbmc.

Best of luck
Reply
#7
(2014-08-16, 18:19)Betelgeuse2112 Wrote: […] passthrough […] on a FireTV.

Different SOC, that does not really fit here.

(2014-08-05, 14:09)Koying Wrote: Let me check the Rockchip player and MX player source to see how they achieve PT on unaltered android. Oh wait...

It is not "unaltered android", afaik the same with Pivos AMLogic 8726-M boxes (and I think there are no sources of these modifications out in (semi-)public). Sources of the Android for RK3066/3188 are there: http://rockchip.fr/radxa/ (xz has better compression).

I have a strong suspicion that every player with FFmpeg libraries inside the apk work. I am happy to test any player someone throws at me.


I have it working now with the very hacky libmedia.so modification and by using STREAM_VOICE_CALL. XBMC: sources / binaries libmedia.so
Reply

Logout Mark Read Team Forum Stats Members Help
Passthrough (AC3/DTS) does not work with XBMC, works with MX Player. RK3066/4.41