ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
When running my pipeline with gst-launch-1.0 in terminal, I get exactly what I want to see.
'see': where? When you open the rtp stream at 127.0.0.1:8004
in something like VLC?
However, when transferring that pipeline to my gscam launchfile, no video stream is recognized on the port.
Which 'port'? Would that be 127.0.0.1:8004
again?
According to the gscam
docs:
gscam
can attach itself to a specially formatted pipeline. Provided this pipeline is processing RGB video,gscam
will rebroadcast the video over as both a standard ROS image transport and a ROS Camera.
Could it be that the udpsink
you have in your gscam_config
is depriving gscam
from its input, which will make it not publish anything?
Based on the same sentence in the documentation, I assume the ! x264enc speed-preset=ultrafast tune=zerolatency byte-stream=true bitrate=3000 threads=1 ! h264parse config-interval=1 ! rtph264pay ! udpsink host=127.0.0.1 port=8004
part of your pipeline shouldn't be necessary (there is no infrastructure in ROS to deal with h264
encoded images or streams).
The purpose of gscam
is to make it possible to publish RGB output of an arbitrary GStreamer pipeline to a ROS node graph. I'm not sure that is what you had in mind.