Hello,
I am using the VLC .net library in order to capture streams from camera and record them into files. I am using following code to open the capture device:
VlcMedia desc = Vlc.NewMedia(@"dshow://");
desc.AddOption(@":dshow-vdev=video device name");
desc.AddOption(@":dshow-video-input=0");
VlcPlayer.Load(desc);
& its working. Now I want to record the stream into file. For that I am using
desc.AddOption(@":sout=#transcode{vcodec=mp4v,vb=800,scale=1,channels=2,deinterlace}:standard{access=file,mux=ts,dst=C:\test.mpg}");
But this doesn't record any data.
Help will be very much appreciated.
Thank You.