Hi,
I have two MP4 files that I want to combine side-by-side using the compositor
element in GStreamer — one video on the left and the other on the right.
These two videos were recorded at different times, so I would like to delay the playback of one of them to visually align their content during the composition. That is, I want to shift the timing of one stream before it enters the compositor.
I’ve seen that identity ts-offset
can be used, but I’m not sure if it’s the best or correct way when working with file sources like MP4.
Eventually, I want to output the final composition as a single MP4 file using mp4mux
and filesink
.
Could you advise on the best approach or share a sample pipeline that handles this kind of delay and composition?
Thanks in advance!