Hi,
When I use nvstreammux and nvinfer for inference, the inference result is input to nvcompositor, and the output of nvcompositor can only be received by nvoverlaysink, and it cannot be received correctly using other methods [such as xvimagesink]
The correct method:
And using xvimagesink received nvcompositor output:
replace the ! nvoverlaysink use:
! ‘video/x-raw(memory:NVMM),format=RGBA’
! nvvidconv
! videoconvert
! xvimagesink
the error is that:
WARN basetransform gstbasetransform.c:1355:gst_base_transform_setcaps: transform could not transform video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)RGBA, batch-size=(int)1, num-surfaces-per-frame=(int)1 in anything we support
0:00:06.388940184 7893 0x557d3f3de0 WARN nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop: error: Internal data stream error.
0:00:06.388972984 7893 0x557d3f3de0 WARN nvinfer gstnvinfer.cpp:1984:gst_nvinfer_output_loop: error: streaming stopped, reason not-negotiated (-4).
Does anyone know why?
thanks.