Page 1 of 1

VLC WebPlugin addTarget fails, VLC command-line works

Posted: 03 Oct 2009 08:27
by jnnonvlc
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

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

Posted: 03 Oct 2009 14:05
by VLC_help
VLC log should tell you if something is wrong in your parameters.