Page 1 of 1

A VLC question in BCB :solve

Posted: 10 Sep 2007 03:13
by bobbook
Sorry.
The reason that BCB with VLC can't play video is my BCB's setting is wrong.
Now the same code in another PC is working.

Here is my code.

Code: Select all

void __fastcall TForm1::FormCreate(TObject *Sender) { Variant V(":sout=#duplicate{dst=display}"); char *connect_string; connect_string = "C:\\test.AVI"; VLCPlugin1->addTarget(WideString(connect_string), V, 12 , -666); VLCPlugin1->play(); }
Now I can test VLC as a stream server and it is a good thing to me.
Thank for others help.