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

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Siegmar Gieseler

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

Postby Siegmar Gieseler » 04 Feb 2006 00:06

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

usbhell
Blank Cone
Blank Cone
Posts: 18
Joined: 13 Jan 2006 13:11

Postby usbhell » 04 Feb 2006 10:41

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

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 04 Feb 2006 17:09

Options is an Array of Strings that accepts the same options as VLC's command line (or as much of them as possible)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest