trying to use commandline options with vlc activex

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
gezzuzz
New Cone
New Cone
Posts: 3
Joined: 14 Aug 2013 16:13

trying to use commandline options with vlc activex

Postby gezzuzz » 14 Aug 2013 16:48

Ok im trying view and record a rtsp steam using the activex plugin with vb.net.

First of I know the activex plugin cant record so Im looking for away around it

I can record using command line

Code: Select all

recorder = New Process() recorder.StartInfo.FileName = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" recorder.StartInfo.Arguments = "-vvv rtsp://admin:admin@192.168.5.222/ --sout file/ts:""" & myfileName & """ -Idummy --dummy-quiet" recorder.Start()
which works but then I need 2 streams from the camera one to record one to view.. since im connecting to the camera over a 1000 ft vdsl line this is not good. I don't want to use double bandwidth.. video is 1080p

my new approach is rebroadcast the stream then I can watch and record the new steam
if I use this commandline it creates the new stream for me

Code: Select all

vlc -vvv rtsp://admin:admin@192.168.5.222/ :sout=#duplicate{dst={rtp{sdp=rtsp://:8554/live.ts}}}
only problem here is latency.. its going through 2 buffers the latency is pretty bad.. 2-3 seconds..

what I was hoping, which I think will not work, was to use the activex control to view the main steam then rebroadcast it so I can record the rebroadcasted stream..
in command line I can use this command to view the main stream and rebroadcast. I cant get this to work with the options in the vlc activex. Is what im trying to do impossible?
I have never found any documentation on what commandlines will work with the activex control and what will not

Code: Select all

vlc -vvv rtsp://admin:admin@192.168.5.222/ :sout=#duplicate{dst=display,dst={rtp{sdp=rtsp://:8554/live.ts}}}

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 17 guests