Can anyone knows how to create a time buffer or something like that? I want to save the video stream if the output switch is 1, then the video is recorded by the writer, but I would like to establish a minimum time of recording, for example 15 seconds.
Second question, how can the writer set to file was not overwritten, but the filename will be changed and saved as another file,
Thanks for your help!