Automatically Record Video every 5 seconds from Streaming Video using RTSP IP Camera C#
Posted: 08 Oct 2018 06:01
Hi everyone!
Could somebody help me, please??
I want to automatically record my video every 5 seconds when video is streaming, but I don't know how do that, because there are no references on the website.
For library is using AXVLC.dll & AxAXVLC.dll
this is the source code:
I hope anybody could help for this issue.
Thank you
Could somebody help me, please??
I want to automatically record my video every 5 seconds when video is streaming, but I don't know how do that, because there are no references on the website.
For library is using AXVLC.dll & AxAXVLC.dll
this is the source code:
Code: Select all
Process process = new Process();
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.StartInfo.FileName = "C://Program Files (x86)//Videolan//VLC//VLC.exe";
process.StartInfo.Arguments = "\"rtsp://192.168.1.254/xxxx.mov\" --qt-start-minimized --sout=#transcode{vcodec=theo,vb=800,acodec=flac,ab=128,channels=2,samplerate=44100}:file{dst=E:\\123.ogg,no-overwrite}";
private void btnPlay_Click(object sender, EventArgs e)
{
axVLCPlugin21.playlist.add("rtsp://192.168.1.254/xxxx.mov", null, null);
axVLCPlugin21.playlist.play();
process.Start();
}
I hope anybody could help for this issue.
Thank you