hi , i have Xavier release 32 and i have some c code with gstreamer lib
my pipline is :
> appsrc name=mysrc ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! video/x-raw(memory:NVMM), width=%d, height=%d, format=NV12 ! nvv4l2h264enc control-rate=1 bitrate=%d peak-bitrate=%d ! video/x-h264, profile=baseline ! rtph264pay pt=96 name=pay0 " > ")"
i connect my xavier to dji drone.
the drone has 2 camera. fpv ( built in camera )
and H20T camera.
the fpv stream works well by the pipline above…
But, the second camera doesnot work. i try to connect with this client:
gst-launch-1.0 -vvv rtspsrc location=rtsp://192.168.1.225:1234/drone ! rtph264depay ! decodebin ! videoconvert ! autovideosink sync=false
and client stuck on line :
... Progress: (open) Retrieving server options Progress: (open) Retrieving media info
and the streamer (server) stuck on lines:
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
link for the details about the cameras :
( by the way , i connected the H20T camera to my computer and it works well …)
I CAN DO (WITH THE H20T CAMERA):
" appsrc name=mysrc ! h264parse ! rtph264pay pt=96 name=pay0 "
(i have to encode my stream)
So i guess that decoding does not work well on this camera ?
but i can do decode\encode in tx2 nvidia(release 28) and on my pc (amd64 architecture)
maybe those cameras have different format ?