Page 1 of 1

[SOLVED] Stuttering and pitch-shifted audio on dshow capture card input

Posted: 08 Sep 2020 14:19
by ninbura
Hey there,

I'm attempting to open a capture card in VLC player so that I can stream the VLC application window to Discord, as a way to add pseudo capture card support to Discord Go Live. The video comes through clean and looks great, but for whatever reason the audio is stuttering and pitch shifted down. However, when I open the same capture device in OBS on the same PC the audio sounds perfectly fine. Scrubbed through VLC's settings and I couldn't find anything that seemed relevant to fixing the issue, thinking I may need to increase a buffer value somewhere or something.

Only settings I'm currently messing with:
Image

Thanks for any help.

Re: Stuttering and pitch-shifted audio on dshow capture card input

Posted: 08 Sep 2020 18:02
by ninbura
Some info I should have included in the original post:

VLC version - 3.0.8

Full log file - https://drive.google.com/file/d/1vqCLwf ... sp=sharing

I assume the problem has something to do with these log lines:

Code: Select all

main warning: playback too late (92401): up-sampling main debug: auto hiding mouse cursor main warning: playback way too late (183171): flushing buffers mmdevice debug: state changed: 0

Re: Stuttering and pitch-shifted audio on dshow capture card input

Posted: 09 Sep 2020 01:26
by ninbura
I was seemingly able to fix this by manually setting the samplerate and bitspersamle via the advanced options button and or via VLC Command Line:

Code: Select all

:dshow-audio-samplerate=48000 :dshow-audio-bitspersample=16