Reconfigure nvvideoconvert on the fly but pipeline freezing

Hello,

I use this docker image : nvcr.io/nvidia/deepstream:6.0-devel on RTX 3070 with this driver version ( 470.161.03 )

My pipeline is similar ( coding in c++ )

gst-launch-1.0 -v shmsrc socket-path = “/dev/shm/input” is-live=true ! “video/x-raw, format=NV12, width=(int)1280, height=(int)720, framerate=(fraction)60/1” ! queue !
nvvideoconvert src-crop = “784:168”:488"384" ! nvv4l2h264enc ! h264parse ! mpegtsmux alignment=7 ! rtpmp2tpay ! udpsink host=$HOST port=5000

I reconfigure the src-crop parameter of the nvvvideoconverter plugin at regular intervals, but my pipeline freezes. can we reconfigure this setting without putting the pipeline in the Paused state and then playing

The values ​​of the src-crop parameter come from a video tracking module

how to crop dynamically ?

  1. could you share your use case? why need to crop dynamically?
  2. to narrow down this issue, please simplify the pipeline to check, for example, gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nvvideoconvert src-crop=“0:0:300:300” ! ‘video/x-raw(memory:NVMM),format=I420’ ! nvv4l2h264enc ! filesink location=1.264

Hello,
I coded in C++ your pipeline, the video crop is reconfigured every 500 microseconds. I do not observe my freeze problem when saving the output file. My problem is not the videocrop…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.