Initial implementation of MultiFileRecorder

Generate a video from a sequence of images.
This commit is contained in:
Bruno Herbelin
2022-07-02 11:34:04 +02:00
parent f1e75d8593
commit cef7379c07
5 changed files with 543 additions and 1 deletions

View File

@@ -121,9 +121,15 @@ void MultiFile::open (const MultiFileSequence &sequence, uint framerate )
gstreamer_pipeline << sequence.max;
gstreamer_pipeline << " ! decodebin ! videoconvert";
// (private) open stream
// (private) open stream - asynchronous threaded process
Stream::open(gstreamer_pipeline.str(), sequence.width, sequence.height);
}
void MultiFile::execute_open()
{
Stream::execute_open();
// keep multifile source for dynamic properties change
src_ = gst_bin_get_by_name (GST_BIN (pipeline_), "src");
}