VLC WebPlugin addTarget fails, VLC command-line works

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.
jnnonvlc
New Cone
New Cone
Posts: 8
Joined: 01 Aug 2009 07:47

VLC WebPlugin addTarget fails, VLC command-line works

Postby jnnonvlc » 03 Oct 2009 08:27

Hi folks,

I've tried this in both VB6 and VB 2005.

Running Windows XP Pro SP with all updates current.

I'm trying to get the WebPlugin's addTarget to recognize a STB capture.

Putting this command-line in a shortcut works perfectly:

"vlc.exe" dshow:// --dshow-vdev="Motorola AV/C Tuner Device" --dshow-adev=""

Running any of the following in VB6 produces a blue screen, along with the affirming "dshow://" fading title at the bottom of the screen:

VLCPlugin1.addTarget "dshow://", Array(":dshow-vdev=""Motorola AV/C Tuner Device""", ":dshow-adev="""""), VLCPlayListInsert, 0
VLCPlugin1.play

VLCPlugin1.addTarget "dshow://", Array(":dshow-vdev=Motorola AV/C Tuner Device", ":dshow-adev="), VLCPlayListInsert, 0
VLCPlugin1.play

VLCPlugin1.addTarget "dshow://", Array(":dshow-vdev=""Motorola AV/C Tuner Device""", ":dshow-adev="""""), VLCPlayListInsert, -666
VLCPlugin1.play

VLCPlugin1.addTarget "dshow://", Array(":dshow-vdev=Motorola AV/C Tuner Device", ":dshow-adev="), VLCPlayListInsert, -666
VLCPlugin1.play

Running similar code through VS 2005 produces the same result.

Is this an Array problem? Wrong type? Plugin issue?

I've also experimented with ANSI byte strings, in case the Plugin is expecting something other than Unicode. Lock up, requiring reset.

Has anyone a VB example of addTarget as "dshow://" that works?

Thanks!

-Johnny

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

Re: VLC WebPlugin addTarget fails, VLC command-line works

Postby VLC_help » 03 Oct 2009 14:05

VLC log should tell you if something is wrong in your parameters.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot], masterchief844 and 39 guests