Here is my Sample
Connect & Play
RecordPrivate Sub Connect_Command_Click()
Dim opt() As Variant
Dim connect_string As String
connect_string = Connect_Text.Text
opt() = Array("--sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp3,ab=128,channels=2},--sout=#deinterlace-mode {discard,blend,mean,bob,linear,x}")
VLCPlugin1.addTarget connect_string, opt(), 4 + 8, -666
End Sub
Here is my questionPrivate Sub Record_Command_Click()
Dim opt() As Variant
Dim connect_string As String
connect_string = Connect_Text.Text
opt() = Array(":sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,url=C:\1.mpg}},--sout=#deinterlace-mode {discard,blend,mean,bob,linear,x}")
VLCPlugin1.addTarget connect_string, opt(), 4 + 8, -666
End Sub
When i press "Record" button to record video, the Active X will not to display video.
How can i solve this program with only one Active X?