Page 1 of 1

ActiveX + Delphi seem not to work as a Streaming Server !

Posted: 04 Feb 2006 00:06
by Siegmar Gieseler
I am trying to use ActiveX + Delphi to create a Video Streaming Server.
I would like to display the video inside a Delphi Form and send it to a UNICAST address.

The code below does not accept more than 1 parameter:

VLCPlugin1.addTarget(
// does not work !
//'F:\Cinema\mpg\vcdfastaction.mpeg --sout "#duplicate{dst=display,dst=std{access=udp,mux=ts,url=localhost:1234}}"',
// works !
'F:\Cinema\mpg\vcdfastaction.mpeg',
null,
VLCPlayListInsert,
0);
VLCPlugin1.play;

Im I doing any mistake in specifing the command ?

Thanks

Posted: 04 Feb 2006 10:41
by usbhell
You need to put the sout bit were you currently have null

in vb you'd do something like below, I think.....

Code: Select all

options() = Array(":sout=#duplicate{dst=display,dst=std access=udp,mux=ts,url=localhost:1234}}") VLCPlugin1.addTarget "'F:\Cinema\mpg\vcdfastaction.mpeg", options, VLCPlayListAppendAndGo, -666

Posted: 04 Feb 2006 17:09
by tonsofpcs
Options is an Array of Strings that accepts the same options as VLC's command line (or as much of them as possible)