BrettRD / ros-gst-bridge

a bidirectional ros to gstreamer bridge and utilities for dynamic pipelines
Other
129 stars 31 forks source link

example usage #68

Open JiaheXu opened 3 weeks ago

JiaheXu commented 3 weeks ago

Hi I am exploring this package. I want to convert a ros2 topic to gstreamer, and on the reciever end, I can display the video or convert the streaming to a ros topic. My sender side uses this cmd gst-launch-1.0 --gst-plugin-path=/home/developer/mmpug_ws/src/airlab_ros2/install/gst_bridge/ rosimagesrc ros-topic="/iphone4/regular_view/arframe_image" ! queue max-size-bytes=2048 ! udpsink host=10.3.1.101 port=5000, the terminal doesn't show any error. On the Reciever end, I use gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink The terminal shows Received invalid RTP payload, dropping, how can I make it right?