Hey, I apologize for the spam but I’ve been trying a lot of ways to get this working but to no avail.
I modified this streaming pipeline :
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3280, height=1848, framerate=28/1, format=NV12' ! nvvidconv left=200 right=3080 top=600 bottom=1200 ! 'video/x-raw,width=2880, height=600, framerate=28/1, format=NV12, pixel-aspect-ratio=1/1' ! nvvidconv ! nvv4l2h264enc ! h264parse ! flvmux ! rtmpsink location='rtmp://localhost/live/'
to this :
./test-launch "gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3280, height=1848, framerate=28/1, format=NV12' ! nvvidconv left=200 right=3080 top=600 bottom=1200 ! 'video/x-raw,width=2880, height=600, framerate=28/1, format=NV12, pixel-aspect-ratio=1/1' ! nvvidconv ! nvv4l2h264enc ! h264parse ! flvmux ! rtspsink location='rtsp://localhost:8554/live'"
However when I ran the program, I get this error :
gan@gan-desktop:~/gst-rtsp-server/examples$ ./test-launch "gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3280, height=1848, framerate=28/1, format=NV12' ! nvvidconv left=200 right=3080 top=600 bottom=1200 ! 'video/x-raw,width=2880, height=600, framerate=28/1, format=NV12, pixel-aspect-ratio=1/1' ! nvvidconv ! nvv4l2h264enc ! h264parse ! flvmux ! rtspsink location='rtsp://localhost:8554/live'"
stream ready at rtsp://127.0.0.1:8554/test
(test-launch:8038): GStreamer-CRITICAL **: 21:34:17.698: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
(test-launch:8038): GStreamer-CRITICAL **: 21:34:17.704: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
(test-launch:8038): GStreamer-CRITICAL **: 21:34:17.754: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
(test-launch:8038): GStreamer-CRITICAL **: 21:34:17.754: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
Something I think could be the issue is the last part, the rtspsink location.
I changed it the rtspsink location to rtspsrc location
and I get no errors but I can’t receive it via VLC nor openCV
For reference, i typed this into vlc and opencv :
rtsp://192.168.1.34:8554/live
This is the nano’s IP address.
Thank you!