nova-video-player / aos-AVP

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

[Bug] : Atmos generating playback stop or lags #564

Open mitch133 opened 2 years ago

mitch133 commented 2 years ago

Problem description

Movies containing ATMOS tracks (both within TrueHD and EAC3 tracks) generate lags and crashes after a few seconds playing

Steps to reproduce the issue

Play any Mkv containing Atmos data

Expected behavior

Movies should play normally, with or without sound

Your phone/tablet/androidTV model

Freebox Poo

Operating system version

Android 9

Application version and app store

6.0.43 (GitHub universal apk)

Additional system information

No response

Debug logs

No response

mitch133 commented 2 years ago

FYI, tested the same file on just player (ok), VLC (ok), Kodi (ok), MX player (ok but no sound, no EAC3 support indicated)

phhusson commented 2 years ago

Hello,

Freebox developer here. The Dolby Atmos components given to Freebox by Dolby doesn't support Dolby TrueHD (I don't know why Dolby doesn't want us to support Atmos in TrueHD...)

My current recommendation, as of Freebox Pop firmware v9.6.35, is to Enable 6ch PCM encoding in System Settings => Advanced Settings, and to leave NOVA Video Player passthrough mode to 0. NOVA will output PCM 6ch, and Freebox Pop will reencode it in DD+ and send it as DD+ to AVR.

This is subject to change in the future, because I definitely intent on having proper TrueHD support on the Freebox Pop in the future through true/full passthrough.

This will give you working 5.1 channels. That's not perfect, but that's something.

With regards to Atmos E-AC3, it should work in passthrough mode 2, and I'm pretty sure last time I tried it did work, but I'll check again.

mitch133 commented 2 years ago

Hi PH,

Thanks for your answer and suggestions.

Some comments and answers from my side:

mitch133 commented 2 years ago

FYI no problem with 5.xx Google Play version on a Samsung Galaxy S21.

mitch133 commented 2 years ago

On the other hand, one .mov file coming from an iPad lags a lot on both versions and both terminals

mitch133 commented 2 years ago

DTS ES 6.1 not working properly either... (but DTS 5.1 does). With another backend player (i.e Just player) no more problem

mitch133 commented 2 years ago

All of this still happens with 6.0.61 on Freebox Pop. Same issues with previsouly mentionned audio file formats

mitch133 commented 2 years ago

No problem on Samsung S21 and 6.0.67, but still the same problem on Freebox pop... I guess the terminal is the problem (again) but still strange because as mentioned previously the same files work fine with other players such as Just Player or Kodi. Otherwise what's not working properly on any of both terminals are the .mov files taken from an iPad. They play very slowly

mitch133 commented 2 years ago

Still have the same issues with the Android 10 beta on freebox pop. Little change, the files generating lag with lags with ATMOS work a little better now (they keep playing when they stopped before). Do you think it would be possible to send you the files so you could have a look to these several issues?

phhusson commented 2 years ago

Got a sample to share?

Le sam. 9 avr. 2022 à 13:15, mitch133 @.***> a écrit :

DTS ES 6.1 not working properly either... (but DTS 5.1 does)

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

mitch133 commented 2 years ago

https://we.tl/t-GqYfgfSSGp

Hello, 2 samples here in the link. One with DTS ES 6.1, another with EAC3 with ATMOS. The first one doesn't play sound at all on any device, so it's probably due to NOVA. The second one plays well in its sampled version... But the original file stutters on a Freebox Pop Player with Nova, when it does play well on a Samsung Galaxy S21 (same NOVA version & file over SMB in both cases)

-> FYI Link expires in 7 days

mitch133 commented 2 years ago

The original file here:

https://we.tl/t-BcNTunwEEe

Please tell me if these files suit you

mitch133 commented 2 months ago

Hi,

Anything new on this? Could you reproduce the issue with the sample I sent you? I'm still having this problem with Nova 6.3.2 and these files.

Thx for your feedback

mitch133 commented 1 week ago

Hi,

Seems to work now with 6.3.5. Problem seems to come from Dolby Vision. It works fine when disabled in the menu.

And Android frame timing enabled seems to make videos run smoother as well.

By the way, concerning Dolby Vision, could you implement an auto mode? Meaning, when the hardware doesn't support Dolby Vision, the option would be automatically turned off? So you could have 3 options in the menu: on, off, and auto