Trying to create file from multiple files

Michael Gruner michael.gruner at ridgerun.com
Thu Jun 16 04:07:24 UTC 2022


Maybe look at the input-selector element. You’ll need to build an application around it but will allow you to multiplex different inputs over time. You can switch the active sink pad from a buffer probe at the src so that it all happens automatically.

> On 15 Jun 2022, at 20:19, John McDermott via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
> 
> 
> Hi
> 
> I’m trying to make a command for creating a file from multiple H.264 files and the resulting file should contain a frame from each file in sequence. For instance, given N files, the resulting file should the sequence [VID1_frame1, VID2_frame1, … VIDN_frame1, VID1_frame2, VID2_frame2,… VIDN_frame2,… VIDN_frameM]. I believe it’s not something compositor can handle because it doesn’t seem to be able to provide a feed in sequence. I’m also hoping to use just one instance of videoconvert in the pipeline. Does anyone know how this can be achieved? Would I need to write a new type of queue?
> 
> Any advice appreciated.
> 
> John


More information about the gstreamer-devel mailing list