ros_rtsp/config/stream_setup.yaml

41 lines
1.0 KiB
YAML
Raw Normal View History

2018-09-27 01:34:48 -03:00
# Set up your streams to rtsp here.
#
# "type": ["cam" , "topic"]
2018-09-27 01:34:48 -03:00
#
# "source":
# if type=cam, location of v4l2 camera
# if type=topic, the ROS Image topic to subscribe to.
2018-09-27 01:34:48 -03:00
#
# Notes:
# Use a lower framerate of 10/1 on ROS topics.
# There may be issues with appsrc 'media not prepared' errors if the framerate is too high.
2018-09-25 11:13:36 -03:00
streams:
2018-09-27 01:34:48 -03:00
# stream-x:
# type: cam
# source: "v4l2src device=/dev/video0 ! videoconvert ! videoscale ! video/x-raw,framerate=15/1,width=1280,height=720"
# mountpoint: /front
# bitrate: 500
# stream1:
# type: cam
# source: "v4l2src device=/dev/video0 ! videoconvert ! videoscale ! video/x-raw,framerate=15/1,width=1280,height=720"
# mountpoint: /back
# bitrate: 500
stream-a:
2018-09-25 11:13:36 -03:00
type: topic
2018-09-27 01:34:48 -03:00
source: /usb_cam0/image_raw
mountpoint: /front
caps: video/x-raw,framerate=10/1,width=640,height=480
bitrate: 500
2018-09-27 01:34:48 -03:00
stream-yay:
type: topic
source: /usb_cam1/image_raw
mountpoint: /back
caps: video/x-raw,framerate=10/1,width=640,height=480
bitrate: 500