Page 1 of 1

Record RTSP Stream from IP-Cam using vb.net and AXVLCPlugin

Posted: 02 Mar 2012 11:41
by BlackHawk87
Hello, i wrote a little programm to display and record a live stream from an IP-Camera.I use the Axvlcplugin.

My Code is:

Code: Select all

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim sCamIP1 As String = "rtsp://192.168.1.168:554/live1.sdp" Dim sopt() As String = {"--sout""#duplicate{dst=std{access=file,mux=avi,dst=""C:\\test.avi""}}"} AxVLCPlugin1.playlistClear() AxVLCPlugin1.addTarget(sCamIP1, sopt, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0) End Sub Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click AxVLCPlugin1.play() End Sub Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click AxVLCPlugin1.stop() End Sub
My problem is, that the recording didn't work. The stream works perfect. Has anyone an idea whats wrong in my Code?

Cheers.

Re: Record RTSP Stream from IP-Cam using vb.net and AXVLCPlu

Posted: 19 Mar 2012 06:57
by freesunshine
try :sout

Re: Record RTSP Stream from IP-Cam using vb.net and AXVLCPlu

Posted: 15 May 2012 10:02
by haxxan
I am facing a problem. I am able to stream the IP cam using the VLC player. But I am unable to apply these settings in the VB.net code.

My Settings are as follow:

Source : rtsp://192.168.0.201:554/video.mp4

Display Locally : True (Enabled)

Activate Transcoding : False (Disabled)

Can you please help me how to apply these settings ?

Re: Record RTSP Stream from IP-Cam using vb.net and AXVLCPlu

Posted: 05 Sep 2012 10:36
by chris66
Hello, I'm trying to do the same, in order to start and stop recording, but with http command, like: http://MyIPaddress/adminSettings.html?a ... rt&camID=1

Do you know if VLC web server supports that kind of http command? Or if there is another way to do that? My objective is to be able to record "on demand" the rstp stream of my ip cam.

Any answers welcome!

chris

Re: Record RTSP Stream from IP-Cam using vb.net and AXVLCPlu

Posted: 05 Sep 2012 16:51
by RSATom
web plugins ignore most of the options as not safe.