Please help me with this code in vb

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
navafeldman
New Cone
New Cone
Posts: 5
Joined: 24 Apr 2010 06:27

Please help me with this code in vb

Postby navafeldman » 28 Apr 2010 00:14

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

Joneswilliamsc
New Cone
New Cone
Posts: 4
Joined: 28 Apr 2010 06:49

Re: Please help me with this code in vb

Postby Joneswilliamsc » 29 Apr 2010 11:20

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.

navafeldman
New Cone
New Cone
Posts: 5
Joined: 24 Apr 2010 06:27

Re: Please help me with this code in vb

Postby navafeldman » 29 Apr 2010 15:46

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests