Page 1 of 1

Allow Dshow input to have video and audio from the same device (Sound stutters)

Posted: 11 Aug 2020 11:07
by dmitriy88
Hello.
This ticket (https://trac.videolan.org/vlc/ticket/4500) was fixed, but i have troubles (Sound stutters) with audio.
Win 10 x64, VLC 3.0.11 x64.

Code: Select all

main warning: playback way too late (180722): flushing buffers main warning: playback too late (60699): up-sampling main warning: timing screwed (drift: 121632 us): stopping resampling main warning: playback too late (123639): up-sampling main warning: playback way too late (181360): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14356 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60622): up-sampling main warning: timing screwed (drift: 122317 us): stopping resampling main warning: playback too late (124301): up-sampling main warning: playback way too late (180109): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14358 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61317): up-sampling main warning: timing screwed (drift: 122674 us): stopping resampling main warning: playback too late (125191): up-sampling main warning: playback way too late (180204): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14356 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60915): up-sampling main warning: timing screwed (drift: 123023 us): stopping resampling main warning: playback too late (124446): up-sampling main warning: playback way too late (180343): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14360 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61750): up-sampling main warning: timing screwed (drift: 123661 us): stopping resampling main warning: playback too late (125526): up-sampling main warning: playback way too late (181553): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14360 zeroes mmdevice debug: state changed: 1 main warning: playback too late (62419): up-sampling main warning: timing screwed (drift: 125131 us): stopping resampling main warning: playback too late (126976): up-sampling main warning: playback way too late (181285): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14316 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60647): up-sampling main warning: timing screwed (drift: 121887 us): stopping resampling main warning: playback too late (123711): up-sampling main warning: playback way too late (181209): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14323 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61194): up-sampling main warning: timing screwed (drift: 124062 us): stopping resampling main warning: playback too late (125711): up-sampling main warning: playback way too late (180957): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14368 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60782): up-sampling main warning: timing screwed (drift: 122710 us): stopping resampling main warning: playback too late (123756): up-sampling main warning: playback way too late (181378): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14371 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60285): up-sampling main warning: timing screwed (drift: 121724 us): stopping resampling main warning: playback too late (123451): up-sampling main warning: playback way too late (180476): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14313 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61966): up-sampling main warning: timing screwed (drift: 124917 us): stopping resampling main warning: playback too late (126535): up-sampling main warning: playback way too late (180510): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14371 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60400): up-sampling main warning: timing screwed (drift: 121562 us): stopping resampling main warning: playback too late (123659): up-sampling main warning: playback way too late (180677): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14315 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61834): up-sampling main warning: timing screwed (drift: 124813 us): stopping resampling main warning: playback too late (126923): up-sampling main warning: playback way too late (180057): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14374 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60161): up-sampling main warning: timing screwed (drift: 121082 us): stopping resampling main warning: playback too late (122875): up-sampling main warning: playback way too late (180653): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14376 zeroes mmdevice debug: state changed: 1 main warning: playback too late (61635): up-sampling main warning: timing screwed (drift: 125176 us): stopping resampling main warning: playback too late (127552): up-sampling main warning: playback way too late (180856): flushing buffers mmdevice debug: state changed: 0 wasapi debug: reset main debug: inserting 14384 zeroes mmdevice debug: state changed: 1 main warning: playback too late (60739): up-sampling main warning: timing screwed (drift: 121864 us): stopping resampling main warning: playback too late (123543): up-sampling
Image

Re: Allow Dshow input to have video and audio from the same device (Sound stutters)

Posted: 17 Aug 2020 15:23
by dmitriy88
Up

Re: Allow Dshow input to have video and audio from the same device (Sound stutters)

Posted: 09 Sep 2020 09:18
by dmitriy88
Up

Re: Allow Dshow input to have video and audio from the same device (Sound stutters)

Posted: 10 Sep 2020 05:49
by ninbura
I actually fixed this issue the other day, you need to manually set the samplerate and bitspersample, see my post here:
https://forum.videolan.org/viewtopic.php?f=14&t=154837

To further clarify you need to check the "show more options" box in the bottom left and set the options there:
Image

Re: Allow Dshow input to have video and audio from the same device (Sound stutters)

Posted: 10 Sep 2020 09:01
by dmitriy88
Nimble, thank you a lot! I was trying samplerate 44100, but dont'work. With 48000 work fine.