[vlc-devel] libvlc stuttering issue on android

Thomas Guillem thomas at gllm.fr
Fri Apr 19 07:22:00 CEST 2019

Hello Nick, 

This issue should be fixed in VLC 4.0 since we switched to the new output clock (no more audio ressampling or silence to adjust the av sync delay).

Unfortunately, there is not vlc-android build with VLC 4.0 yet. You could build one but there are some build issues. 

On Fri, Apr 19, 2019, at 07:16, Nikolay Podonin wrote:
> Hello, folks!
> I am developing an application for Android-TV, using libvlc, and I have a problem I couldn't solve myself nor find the solution anywhere on the web.
> When playback is starting, the following always happens: for a fleeting second playback starts - both the sound and the first frame of video are being reproduced but then playback is suddenly terminated (the image and sound are frozen for a few seconds). Then playback proceeds in a normal way. This issue affects the performance in a very unpleasant way: for a user, switching between TV channels it looks like constant stammers.
> As for everything else, libvlc is the most convenient tool I know, and I really do not want to give up on it. Maybe there is an obvious solution I couldn't find, so I would be very grateful if you help me with any instructions that may work for this issue.
> Approximately at the moment of stuttering, the following is written in the logs:
> W/VLC: [94a7c9b0/389c] libvlc audio output: playback way too early (-719930): playing silence
> D/VLC: [94a7c9b0/389c] libvlc audio output: inserting 31748 zeroes
> Best regards, Nick.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190419/2af0543a/attachment-0001.html>

More information about the vlc-devel mailing list