d3d11screencapturesrc: how i can add delay to the video? (attention of Seungha Yang)

vinod kesti vinodkesti at yahoo.com
Tue Mar 7 21:05:43 UTC 2023


Adding  identity element in video branch with required ts-offset may help you here.https://gstreamer.freedesktop.org/documentation/coreelements/identity.html


Sent from Yahoo Mail. Get the app 

    On Saturday, 25 February, 2023 at 11:40:06 am GMT-6, Maurizio via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:  
 
 I’m capturing a win32 form and adding audio from stdin and saving into an mkv file.

My pipeline Is this:

gst-launch-1.0.exe -e d3d11screencapturesrc capture-api=1 window-handle=1116712 crop-x=3 crop-width=1598 crop-y=3 crop-height=898 ! queue leaky=1 ! clockoverlay halignment=2 valignment=4 time-format="%e %b %Y %H:%M:%S" auto-resize=false font-desc="DS-Digital, 28" ! videoconvertscale ! video/x-raw,width=854,height=480 ! mfh264enc bitrate=1024 rc-mode=0 ! h264parse ! matroskamux name=mux streamable=true ! queue leaky=1 ! filesink location="D:\\90Giorni\\2023-02-25_0000.mkv" fdsrc ! rawaudioparse format=pcm pcm-format=s16le sample-rate=44100 num-channels=2 ! audioresample ! audioconvert ! opusenc bitrate=128000 ! opusparse ! mux.

Everything works like a charm but for some reason I need to add a little delay to the video (up to 1 second). I tried to use the queue min-threshold-time and min-threshold-bytes but no lucv, nothing change.

How I can add delay to the video in the pipeline using gst-launch-1.0.exe on windows?

Thank you
Maurizio



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230307/a537a2d0/attachment.htm>


More information about the gstreamer-devel mailing list