Audio drops when "inserting zeroes", playback too early (down-sampling), too late (up-sampling)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Zingaro2002
Blank Cone
Blank Cone
Posts: 47
Joined: 30 May 2006 09:58

Audio drops when "inserting zeroes", playback too early (down-sampling), too late (up-sampling)

Postby Zingaro2002 » 18 Jun 2020 10:05

VLC (64 bit v. 3.0.8 ) is receiving an rtp mp3 stream coming from ffmpeg on a linux device: this device is connected to my LAN with a PPTP tunnel over LTE connection.

In VLC I'm listening several audio drops every n seconds (variable) with following messages (over and over):
main warning: playback too early (-101647): down-sampling
main warning: playback too late (60013): up-sampling
main debug: resampling stopped (drift: 39956 us)
main warning: playback too early (-83179): down-sampling
main warning: playback too late (91173): up-sampling
main debug: resampling stopped (drift: 89271 us)
main warning: playback way too early (-186953): playing silence
main debug: inserting 35894 zeroes
main warning: playback way too early (-206509): playing silence
main debug: inserting 39649 zeroes
main warning: playback way too late (325625): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 216084 zeroes
mmdevice debug: state changed: 1
main warning: playback way too late (194081): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 208211 zeroes
mmdevice debug: state changed: 1
main warning: playback too early (-40898): down-sampling
And so on...

In particular: audio drops correspond to the message
main debug: inserting ... zeroes
From time to time audio drops seem to disappear, and in debug I read something like this:
main debug: resampling stopped (drift: -24339 us)
But then again it starts randomly.

I think it's not a connection problem, since I have no lost packets during audio drops.

How can I avoid this?

IMPORTANT: If I listen the same stream with PotPlayer (on the same Win10 box) I have much less issues or nothing at all.

Thanks for any hint.


Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Audio drops when "inserting zeroes", playback too early (down-sampling), too late (up-sampling)

Postby Jean-Baptiste Kempf » 23 Jun 2020 14:14

Can you share all the logs?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests