Inserting empty interval into video

This forum is about all development around libVLC.
Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Inserting empty interval into video

Postby Idsa » 25 Nov 2009 07:39

I am writing video from camera to file. But there is a requirement to stop recording for some interval. There are two possible solutions: to create new file after each break or to insert some empty interval to output file. According to the logic of my application, the second solution looks better... but is there such a possibility in codecs/containers?

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

Re: Inserting empty interval into video

Postby Rémi Denis-Courmont » 25 Nov 2009 18:23

Virtual input item "vlc://pause:%f" does nothing for a duration of %f seconds.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Inserting empty interval into video

Postby Idsa » 26 Nov 2009 07:07

But how can it be used in my case? I need this %f seconds to write, for example, black screen to the file.

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Inserting empty interval into video

Postby Idsa » 26 Nov 2009 13:45

As I found out I need a variable frame rate video. I need to add a frame and set it's duration. Can it be implemented using VLC?

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Inserting empty interval into video

Postby Idsa » 27 Nov 2009 09:31

I have reformulated my requirements according to this feature and made separate post: viewtopic.php?f=32&t=68456


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 59 guests