Page 1 of 1

How to record stream using libVLC in Delphi

Posted: 29 Sep 2014 18:54
by woolfik
Hello,

I wrote application in Delphi 2009. I'm using libVLC to show stream from 2 web cameras. One of this camera has mjpg stream second one is based on rtsp protocol. Can some one tell my how can I save stream from this two cameras on my disc? When I use normaln VideoLan Media Player there is some options to save stream into file. How can I do it from Delphi code?

Re: How to record stream using libVLC in Delphi

Posted: 07 Oct 2014 22:39
by woolfik
The solution (using PasLibVLC component to Delphi) is below:

media.AddOption(':sout=#duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\t.mp4"}}');