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()
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}}}
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}}}