Hello,
I’m trying to use tracker algorithms of OpenCV which is coming from UDP port. Following pipeline is working good on two different PC and Raspberry Pi 4 but I can’t open it on Jetson Nano.
Unfortunately it doesn’t work. The command that you advised gives this output continuously:
Additional debug info:
gstbasetransform.c(1415): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter2:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter2: not negotiated
But also there is problem with this command, because it is just opening without border and windows. I am not able click anything. When I run command. I just switched with Alt+Tab shortcut and closed command from terminal without seeing it. You can see on the screenshot.
Also yeah gstreamer work with command but it’s strange. I don’t get why Jetson Nano switch blocking mode when it starts. I think it’s related to strange start.
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Both command works without any problem. But gstreamer in opencv needs “appsink” so I changed code to:
I think problem was related to decoder option. “avdec_h264” option works while nvv4l2decoder doesn’t work.
But there is a problem with this pipeline, it makes too lag. Udp video has very latency while other functions of opencv works without delay. Delay is increasing time by time. I think problem is between “sink” and “decoder”. At least now I can receive video. I’m working to resolve this problem.
Thanks for helping @DaneLLL :)
After resolve this problem I’ll share guide about integration gazebo sim and jetson nano on github.
EDIT: Ubuntu-Desktop PC runs without latency or problem with this pipeline :/ How can I accelerate video decoding on Jetson Nano?