How to record stream using libVLC in Delphi

This forum is about all development around libVLC.
woolfik
New Cone
New Cone
Posts: 6
Joined: 25 Sep 2014 20:49

How to record stream using libVLC in Delphi

Postby woolfik » 29 Sep 2014 18:54

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?

woolfik
New Cone
New Cone
Posts: 6
Joined: 25 Sep 2014 20:49

Re: How to record stream using libVLC in Delphi

Postby woolfik » 07 Oct 2014 22:39

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"}}');


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests