Capture Card Only Works When "Default" is Selected

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ORYLY
New Cone
New Cone
Posts: 6
Joined: 08 Feb 2012 09:49

Capture Card Only Works When "Default" is Selected

Postby ORYLY » 08 Feb 2012 10:04

The capture card works fine when I select "Default" in the menu or leave the command line MRL "parameter" :dshow-adev blank. I get the following console output as expected when it binds (is that the correct term?) the capture card:

Code: Select all

dshow debug: found device: AVerMedia AVerTV Audio Capture dshow debug: found device: IDT Audio1 dshow debug: asking for default device: AVerMedia AVerTV Audio Capture dshow debug: asked for AVerMedia AVerTV Audio Capture , binding to AVerMedia AVerTV Audio Capture
But when I manually select the capture card in the menu, the logs give an error in the binding step instead:

Code: Select all

dshow debug: found device: AVerMedia AVerTV Audio Capture dshow debug: found device: IDT Audio1 dshow debug: asking for device: AVerMedia AVerTV Audio Capture dshow debug: can't use device device: AVerMedia AVerTV Audio Capture, unsupported device type
Should I be setting anything in the advanced menu (or adding extra MRL "parameters") if I manually select the capture device? I'm guessing that setting "Default" does some magic autoconfiguration I'm not aware of.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Capture Card Only Works When "Default" is Selected

Postby VLC_help » 08 Feb 2012 17:25

I would guess that this is a whitespace issue,

Code: Select all

msg_Dbg( p_this, "asked for %s, binding to %s", p_devicename->c_str() , devname.c_str() ) ;
and since you get

Code: Select all

asked for AVerMedia AVerTV Audio Capture ,
(notice the space between Capture and ,)
I would guess that your device name has unneeded whitespace at the end.

ORYLY
New Cone
New Cone
Posts: 6
Joined: 08 Feb 2012 09:49

Re: Capture Card Only Works When "Default" is Selected

Postby ORYLY » 09 Feb 2012 00:46

Yep, that was it!

I'll go report the bug: the interface must be trimming whitespace from the device name when it generates the MRL.

EDIT: Oh, looks like it was already reported here https://trac.videolan.org/vlc/ticket/3220 but it was marked as a duplicate for some weird parsing issue at https://trac.videolan.org/vlc/ticket/1906. Should I just let open bug reports lie?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Capture Card Only Works When "Default" is Selected

Postby VLC_help » 09 Feb 2012 15:50

I think courmisch has marked it as duplicate correctly.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests