mirror of
https://github.com/CircusMonkey/ros_rtsp.git
synced 2025-01-25 01:08:21 -04:00
22 lines
1.3 KiB
Plaintext
22 lines
1.3 KiB
Plaintext
|
<launch>
|
||
|
<!-- Start the image publisher -->
|
||
|
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" >
|
||
|
<param name="video_device" value="/dev/video0" />
|
||
|
<param name="image_width" value="640" />
|
||
|
<param name="image_height" value="480" />
|
||
|
<param name="pixel_format" value="yuyv" />
|
||
|
<param name="camera_frame_id" value="yuyv" />
|
||
|
<param name="io_method" value="mmap"/>
|
||
|
<param name="autofocus" value="true"/>
|
||
|
</node>
|
||
|
|
||
|
<!-- <node pkg="ros_rtsp" name="camera_publisher" type="camera_publisher" args="0"/> -->
|
||
|
<node pkg="nodelet" type="nodelet" name="standalone_nodelet" args="manager" output="screen"/>
|
||
|
|
||
|
<node pkg="nodelet" type="nodelet" name="Image2RTSPNodelet" args="load image2rtsp/Image2RTSPNodelet standalone_nodelet" output="screen">
|
||
|
<param name="topic_1" type="str" value="/usb_cam/image_raw" />
|
||
|
<param name="mountpoint_1" type="str" value="/front" />
|
||
|
<param name="pipeline_1" type="str" value="( appsrc name=imagesrc do-timestamp=true max-latency=50 max-bytes=1000 is-live=true ! videoconvert ! videoscale ! video/x-raw,width=800,height=640 ! videoconvert ! videorate ! video/x-raw,framerate=10/1 ! queue ! x264enc tune=zerolatency bitrate=1000 key-int-max=90 ! video/x-h264, profile=baseline ! rtph264pay name=pay0 pt=96 )" />
|
||
|
</node>
|
||
|
</launch>
|