I am trying to run objectdetector_YOLO through deepstream-5.0 SDK.The imput camera supports video YV12 and NV12 format (it is a 3G-SDI camera). But it is not running successfully. 3G-SDI camera is working sucessfully as validated by this command
gst-launch-1.0 v4l2src io-mode=2 device=/dev/video0 ! video/x-raw,width=1920,height=1080,format=YV12 ! xvimagesink sync=false&
Do we need to change anything in utils/camera/gstCamera.cpp file to support YV12 format ? I am able to run objectdetector_YOLO with USB camera (/dev/video2) which supports UYVY format.