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

Attempting to stream ip cameras with rtsp/udp, no publish to topic #67

Open
walkerbyrnes opened this issue Sep 15, 2020 · 0 comments
Open

Comments

@walkerbyrnes
Copy link

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:admin@10.201.41.102:5541 ! videoconvert"

Node Output:

export GSCAM_CONFIG="rtspsrc location=rtsp://admin:admin@10.201.41.102:5541 ! videoconvert"
rosrun gscam gscam
[ INFO] [1600205736.671750111]: Using gstreamer config from env: "rtspsrc location=rtsp://admin:admin@10.201.41.102: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.
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

1 participant