nxdefiant / ros_image_to_rtsp

ROS sensor_msgs/Image to rtsp nodelet
6 stars 2 forks source link

help with pipeline parameters #5

Open DapperFactory opened 6 years ago

DapperFactory commented 6 years ago

Hey thanks for sharing this library. Could you please help out with understanding the parameters and hopefully debugging some pipeline errors and performance issues. When running with the default launch parameters I am able to connect to the rtsp stream using VLC on the same machine. Unfortunately the performance is extremely slow, ~ 2-3 minutes.

I am also receiving the following output from the ros node:

process[standalone_nodelet-1]: started with pid [5489]
process[Image2RTSPNodelet-2]: started with pid [5490]
[ INFO] [1522353297.842723013]: Loading nodelet /Image2RTSPNodelet of type image2rtsp/Image2RTSPNodelet to manager standalone_nodelet with the following remappings:
[ INFO] [1522353297.844258066]: waitForService: Service [/standalone_nodelet/load_nodelet] has not been advertised, waiting...
[ INFO] [1522353297.851117017]: Initializing nodelet with 8 worker threads.
[ INFO] [1522353297.865182122]: waitForService: Service [/standalone_nodelet/load_nodelet] is now available.
[ INFO] [1522353309.150588488]: New RTSP client
[ INFO] [1522353309.152100548]: Client connected: /rgb
x264 [error]: baseline profile doesn't support 4:4:4
0:00:11.463024354  5489 0x7fbf0c026370 WARN                 x264enc gstx264enc.c:1541:gst_x264_enc_init_encoder:<x264enc0> Bad downstream profile name: baseline
0:00:11.483665503  5489 0x7fbf0c026370 WARN               videopool gstvideopool.c:216:video_buffer_pool_set_config:<videobufferpool0> no caps in config
[standalone_nodelet-1] process has died [pid 5489, exit code -9, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=standalone_nodelet __log:=/home/james/.ros/log/3350a624-338a-11e8-8936-2816adb65756/standalone_nodelet-1.log].

Any suggestion would be welcome!!

Thanks

nxdefiant commented 6 years ago

Can you provide a sample of your image topic without data? e.g. rostopic echo -n1 --noarr /camera/rgb/image_raw

Also, what CPU do you run this on?