Discussion

hdmi passthrough audio

2 1774
I am using latest bananian disc image. I am trying to use hdmi audio passthrough so that the av amplifier can decode the sound. I did following steps to use sunxi-hdmi sound (card 1, /etc/asound.conf, and uEnv.txt on boot partition). In pavucontrol I see only sunxi-hdmi analog stereo option, not digital. So I can not get the digital audio passthrough. Banana Pro decodes the sound to analog 2 channels and passes as pcm to receiver rather than passing it raw as DTS.

I have spent quite few hours with no luck. By the way, I have compiled mali drivers including vdpau, and passed environment as VDPAU_DRIVER as sunxi, and AWHWR=1.

Has anyone able to pass hdmi audio as DTS? or is it always analog stereo? Thanks for help.
I did some more checking on this. Turns out that I can pass digital audio through smplayer to my receive. However I do not get that option in Kodi. I compiled kodi based on direction from ryad as below. But I compiled kodi 15 rather than 14.

So what is going on? Is the issue with kodi not allowing passthrough? If so, I will wail till ryad compiles kodi for banaian.

****From ryad:
I have compiled kodi 14.1 "helix" successfully on my Arch installation. Indeed there is still no hardware acceleration for the native video player, but I managed to use smplayer as an external player and can play 1080p content flawlessly this way.

I used this guide: http://kodi.wiki/view/HOW-TO:Compile_Kodi_for_Linux

This is the configuration:

    ./configure --disable-vaapi --disable-vdpau  --disable-debug

Copy the Code
And this ~/.kodi/userdata/playercorefactory.xml:
    <playercorefactory>
    <players>
       <player name="smplayer" type="ExternalPlayer" audio="true" video="true">
         <filename>/usr/bin/smplayer</filename>
         <args>-minigui -close-at-end -fullscreen "{1}"</args>
         <hidexbmc>false</hidexbmc>
       </player>
    </players>
    <rules action="prepend">
       <rule filetypes="mkv" filename="*.*" player="smplayer"/>
    </rules>
    </playercorefactory>

Copy the Code
The smplayer is the compiled smplayer-qt4 from AUR.

******************

Maybe this patch can be useful to stream more channels to a receiver using alsa

https://groups.google.com/forum/#!topic/linux-sunxi/wa_agwKP-io

You have to log in before you can reply Login | Sign Up

Points Rules