Update parameters.yaml for topic and resolution; add run_image2rtsp.sh launcher script
This commit is contained in:
parent
2ba0f2e9f6
commit
a2a3adf08e
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
# If the source is a ros2 topic (default case)
|
||||
compressed: False
|
||||
topic: "color/image_raw"
|
||||
topic: "camera/image"
|
||||
default_pipeline: |
|
||||
( appsrc name=imagesrc do-timestamp=true min-latency=0 max-latency=0 max-bytes=1000 is-live=true !
|
||||
videoconvert !
|
||||
videoscale !
|
||||
video/x-raw, framerate=30/1, width=640, height=480 !
|
||||
video/x-raw, framerate=30/1, width=1920, height=1080 !
|
||||
x264enc tune=zerolatency bitrate=500 key-int-max=30 !
|
||||
video/x-h264, profile=baseline !
|
||||
rtph264pay name=pay0 pt=96 )
|
||||
|
|
@ -31,9 +31,9 @@
|
|||
# Notice: Here the framerate might be set to the camera framerate, otherwise "503 Service Unavailable" error will appear.
|
||||
|
||||
# RTSP setup
|
||||
mountpoint: "/back"
|
||||
mountpoint: "/live"
|
||||
port: "8554"
|
||||
local_only: True # True = rtsp://127.0.0.1:portAndMountpoint (The stream is accessible only from the local machine)
|
||||
local_only: False # True = rtsp://127.0.0.1:portAndMountpoint (The stream is accessible only from the local machine)
|
||||
# False = rtsp://0.0.0.0:portAndMountpoint (The stream is accessible from the outside)
|
||||
# For example, to access the stream running on the machine with IP = 192.168.20.20,
|
||||
# use rtsp://192.186.20.20:portAndMountpoint
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Minimal launcher: runs a package launch with optional args.
|
||||
exec ros2 launch image2rtsp "${1:-image2rtsp.launch.py}" "${@:2}"
|
||||
Loading…
Reference in New Issue