Page 1 of 1

Please help me with this code in vb

Posted: 28 Apr 2010 00:14
by navafeldman
I have the following code in VB6, I can see the video, but i can't stream it, does any one please help me????

Code: Select all

Private Sub Form_Load() Dim opt() As Variant opt() = Array(":sout=#duplicate{dst=display,dst=" & Chr(34) & "standard{mux=ts,dst=239.255.12.43,access=udp}" & Chr(34) & "}", ":ttl=12") 'VLCPlugin1.addTarget "C:\Alizee\isla.mpg", ":ttl=12", VLCPlayListInsert, -666 'VLCPlugin1.MRL = "C:\Alizee\isla.mpg :sout=#duplicate{dst=display,dst=" & Chr(34) & "standard{mux=ts,dst=239.255.12.43,access=udp}" & Chr(34) & "}" VLCPlugin1.addTarget "C:\Alizee\isla.mpg", Null, VLCPlayListInsert, -666 VLCPlugin1.play End Sub

Thank you

Re: Please help me with this code in vb

Posted: 29 Apr 2010 11:20
by Joneswilliamsc
Well while you are going to stream than what message or error you can see. And after seeing your code I think all the codes are right but its your path problem from where you capture video or it may be your video format problem.

Re: Please help me with this code in vb

Posted: 29 Apr 2010 15:46
by navafeldman
There is no error message, actually i can see the file in the player (localy) but there is no stream. By format you mean i can't straeam mpg? or do i have to transcode it to another format?

Thank you for the help.