How can I get a list with the names of the video devices?

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.
mflopez
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2009 14:49

How can I get a list with the names of the video devices?

Postby mflopez » 11 Feb 2009 17:59

.
From VLC GUI I can see and choose the available DirectShow video devices connected to the system.

But I use VLC from command-line and I need the name of those video devices for my scripts.

How can I get them?

Is there any VLC lib function or command-line option for it?

Thank you in advance.
.

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

Re: How can I get a list with the names of the video devices?

Postby VLC_help » 12 Feb 2009 16:01

AFAIK there isn't any command-line switch that would show the devices.

mflopez
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2009 14:49

Re: How can I get a list with the names of the video devices?

Postby mflopez » 13 Feb 2009 21:43

And any lib function?

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

Re: How can I get a list with the names of the video devices?

Postby VLC_help » 14 Feb 2009 14:48

QT4 interface uses following code

Code: Select all

module_config_t *p_config = config_FindConfig( VLC_OBJECT(p_intf), "dshow-vdev" ); vdevDshowW = new StringListConfigControl( VLC_OBJECT(p_intf), p_config, this, false, dshowDevLayout, line );


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests