record button behavior with libvlc

This forum is about all development around libVLC.
Zingaro2002
Blank Cone
Blank Cone
Posts: 47
Joined: 30 May 2006 09:58

record button behavior with libvlc

Postby Zingaro2002 » 07 Sep 2010 19:09

Hi all,
libvlc.dll is wonderful.

I'd like to replicate "VLC record button" behavior in my application: is there any function/procedure that calls something like "start record this stream to \path\to\filename.abc" and then "stop record this stream to \path\to\filename.abc"
(just like screenshot behavior!)

I mean: I know I can use command line transcode, but I don't want to stop live viewing (with a "close-changefilename-startAgain" script).
I just want to emulate VLC recod button behavior: while I am viewving I can start record, than stop record, and so on (without interruptions in viewing).

Thanks!!!

Rémi Denis-Courmont
Developer
Developer
Posts: 15143
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: record button behavior with libvlc

Postby Rémi Denis-Courmont » 08 Sep 2010 02:12

That would need some additions to LibVLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Zingaro2002
Blank Cone
Blank Cone
Posts: 47
Joined: 30 May 2006 09:58

Re: record button behavior with libvlc

Postby Zingaro2002 » 08 Sep 2010 10:39

well... I think it would be "enough" to have a function that dumps the opened stream (or the file being played) to a file on the disc with a startRecord-stopRecord behaviour (that's what record button does, right?).

I am thinking of something similar to libvlc_video_take_snapshot
http://www.videolan.org/developers/vlc/ ... 5c6942052e


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests