Page 1 of 1

Sound does not sync with video.

Posted: 09 Apr 2018 22:58
by Kite
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?

Re: Sound does not sync with video.

Posted: 10 Apr 2018 21:07
by RĂ©mi Denis-Courmont
This is either a bug in the source stream, or in the player. Your forced options look counter-productive though.

Re: Sound does not sync with video.

Posted: 19 Apr 2018 13:04
by Kite
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.