Page 1 of 1

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

Posted: 18 Jun 2020 10:05
by Zingaro2002
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.

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

Posted: 23 Jun 2020 09:37
by Zingaro2002
UP!

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

Posted: 23 Jun 2020 14:14
by Jean-Baptiste Kempf
Can you share all the logs?