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

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
BlackHawk87
New Cone
New Cone
Posts: 2
Joined: 02 Mar 2012 11:31

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

Postby BlackHawk87 » 02 Mar 2012 11:41

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.

freesunshine
Blank Cone
Blank Cone
Posts: 32
Joined: 18 Mar 2012 13:37

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

Postby freesunshine » 19 Mar 2012 06:57

try :sout

haxxan
New Cone
New Cone
Posts: 1
Joined: 15 May 2012 09:55

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

Postby haxxan » 15 May 2012 10:02

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 ?

chris66
New Cone
New Cone
Posts: 3
Joined: 05 Sep 2012 09:24

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

Postby chris66 » 05 Sep 2012 10:36

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

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

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

Postby RSATom » 05 Sep 2012 16:51

web plugins ignore most of the options as not safe.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests