Sound does not sync with video.

This forum is about all development around libVLC.
Kite
New Cone
New Cone
Posts: 3
Joined: 06 Apr 2018 01:30

Sound does not sync with video.

Postby Kite » 09 Apr 2018 22:58

I am configuring libvlc on my Android TV app to watch stream with http. I put the following options:
options.add("--audio-time-stretch");
options.add("--access=http");
options.add("--demux=ts");
options.add("--packetizer=h264");

After 30 minutes watching you there is a delay in the audio, and it increases with time.
I tried using network-caching and file-caching, but I did not succeed.
Is there any way to sync audio with video? Is this a bug?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Sound does not sync with video.

Postby Rémi Denis-Courmont » 10 Apr 2018 21:07

This is either a bug in the source stream, or in the player. Your forced options look counter-productive though.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Kite
New Cone
New Cone
Posts: 3
Joined: 06 Apr 2018 01:30

Re: Sound does not sync with video.

Postby Kite » 19 Apr 2018 13:04

I tried to test without the options, but I did not succeed.
Using ExoPlayer worked correctly, so I do not think it's a problem at the source of the stream.
I think it's a bug in vlc.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests