Good day to all
We are using jetson xavier for our project
R32 (release), REVISION: 4.4, GCID: 23942405, BOARD: t186ref, EABI: aarch64, DATE: Fri Oct 16 19:37:08 UTC 2020
Our goal is to catch video from camera (Flir boson) and sent it to the remote host to show video stream wit VLC
I tried to solve this task in several ways
Using tcpsink
gst-launch-1.0 -v v4l2src ! x264enc key-int-max=12 byte-stream=true ! mpegtsmux ! tcpserversink port=8888 host=MY_HOST
I can capture this stream with VLC but the problem is huge (3 sec) latency, our network channel is not good (~1mBit/s). So buffer become full in few seconds and video stack
Maybe there is the way to send one frame of each 10(for example) ? It will be ok for us
Host Open network stream rtsp://<TARGET_IP_ADDRESS>:8554/test via VLC
While I am trying to compile
test-launch.c I got error :
test-launch.c:(.text+0x154): undefined reference to `gst_rtsp_media_factory_set_enable_rtcp’
I googled this error and found that gst_rtsp_media_factory_set_enable_rtcp is the part of gstreamer 2.0 that is not released yet, so I can not use this code
Maybe you can send me the correct code or advise how to setup jetson xavier to use this version
Please advise what is the best way to solve this problem
here is the cameras properties
rakia@rakia-dev1:~/Desktop/vimtestpy$ v4l2-ctl -d0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘YU12’
Name : Planar YUV 4:2:0
Size: Discrete 640x512
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Index : 1
Type : Video Capture
Pixel Format: 'Y16 '
Name : 16-bit Greyscale
Size: Discrete 640x512
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Index : 2
Type : Video Capture
Pixel Format: 'NV12'
Name : Y/CbCr 4:2:0
Size: Discrete 640x512
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Index : 3
Type : Video Capture
Pixel Format: ''
Name : 3132564e-0000-0010-8000-00aa003
Size: Discrete 640x512
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)