gscam
gscam copied to clipboard
Attempting to stream ip cameras with rtsp/udp, no publish to topic
I am attempting to stream IP camera using RTSP into ROS and I am having trouble configuring the gstreamer parameters correctly. Here is the configuration I am currently using. Running gscam with the below configuration appears to run correctly, but does not output on any topic. I've checked the feed using Wireshark and packets are being received so I believe the issue lies with the sink into a ros-topic. Any fixes or tips for debugging would be great.
GSCAM_CONFIG:
"rtspsrc location=rtsp://admin:[email protected]:5541 ! videoconvert"
Node Output:
export GSCAM_CONFIG="rtspsrc location=rtsp://admin:[email protected]:5541 ! videoconvert"
rosrun gscam gscam
[ INFO] [1600205736.671750111]: Using gstreamer config from env: "rtspsrc location=rtsp://admin:[email protected]:5541 ! videoconvert"
[ INFO] [1600205736.673814169]: using default calibration URL
[ INFO] [1600205736.673845666]: camera calibration URL: file:///home/user/.ros/camera_info/camera.yaml
[ INFO] [1600205736.673883613]: Unable to open camera calibration file [/home/user/.ros/camera_info/camera.yaml]
[ WARN] [1600205736.673901605]: Camera calibration file /home/user/.ros/camera_info/camera.yaml not found.
[ INFO] [1600205736.673917322]: Loaded camera calibration from
[ INFO] [1600205736.685475897]: Time offset: 1600110291.432
[ INFO] [1600205736.744781022]: Publishing stream...
[ INFO] [1600205736.744874413]: Started stream.