Vlc audio sync issue

VLC for Android and Chrome OS specific usage questions
Gracus36
Blank Cone
Blank Cone
Posts: 67
Joined: 13 May 2022 10:49

Vlc audio sync issue

Postby Gracus36 » 13 May 2022 11:31

Hi!

I actually use vlc 3.5.0 beta 5 on a samsung galaxy S10 with android 12. Everytime i play a video, audio is out of sync. Try to play the same file with samsung video player and everything works fine. Try to change vlc settings but nothing change. The only thing that works is to set audio delay to -200ms for all video.

Here is the log with no audio delay set : https://pastebin.com/ua8SP5rq

Thanks.

Spike1
Big Cone-huna
Big Cone-huna
Posts: 735
Joined: 02 Jan 2021 12:54
VLC version: And:3.6.0β,Win:2.2.1

Re: Vlc audio sync issue

Postby Spike1 » 13 May 2022 19:16

Hi, yes, VLC has adjustable audio delay but not for individual videos. "The only thing that works" is the only thing VLC has. But are you saying it solves your problem? A developer may be able to tell from your log whether there is a bug.

Gracus36
Blank Cone
Blank Cone
Posts: 67
Joined: 13 May 2022 10:49

Re: Vlc audio sync issue

Postby Gracus36 » 14 May 2022 11:52

As I said all works fine with samsung video player.

I just try with mx player and all my video works fine.

But if I try to play these video with vlc, I have to set audio delay to -200ms if I want to have audio synced...

tguillem
Developer
Developer
Posts: 87
Joined: 04 May 2015 16:38
VLC version: ALL
Operating System: Linux/WIndows/Mac OS

Re: Vlc audio sync issue

Postby tguillem » 16 May 2022 09:25

Hello,
THe current output (audiotrack) has some isses to sync when the device has a long audio latency. This will be fixed in a future version of vlc-android, when using VLC 4.0.

Current status: https://code.videolan.org/videolan/vlc/-/issues/25717
https://code.videolan.org/videolan/vlc/ ... quests/264

Gracus36
Blank Cone
Blank Cone
Posts: 67
Joined: 13 May 2022 10:49

Re: Vlc audio sync issue

Postby Gracus36 » 16 May 2022 12:17

Thanks for your answer.

Just tried to set vlc to use opensl es instead of audiotrack but the issue is still there...

Or this setting does not work when using phone speakers...

tguillem
Developer
Developer
Posts: 87
Joined: 04 May 2015 16:38
VLC version: ALL
Operating System: Linux/WIndows/Mac OS

Re: Vlc audio sync issue

Postby tguillem » 16 May 2022 13:29

OpenSles has the same issue and is worse than audiotrack.

Currently working on aaudio and improving A/V lipsync when using BT.

Gracus36
Blank Cone
Blank Cone
Posts: 67
Joined: 13 May 2022 10:49

Re: Vlc audio sync issue

Postby Gracus36 » 16 May 2022 13:49

Ok
Hope the future fix when using BT will also work when not using BT.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 14 guests