How to segment seek in dynamic pipeline

xmufzy xmufzy at foxmail.com
Mon Aug 31 01:57:38 UTC 2020


Thank you , I known it's easier with ges, but I don't known how to change the
encoder to nvenc, and hown can I export the data from ges to app sink, or
import data from appsrc.

Nicolas Dufresne-5 wrote
> 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 .freedesktop

>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list