Hello All,
We have a delay in capturing when we use YUV mode in CSI Video Port!!
We dont latency (NVMM) with Raw10-Bayer!!
The description is given in this link
Based on the TX2 TRM,Page 2789
ISP Buffer can set RGB888,
and based
NVIDIA Jetson Linux Driver Package Software Features
Camera Software Development Solution !!
nvarguscamerasrc—NVIDIA camera GStreamer plugin that provides options to control ISP properties using the ARGUS API.
So,we set video port to RGB888!!
We want capture frame As NVMM and RGB24bit
We made the necessary changes in CSI Video Driver and
Video port is ok ,no problem!!
` nvidia@nvidia-desktop:~$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'AR24'
Name : 32-bit BGRA 8-8-8-8
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
`
` nvidia@nvidia-desktop:~$ v4l2-ctl -V
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : 'AR24'
Field : None
Bytes per Line : 7680
Size Image : 8294400
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
`
but when capture frame ,gst pipeline encounters an error!!
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=BGRA , framerate=30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=I420, framerate=30/1' ! omxh264enc bitrate=14000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! rtph264pay ! udpsink host=10.42.0.158 port=5000 sync=false
but using this pipeline, video stream is OK!!
gst-launch-1.0 v4l2src device="/dev/video0" ! "video/x-raw, format=BGRA, width=1920, height=1080, framerate=30/1" ! videoconvert ! omxh264enc bitrate=8000000 ! "video/x-h264, stream-format=(string)byte-stream" ! rtph264pay ! udpsink host=10.42.0.158 port=5000 sync=false
How should we capture the frame same bayer-RAW10 using nvarguscamerasrc As NVMM?
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! omxh264enc control-rate=1 bitrate=14000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! rtph264pay mtu=1400 ! udpsink host=10.42.0.158 port=5000 sync=false async=false
I don’t want to use v4lsrc, Because when converting video/x-raw buffer to video/x-raw(memory:NVMM) using nvdiconv ,it delays the frame,
What other formats can Argus accept in addition to Raw 10?
Please guide me!!