Page 1 of 1

Audio lag after video pause

Posted: 20 Oct 2023 19:23
by treelove
VLC 3.0.19 Windows 11
Whenever I pause a video and then resume, the video starts right up but there is a brief delay before the audio kicks in, creating a gap of lost information. At first I thought it may be a problem with my audio driver, but then I tried playing the same videos with other players (i.e., Windows Media Player, Windows Movies and TV). To my surprise, the problem does not appear – it is only on VLC that the problem appears.

Re: Audio lag after video pause

Posted: 21 Oct 2023 14:20
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

Also upload a short sample of your original problematic file to WeTransfer.com or Disroot.org and then post the link to the file here.
https://wetransfer.com
https://upload.disroot.org

Re: Audio lag after video pause

Posted: 22 Oct 2023 06:01
by treelove
main debug: auto hiding mouse cursor
main debug: toggling pause
main debug: toggling pause
mmdevice debug: state changed: 1
main warning: playback way too late (340964): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 41427 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (132979): up-sampling

direct3d11 debug: Detected size change 1706x1280
main debug: picture might be displayed late (missing 8 ms)
main debug: auto hiding mouse cursor
main debug: toggling resume
main debug: toggling resume
mmdevice debug: state changed: 0
main debug: toggling pause
main debug: toggling pause
mmdevice debug: state changed: 1
main debug: picture might be displayed late (missing 20 ms)
main debug: resampling stopped (drift: 30256 us)
main debug: toggling resume

main debug: toggling pause
main debug: picture might be displayed late (missing 5 ms)
mmdevice debug: state changed: 1
main warning: playback way too late (364297): flushing buffers
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: inserting 41022 zeroes
mmdevice debug: state changed: 1
main warning: playback too late (115991): up-sampling
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main warning: playback too early (-41474): down-sampling
main debug: resampling stopped (drift: -33262 us)
main warning: playback too early (-43272): down-sampling
main debug: resampling stopped (drift: 1483 us)

Re: Audio lag after video pause

Posted: 23 Oct 2023 11:46
by Lotesdelere
Please read my post again, carefully.
We need the FULL log, from the very beginning to the very end, AND a sample file.

Re: Audio lag after video pause

Posted: 01 Feb 2024 10:36
by jack2022
I had the same problem.pay attention to this log "inserting 41022 zeroes",which cause no sound.