[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 220: Trying to access array offset on value of type bool
atvXperience : The Forum • Only stereo audio output on V2H H96Pro+
Page 1 of 1

Only stereo audio output on V2H H96Pro+

Posted: Tue Oct 01, 2019 7:45 pm
by Lacix
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?

Only stereo audio output on V2H H96Pro+

Posted: Wed Oct 02, 2019 5:26 am
by ricklar
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.

Only stereo audio output on V2H H96Pro+

Posted: Wed Oct 02, 2019 6:14 pm
by Lacix
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.

Only stereo audio output on V2H H96Pro+

Posted: Thu Oct 03, 2019 7:30 pm
by Lacix
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
      }

Only stereo audio output on V2H H96Pro+

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

Your change is not effecting the other audio codecs?

Only stereo audio output on V2H H96Pro+

Posted: Sat Oct 05, 2019 12:18 pm
by Lacix
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.