This needs to be set through the capsfilter plugin.
You can refer to our source code deepstream_opencv_test.c in the sources\apps\sample_apps\deepstream-opencv-test\deepstream_opencv_test.c.
Yes. It looks fine just from the location of the plugin. But the pipeline is not at PLAYING state when you dump the graph. So there is no confirmation that you have set the format correctly.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks