How to use the nvvideoconvert plugin to scale the video?

• Jetson Xavier NX
• DeepStream 5.0.1
• JetPack 4.5
• CUDA 10.2.89
• TensorRT 7.1.3.0
• Issue Type( questions, new requirements, bugs) Question

pipeline: nvstreammux–>queue–>tee–>nvinfer–>nvtracker–>nvvideoconvert–>nvdsosd–>nvv4l2h264enc–>appsink

nvstreammux resolution is 1920x1080,I want to scale to 640x360 between nvtracker and nvdsosd.But i didn’t find a usable plugin.

The above answer mentioned that nvvideoconvert can be used for scaling, but I did not find a way to use scaling. Can you help me? If there are other plugins that can scale the video, please let me know. Thanks.

Hi,
You can set the caps to do scaling like:

... ! nvtracker ! nvvideoconvert ! 'video/x-raw(memory:NVMM),width=640,height=360' ! nvdsosd ! ...

Hi,
Thanks for your suggestion, now my problem is solved.

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