Only stereo audio output on V2H H96Pro+

H96 Pro, X98 Pro, TX9 Pro to name a few...
Post Reply
Lacix
Verified Member
Posts: 32
Joined: Tue Jan 22, 2019 11:15 am
Answers: 0
Has thanked: 1 time
Been thanked: 4 times

#1

I have an issue with the Audio output in V2H.

My H96Pro+ box can only output stereo sound and no 5.1 over HDMI. (with settings: Surround Sound Always and Output: HDMI)
KODI shows stereo downmixed even if I choose 5.1.
Plex only outputs the Left and Right channel (Plex doesn't do downmixing on the player side).

However I can force stereo downmixing over HDMI with the following sequence (tested with Plex but have to redo after restarts):

starting system with Surround Sound: Always + Digital sounds: SPDIF
then
Surround Sound: Never
Digital sounds: PCM
Surround Sound: Always
Digital sounds: HDMI
Digital sounds: SPDIF

Is there a way to enable 5.1 HDMI ? or enable stereo downmix on HDMI after system boot?
User avatar
ricklar
Moderator
Posts: 889
Joined: Fri Nov 30, 2018 10:30 pm
Answers: 0
Has thanked: 139 times
Been thanked: 249 times

#2

I can't remember if Adam edited the V2H build.prop to allow DTS Surround-Sound passthrough. Normal S912 builds have the two lines pertaining to this but they commented the lines out, which will stop transmission of full Surround-Sound. Search this S912 forum for my Build.prop edit and check how it compares to your build.prop in v2H.
BE KIND, BE NICE, BE RESPECTFUL TO OTHERS, RESPECT THE MODERATORS,
*IMPORTANT NOTE* ONLY PM MODERATORS OR DEVELOPERS AS A LAST RESORT!!!

☢️ My test device: H96 Pro+ 3gb/32gb DDR4 ☢️ Plus own Tanix, Beelink, Alfawise, X96S, Odroid-N2, Khadas VIM3L, X3, ADT-3, X96-Air
GEARBEST.com
PLEASE ENJOY ATVX!
Lacix
Verified Member
Posts: 32
Joined: Tue Jan 22, 2019 11:15 am
Answers: 0
Has thanked: 1 time
Been thanked: 4 times

#3

ricklar wrote: Wed Oct 02, 2019 5:26 am I can't remember if Adam edited the V2H build.prop to allow DTS Surround-Sound passthrough. Normal S912 builds have the two lines pertaining to this but they commented the lines out, which will stop transmission of full Surround-Sound. Search this S912 forum for my Build.prop edit and check how it compares to your build.prop in v2H.
Thanks for the input. It is not only a DTS problem it can't play 5.1 Dolby Digital either (AC3).

Any solution how can I automate the settings changes which gives stereo downmixing I've described above?
Or maybe an other solution if I can somehow in some Android file set the stereo downmixing on HDMI after boot.
Lacix
Verified Member
Posts: 32
Joined: Tue Jan 22, 2019 11:15 am
Answers: 0
Has thanked: 1 time
Been thanked: 4 times

#4

Found a way to force the stereo downmix on HDMI:
In the /system/etc/audio_policy.conf file I've changed

Code: Select all

     
      hdmi_output {
        sampling_rates dynamic
        channel_masks dynamic
        formats dynamic
        devices HDMI
        flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC
      }
to

Code: Select all

      hdmi_output {
        sampling_rates dynamic
        channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_5POINT1
        formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_IEC61937
        devices HDMI
        flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC
      }
User avatar
ricklar
Moderator
Posts: 889
Joined: Fri Nov 30, 2018 10:30 pm
Answers: 0
Has thanked: 139 times
Been thanked: 249 times

#5

And is everything working fine now?

Your change is not effecting the other audio codecs?
BE KIND, BE NICE, BE RESPECTFUL TO OTHERS, RESPECT THE MODERATORS,
*IMPORTANT NOTE* ONLY PM MODERATORS OR DEVELOPERS AS A LAST RESORT!!!

☢️ My test device: H96 Pro+ 3gb/32gb DDR4 ☢️ Plus own Tanix, Beelink, Alfawise, X96S, Odroid-N2, Khadas VIM3L, X3, ADT-3, X96-Air
GEARBEST.com
PLEASE ENJOY ATVX!
Lacix
Verified Member
Posts: 32
Joined: Tue Jan 22, 2019 11:15 am
Answers: 0
Has thanked: 1 time
Been thanked: 4 times

#6

ricklar wrote: Fri Oct 04, 2019 11:07 pm And is everything working fine now?

Your change is not effecting the other audio codecs?
These boxes doesn't have any real hw audio codecs. (except AAC,MP3 etc.) (DTS and AC3 are free to use codecs now so sw developers can use it freely)
I mainly use Plex and on the TV where that TV box is used stereo is enough.
e.g. Plex can direct play with AC3, DTS to stereo downmixed on the box and EAC3 is transcoded to AAC.

Interestingly Plex thinks that the box is capable of EAC3 (Could it because settings in the build.prop?) and tries to play it directly but the result is no sound. I had to turn the EAC3 supported settings in Plex's settings file false to have the AAC transcode from server.

+With passthrough (tried with KODI) I can have 5.1 output.
Post Reply