Page 1 of 1

ActiveX streaming from Delphi

Posted: 09 Mar 2006 11:26
by Deran
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

Posted: 11 Mar 2006 18:53
by Hogi
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.

hmm

Posted: 15 Mar 2006 23:06
by derran
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!