List,
I have an object detection, identification, and tracking application that uses OpenCV running on my Jetson TX2. The Jetson TX2 had no monitor and needs to stream video data to a digital radio via the HDMI port without using something like imshow which needs to create a window. Is this possible with OpenCV?
You may try a videoWriter with a gstreamer pipeline such as this one .
1 Like
I will try that today. Thank you.
I am trying to test this gst-launch-1.0 nvarguscamerasrc ! fpsRange=“30.0 30.0” ! intent=3 ! nvvidconv flip-method=6 ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! omxh264enc control-rate=2 bitrate=4000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
but keep getting syntax error and i cannot figure out what i am doing wrong. Also I was a nvbuf_utils: could not get EGL display connection
robisen:
st-launch-1.0 nvarguscamerasrc ! fpsRange=“30.0 30.0” ! intent=3 ! nvvidconv flip-method=6 ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! omxh264enc control-rate=2 bitrate=4000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
You would remove fpsrange and intent, which were nvcamerasrc options, not plugins. These are no longer available with nvarguscamerasrc. This should work:
gst-launch-1.0 nvarguscamerasrc ! nvvidconv flip-method=6 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! omxh264enc control-rate=2 bitrate=4000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! rtph264pay mtu=1400 ! udpsink host=127.0.0.1 port=5000 sync=false async=false
1 Like
I forgot to say thank you. You helped me a lot.