Please provide complete information as applicable to your setup.
• Hardware Platform: Jetson AGX Xavier.
• DeepStream Version: 5.1.
Hello, I have created an app based on the code of deepstream reference app and the gst-dsexample plugin to create my custom plugin. My pipeline is as follows:
video source (resolution 1920x1080) → nvstreammux (scale to 1024x576) → nvinfer0 (pgie-detector) → nvvideoconvert (crop bottom 1024x288) → nvinfer1 (pgie-custom network) → custom_plugin (post process output of the two nvinfer) → nvdsosd → filesink
The issue I am facing is that using nvvideoconvert
for cropping results in a segmentation fault (no more information is provided in the console). What I have noticed myself is that:
- by disabling
nvvideoconvert
, i.e, the secondnvinfer
operates on the full frame, the pipeline runs fine. - by enabling
nvvideoconvert
but disabling saving to file also runs.
Is it because thefilesink
expects the resolution defined from thenvstreammux
? In that case could I pad somehow the cropped frame with black borders to restore resolution or is there another way to workaround this issue?
One solution is to crop the video before the nvstreammux
, which works, but I would rather that the first nvinfer
operates on the uncropped frame.
Kindly be as detailed as possible since I am new to gstreamer. Thank you in advance!