nova-video-player / aos-AVP

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

[Bug]: Audio latency when playing LPCM->FLAC codec #1185

Open DimetryBadcoder opened 3 months ago

DimetryBadcoder commented 3 months ago

Problem description

When I playing a video with LPCM->FLAC audiotrack, I have latency which is about 1 sec. Other codecs are playing fine, without issues

Steps to reproduce the issue

Play any video with LPCM->FLAC codec

Expected behavior

No latency

Your phone/tablet/androidTV model

HEC R1 50 S 4K

Operating system version

Android TV 11

Application version and app store

v6.2.70 (Google Play Market)

Additional system information

I'm playing a video from my PC via LAN

Debug logs

No response

Philofil92 commented 3 months ago

Hello, I don't know if this will reassure you...but I had already opened an incident on December 21, 2023 for identical problems! The flac is coming back to the forefront, because of the re-releases of old films in 4K UltraHD Bluray edition. Just for information! Mx Player and Justplayer do the job, there is no image/sound

courville commented 3 months ago

OK, let's have a look. Please provide sample.

courville commented 3 months ago

I just played one sample with FLAC 2CH ok on my nvidia shield.

DimetryBadcoder commented 3 months ago

OK, let's have a look. Please provide sample.

Torrent is suitable for you?

I have a delay, when I play this video (Japanese audio track) on my TV while files are stored on my PC. Also the video have a little bit of stutterings. When I play it via VLC on the same TV and from the same PC, everything is perfect.

I didn't tried to play it on TV locally.

magnet:?xt=urn:btih:749EDD8D03CF83607B669FB3915AA8B32F5CF0A5&tr=http%3A%2F%2Fbt.t-ru.org%2Fann%3Fmagnet&dn=Этот%20замечательный%20мир!%20(ТВ-1)%20%2F%20Kono%20Subarashii%20Sekai%20ni%20Shukufuku%20wo!%20%2F%20Konosuba%3A%20God%60s%20Blessing%20on%20This%20Wonderful%20%5BTV%5D%20%5B10%20из%2010%5D%20%5BRUS(ext)%2C%20ENG%2C%20J

Philofil92 commented 1 month ago

Je ne sais pas si le codec est lié entre les pistes "flac" et "Dolby Digital 2" 48000 khz (dual mono restauré), mais il y a également un décalage son et image comme sur les pistes flac. Et pas de soucis sur Mx Player et Just Player. Est-ce que c'est les pistes mono qui causent soucis à Nova 🤔