Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noetic critical errors #82

Open
murikill opened this issue May 9, 2022 · 3 comments
Open

noetic critical errors #82

murikill opened this issue May 9, 2022 · 3 comments

Comments

@murikill
Copy link

murikill commented May 9, 2022

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:

(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?

@aristow1
Copy link

did you ever get this solved ?

@airfield20
Copy link

same issue, was working fine on melodic

@airfield20
Copy link

This is the fix for noetic.

https://github.com/ros-drivers/gscam/pull/61/files#diff-ffaf92757bf8311b71143424da20297eb8f8ff84f9c4c45c646327a59f243347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants