How to segment seek in dynamic pipeline

Nicolas Dufresne nicolas at ndufresne.ca
Fri Aug 28 14:16:26 UTC 2020


Le jeudi 27 août 2020 à 08:14 -0500, xmufzy a écrit :
> If we can do 2 segment seek for the element
> 
> 
> pipeline change  :
> filesrc(backgroup.mp4) --> qtdemux --> h264dec --> queue --\
>                                                                                          
> --> mixer -->x264enc --> filesink
> filesrc(fga.mp4) --> qtdemux --> h264dec -->queue ---------/
> 
> if I need mix fga.mp4 3~8s, and backgroup.mp4 9~14s, I try to use 2
> gst_element_seek(SEGMENT)  for that, but failed

This is easier done with ges-launch-1.0 (from gst-editing-services).

ges-launch-1.0 +clip background.mp4 inpoint=9.0 duration=5.0 \
               +clip fga.mp4 inpoint=3.0 duration=5.0 \
               --smart-rendering --outputuri=file:///tmp/test.mp4

You can live preview the edit by removing the render options (last
line). 

> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list