nova-video-player / aos-AVP

NOVA opeN sOurce Video plAyer: main repository to build them all
Apache License 2.0
3.32k stars 197 forks source link

[Bug]: Sony Bravia XR 3D audio processing issue #666

Open yaswanth127 opened 2 years ago

yaswanth127 commented 2 years ago

Problem description

Doesn't play surround in google tv

Steps to reproduce the issue

While playing the dolby video in normal player the surround sound comes fine but while playing in nova player the sound is getting low and quality degraded even if we use audio boost or night mode the sound quality is not getting right as original media player. It can try to reproduce sound as produced by the tv as it is

Expected behavior

No response

Your phone/tablet/androidTV model

Sony X80J 55'

Operating system version

Android 11

Application version and app store

No response

Additional system information

No response

Debug logs

No response

courville commented 2 years ago

It seems to be a downmixing issue with the sony TV. Could you please set force stereo downmixing in nova settings and see if it helps?

yaswanth127 commented 2 years ago

Downmixing does loss the atmos data right?

On Sat, Jul 2, 2022, 2:24 PM CourvilleSoftware @.***> wrote:

It seems to be a downmixing issue with the sony TV. Could you please set force stereo downmixing in nova settings and see if it helps?

— Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/666#issuecomment-1172863898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4J2CEJ6JIHJN5DTH25AJ3VR77VDANCNFSM52OUBUVQ . You are receiving this because you authored the thread.Message ID: @.***>

courville commented 2 years ago

Yes but please report the result. And your comment indicates that you are not using the TV loudspeakers. Are you using a soundbar or AV receiver? If this is the case please let me know how the connectivity is set up.

yaswanth127 commented 2 years ago

I am using Tv speakers

On Sat, Jul 2, 2022, 2:34 PM CourvilleSoftware @.***> wrote:

Yes but please report the result. And your comment indicates that you are not using the TV loudspeakers. Are you using a soundbar or AV receiver? If this is the case please let me know how the connectivity is set up.

— Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/666#issuecomment-1172865143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4J2CBVKI4ZPYGAQLCXGJDVSAAYXANCNFSM52OUBUVQ . You are receiving this because you authored the thread.Message ID: @.***>

courville commented 2 years ago

Thus you are in stereo and require downmixing. TV should do it automatically on multichannel but perhaps for some reason it does not.

yaswanth127 commented 2 years ago

But I am getting good audio in normal media player??

On Sat, Jul 2, 2022, 2:44 PM CourvilleSoftware @.***> wrote:

Thus you are in stereo and require downmixing. TV should do it automatically on multichannel but perhaps for some reason it does not.

— Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/666#issuecomment-1172866480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4J2CH4PKESOVU3EJ4E7LDVSAB7PANCNFSM52OUBUVQ . You are receiving this because you authored the thread.Message ID: @.***>

courville commented 2 years ago

Any video player will downmix to stereo. Nova trusts the platform to perform the downmix. It does not happen thus you are loosing front channels resulting in poor sound. Forcing downmix in nova should restore the missing channels. Can you please try my suggestion, compare sound with "normal media player" and report any difference?

yaswanth127 commented 2 years ago

I have tried and the volume looks normal but no changes in surround or dialogues as we are controlling in system settings. The sound from player is independent of the system.

On Sat, Jul 2, 2022, 3:52 PM Yaswanth Nag1 @.***> wrote:

I will try.

On Sat, Jul 2, 2022, 3:11 PM CourvilleSoftware @.***> wrote:

Any video player will downmix to stereo. Nova trusts the platform to perform the downmix. It does not happen thus you are loosing front channels resulting in poor sound. Forcing downmix in nova should restore the missing channels. Can you please try my suggestion, compare sound with "normal media player" and report any difference?

— Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/666#issuecomment-1172869772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4J2CDB6FNVX6C3MGW3VADVSAFDLANCNFSM52OUBUVQ . You are receiving this because you authored the thread.Message ID: @.***>

courville commented 2 years ago

Now the next test is to disable "force downmix" and enable in nova setting passthrough mode 2 and check if it improves simulated surround effect on stereo speakers of the TV.

yaswanth127 commented 2 years ago

For dolby digital, the mode 2 seems okayish but resulting in audio sync issues

yaswanth127 commented 2 years ago

For dolby digital, the mode 2 seems okayish but resulting in audio sync issues

Actually the sound is very good in mode 2, but audio sync issues are high

mindstop commented 1 year ago

Any update on this issue, will it be fixed anytime soon?

courville commented 1 year ago

I see that your TV takes dolby atmos and dts sound input. I see that even with 2 speakers, the TV has some 3D audio processing capabilities:

XR Surround With BRAVIA XR, everything you watch gets the true surround sound treatment. XR Surround creates surround sound from the sides and vertically so you can experience 3D audio without the need for in-ceiling or up-firing speakers.

Nova should provide 5.1 output passed to Android and processed by the sony TV correctly even in non passthrough mode using multichannel PCM and the sound should be good. Perhaps the TV applies the XR effects but not on PCM 6CH outputs which would explain the current behavior.

It will be difficult to investigate further without such a TV.

courville commented 1 year ago

Could you please check this experimental build without any audio passthrough selected and report if it helps? https://drive.google.com/file/d/1QzWksWwcM4A2spdPXOH9RqO7dGcoeNQ4/view?usp=sharing

EDIT: just updated the apk to also capture truehd

mindstop commented 1 year ago

Hi Courville, I tested this new build on the Sony X90K, the audio is still low without any audio passthrough. But on mode 2 of audio passthrough, the audio is much better. Downmixing doesn't help either. Even with audio passthrough (mode 2), it still doesn't beat the built in player. Let me know if you need any other details.