ActiveX streaming from Delphi

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

ActiveX streaming from Delphi

Postby Deran » 09 Mar 2006 11:26

Guys,

i have managed to open and play video from my delphi app using vlc activex, but i don't know how to stream that file. i've tried:

FileToStream:='c:\file.avi :sout=#duplicate{dst=display,dst=std{access=http,mux=ts,url=:1234}}"

vlcplay.addtarget(FileToStream,null, VLCPlayListInsert, 0);

vlcplay.play;

this does not work, of course. if i understood correctly, second parameter of addtarget should be options, but i don't know how to make it work. tnx for help

Hogi
New Cone
New Cone
Posts: 4
Joined: 02 Mar 2006 13:28

Postby Hogi » 11 Mar 2006 18:53

Sorry for delayed reply. Pleas have another look at http://wiki.videolan.org/index.php/ActiveX/Delphi Point 4, this should make things much easier. For any further questions, write here again.

derran

hmm

Postby derran » 15 Mar 2006 23:06

Thank you for your effort, but I think you didn't understood me correctly, or maybe I was not clear enough.

I have managed to capture stream in my Delphi app, using VLC ActiveX control, that was not problem at all.

Now, what I want to do next is to make application that will do following: user will select file, my Delphi app will start streaming it. That is where I have stucked!

As far as I understand, problem is in null:
addTarget('C:\video.mpg', null, VLCPlayListInsert, 0);

If I understood correctly, instead of null I should "send" array of strings with streaming options. But I don't know how!


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 37 guests