VLC activex component and VB.NET bug?

This forum is about all development around libVLC.
gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

VLC activex component and VB.NET bug?

Postby gripner » 25 Mar 2013 12:48

We are planing to use VLC in a product we develop.
At the moment the product is in development. I have started to write some VB.NET 2010 code that uses the VLC activex component.

My problem is this and it seems to be a bug in VLC that a lot of people asks about.

My code
Dim bob(1) As Object
bob(0) = ":dshow-vdev=""TW6802 PCI, Analog Capture (#02)"""
bob(1) = ":no-audio"

vlc_backcam.playlist.add("dshow://", "backcam", bob)

The problem is that the DEFAULT dshow:// stream is plays, not the ":dshow-vdev=""TW6802 PCI, Analog Capture (#02)"""

I have googled a lot and it seems like no one gets the dshow-vdev option to work….

vlc.exe dshow:// :dshow-vdev="TW6802 PCI, Analog Capture (#02)"
in the comandline works perfect.

Please help as soon as you can.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC activex component and VB.NET bug?

Postby Rémi Denis-Courmont » 25 Mar 2013 17:22

If it works in the CLI and not in the code, it almost surely means you got the syntax wrong. Your quotes look very suspicious indeed.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

Re: VLC activex component and VB.NET bug?

Postby gripner » 25 Mar 2013 21:59

the "extra" quotes are escape characters in VB
ALso i Have tried totaly without quotes
with same results. only default dshow device plays

EDIT:
Further more, there is alot of threads on these forums describing same problem i have, with no replies or solutions

gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

Re: VLC activex component and VB.NET bug?

Postby gripner » 27 Mar 2013 10:52

so?

rvs75
Blank Cone
Blank Cone
Posts: 38
Joined: 01 Jul 2010 11:48

Re: VLC activex component and VB.NET bug?

Postby rvs75 » 29 Mar 2013 14:18


gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

Re: VLC activex component and VB.NET bug?

Postby gripner » 31 Mar 2013 19:21

rvs75, thanks for the replies, unfortunatly not helpfull. The "double" quotes are correct.
and the space char is not incorrect.

in the documentation i have read all command line options are not supportet when useing the Component for vb.net
Can not find wich are supportet and wich are not tho :(

gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

Re: VLC activex component and VB.NET bug?

Postby gripner » 31 Mar 2013 22:10

From the wiki

addTarget method Adds a uri to the current playlist or replaces the current playlist with the uri. controlname.addTarget(uri as String, options, mode as VLCPlaylistMode, Position as Long)
toggleMute method Toggles between the muted/unmuted state of the embedded player. controlname.toggleMute
fullscreen method Toggles between fullscreen and non-fullscreen modes. controlname.fullscreen

Options

The addTarget method accepts most of the command line options; including, but not limited to, the following :
:audio-track=index
:vout-filter=output-filter (deinterlace for example)
:deinterlace-mode=mode (linear for example)

Could development team PLEASE answer with a list of wich command line options works?

gripner
New Cone
New Cone
Posts: 6
Joined: 25 Mar 2013 12:09

Re: VLC activex component and VB.NET bug?

Postby gripner » 05 Apr 2013 21:54

If anyone else still are woundering, i recieved a response from the devs, dshow-vdev is not yet supported


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 20 guests