(test-launch:8038): GStreamer-CRITICAL **: 21:34:17.698: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed It however does not work and I get this error when I try to use opencv to receive the stream. I edited the code from this 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/'
test-launch and not be in the gst-rtsp-server directory? If I move the test-launch.c file to the home directory would that affect anything?Īlso, I have this streaming code now using the test-launch.c.
#Vlc streamer flv how to#
Here, you mentioned how to use the test-launch.c server for the rtsp stream. Open network stream rtsp://:8554/test via VLC test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”
Gcc test-launch.c -o test-launch $(pkg-config -cflags -libs gstreamer-1.0 gstreamer-rtsp-server-1.0) Sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev