i develop a media center application and i'm trying to record rtsp stream with vlc activex V1 (version 0.8.6a)
Here is my code:
Code: Select all
Dim opt(1) As String
opt(0) = ":sout=#transcode{vcodec=mp2v,vb=2000,scale=1,acodec=mpga,ab=384,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst=""c:\titi.mpg""}}"
Me.AxVLCPlugin1.playlistClear()
Me.AxVLCPlugin1.addTarget("rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=201", opt, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0)
Me.AxVLCPlugin1.play()
Options string comes from vlc, if i tried to record directly from vlc, it works.
If i remove options argument it works also...
In addition, vlc doesnt work very well on my computer: video size fits to whole screen width whatever be the video height...
Please
Thanks in advance
Olixelle