I'm trying to get running gscam on ros noetic.
I cloned this repo, installed all gstreamer dependencies and built the package with required CMake flag -DGSTREAMER_VERSION_1_x=On.
The camera provides an udp-stream. I'm able to recieve the data using gstreamer directly: gst-launch-1.0 -v udpsrc port=5012 caps="application/x-rtp,encoding-name=H264,payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! decodebin ! videoconvert ! autovideosink.
When I try the same with the gscam node, I export GSCAM_CONFIG="udpsrc port=5012 caps="application/x-rtp,encoding-name=H264,payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! decodebin ! videoconvert" and run rosrun gscam gscam and my terminal become flooded with error messages:
I'm trying to get running gscam on ros noetic. I cloned this repo, installed all gstreamer dependencies and built the package with required CMake flag
-DGSTREAMER_VERSION_1_x=On
. The camera provides an udp-stream. I'm able to recieve the data using gstreamer directly:gst-launch-1.0 -v udpsrc port=5012 caps="application/x-rtp,encoding-name=H264,payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! decodebin ! videoconvert ! autovideosink
. When I try the same with the gscam node, I exportGSCAM_CONFIG="udpsrc port=5012 caps="application/x-rtp,encoding-name=H264,payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! decodebin ! videoconvert"
and runrosrun gscam gscam
and my terminal become flooded with error messages:(gscam:122311): GStreamer-CRITICAL **: 09:29:45.330: gst_buffer_get_sizes_range: assertion 'GST_IS_BUFFER (buffer)' failed
(gscam:122311): CRITICAL : 09:29:45.330: gst_queue_array_peek_nth: assertion 'idx < array->length' failed
What I'm doing wrong?