Page 1 of 1

VLC taking ~45 seconds to start input from USB Capture Device, when audio is included

Posted: 29 Dec 2023 17:17
by ChrisFlynn
I have a USB Capture Device (https://www.lindy.co.uk/usb-c4/usb-conv ... ice-p10158), which shows up in VLC as "USB Video Device" and "Microphone (USB Audio Device)".

If I play video-only in VLC, everything is great.
If I play audio-only or audio+video in VLC, there is a ~45 second delay of the orange bar bouncing back and forth, before VLC finally presents the input.

This happens both through the UI, and also command line...

No sound, works instantly:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="USB Video Device" :dshow-adev=none :live-caching=0 --zoom=0.5
With sound, takes ~45 seconds:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="USB Video Device" :dshow-adev="Microphone (USB Audio Device)" :live-caching=0 --zoom=0.5 --verbose=2 --file-logging --logfile=vlc-log.txt


N.B. whilst I'm waiting, I have time to go into the Messages window in the UI. Whilst I'm waiting, that just shows:

Code: Select all

main debug: VLC media player - 3.0.20 Vetinari main debug: Copyright © 1996-2023 the VideoLAN team main debug: revision 3.0.20-0-g6f0d0ab126 main debug: configured with /builds/videolan/vlc/extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-shout' '--enable-goom' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-contrib=../contrib/x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' '--enable-qt' '--enable-skins2' '--enable-dvdread' '--enable-caca' 'host_alias=x86_64-w64-mingw32' 'CFLAGS= -D_WIN32_WINNT=0x0502 -DWINVER=0x502 -D__MSVCRT_VERSION__=0x700 ' 'CXXFLAGS= -D_WIN32_WINNT=0x0502 -DWINVER=0x502 -D__MSVCRT_VERSION__=0x700 ' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/pkgconfig:/usr/lib/x86_64-w64-mingw32/pkgconfig'

Re: VLC taking ~45 seconds to start input from USB Capture Device, when audio is included

Posted: 29 Dec 2023 17:18
by ChrisFlynn
I have a log, but not sure how to share it. It's too big for here, and pastebin says:
Pastebin’s SMART filters have detected potentially offensive or questionable content in your Paste.
The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning.
This Paste can only be published with the visibility set to "Private".
!

Re: VLC taking ~45 seconds to start input from USB Capture Device, when audio is included

Posted: 29 Dec 2023 18:20
by Lotesdelere

Re: VLC taking ~45 seconds to start input from USB Capture Device, when audio is included

Posted: 02 Jan 2024 12:40
by ChrisFlynn
I think this is now fixed... In Windows Settings I went to System > Sounds > Input, and in "2- USB audio CODEC" selected "Don't allow".