This command line works fine
vlc -vvv --ttl 12 --ts-es-id-pid --programs=3301 dvb-t://frequency=490000000 :sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,
height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}:std{access=mmsh,mux=asf
h,dst=192.168.2.4:1234/stream.asf}
No i want to do the same using axvlcplugin with VS2008
I added in the Form an axvlcplugin object
and then i tried this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
Dim VLC_Parameter As String = "-vvv --ttl 12 --ts-es-id-pid --programs=3301 dvb-t://frequency=490000000 :sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}:std{access=mmsh,mux=asfh,dst=192.168.2.4:1234/stream.asf}"
AxVLCPlugin1.playlistClear()
AxVLCPlugin1.addTarget("mms://192.168.2.4:1234/stream.asf", VLC_Parameter, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
AxVLCPlugin1.play()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
End Sub
But don't work, somebody could give me some tips? Thank You