mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 03:39:57 +01:00
Initial implementation of MultiFileRecorder
Generate a video from a sequence of images.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user