gstreamer: how to shift the time of rendering of one stream taken from file

后端 未结 1 983
孤城傲影
孤城傲影 2021-01-14 05:44

I have two media files (say, \"file0\" and \"file1\") and I want to merge them into a single one with \"picture-in-picture\" effect - the content from \"file0\" to be disp

相关标签:
1条回答
  • 2021-01-14 06:00

    Finally the answer: it is possible by calling gst-pad-set-offset for particular sink pads of videomixer and audiomixer elements. So, in the example above, you would get sink_1 pads of video- and audio-mixers and specify the offset by calling 'gst-pad-set-offset'. Works like a charm.

    Special thanks to Sebastian Dröge who answered very similar question

    0 讨论(0)
提交回复
热议问题