I am trying to use the deepstream-test-app.c code with a CSI camera (using recommended CSI camera - Leopard Imaging). I have the raw pipeline working using gst-launch, but cannot figure out the right steps to achieve the same in the example code.
How would I implement the following pipeline in deepstream-test1-app.c example?
gst-launch-1.0 nvarguscamerasrc bufapi-version=1 ! 'video/x-raw(memory:NVMM),width=1280,height=720,format=NV12,framerate=30/1' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nvdsosd ! nvegltransform ! nveglglessink
I have tried and failed numerous times.