Software
rtsp_image_transport
By Fraunhofer FKIE, Germany (checked on github.com/fkie (opens in a new tab)), from github.com/fkie/rtsp_image_transport (opens in a new tab)
- Perception
- Library
- Apache-2.0
A ROS package that lets nodes publish and subscribe image topics over RTSP video streams, sending only a URL in-band instead of image data.
Facts
- GitHub stars
- 17read on 29 Nov 2026
- Last update
- 14 Jul 2026Newest commit on ros2
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Intermediate
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit d815a17 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- The publisher sends a latched string message containing the URL of an RTSP stream server, from which the image data is served.
- Subscribers listen for those URLs and automatically connect and reconnect to the stream location.
- Intended for streaming live video to one or more users, with multicast support to save bandwidth for many viewers.
- Compatible with many commercial IP cameras; the publish_rtsp_stream node can reuse an existing RTSP stream as an image topic.
- Uses the Live555 library for RTSP and FFmpeg for video compression, with hardware acceleration for several codecs depending on FFmpeg version and hardware.
- Not suitable for image data consumed by processing algorithms because of lossy compression, and rosbag2 cannot record its data usefully.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 14 Jul 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/fkie/rtsp_image_transport (opens in a new tab)
- The version Robotheca readd815a17 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.rst by Fraunhofer FKIE, at commit d815a17, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
RTSP Image Transport for ROS
Overview
This package allow ROS nodes to publish and subscribe image topics using the
Real Time Streaming Protocol (RTSP). Unlike regular image_transport
plugins, the rtsp_image_transport does not transmit image data in-band. The
publisher merely publishes a latched std_msgs/String_ message with the URL of
an :RFC:2326 compliant RTSP video stream server, from where the actual image
data is served. The subscriber will listen for URLs on the ROS topic and
automatically (re-)connect to the corresponding location.
Use Cases
rtsp_image_transport is intended for streaming live videos to one or more
users. The RTSP server supports multicast transmission, so it will potentially
save a huge amount of bandwidth if many clients are viewing the same video
stream.
The rtsp_image_transport plugin is compatible with many commercially
available IP cameras. You can use the publish_rtsp_stream node to create an
image topic with RTSP transport that reuses the existing RTSP stream.
Limitations
If the image source is not a continuous video stream with roughly constant frame rate, you may experience problems such as session timeouts or degraded image quality.
rtsp_image_transport is not suitable for image data that is to be consumed
by image processing algorithms. The lossy compression introduces artifacts
which may not be visible to the human eye but interfere with many algorithms
nevertheless.
You cannot use rosbag2_ to record data from rtsp_image_transport; you will
just end up with a bunch of useless URL string messages.
Supported Formats
rtsp_image_transport uses the Live555_ library for its RTSP server and
client implementation and the FFmpeg_ library for video compression. Starting
with FFmpeg 4, some codecs are hardware acceleratable. The following table
summarizes the options, subject to availability in your FFmpeg version and
compatible hardware:
+------------+----------+----------+-----------+----------+----------+ | | Software | NVIDIA | QSV [2]_ | VAAPI | OMX | +============+==========+==========+===========+==========+==========+ | H.264 | Yes | Yes | Yes | Encoding | Encoding | +------------+----------+----------+-----------+----------+----------+ | H.265 | Yes | Yes | Yes | Encoding | No | +------------+----------+----------+-----------+----------+----------+ | MPEG-4 | Yes | Decoding | No | Encoding | No | +------------+----------+----------+-----------+----------+----------+ | VP8 | Yes | Decoding | Decoding | Encoding | No | +------------+----------+----------+-----------+----------+----------+ | VP9 | Yes | Decoding | Yes | Encoding | No | +------------+----------+----------+-----------+----------+----------+ | MJPEG [1]_ | Decoding | Decoding | Decoding | No | No | +------------+----------+----------+-----------+----------+----------+
.. [1] rtsp_image_transport cannot create Motion JPEG (MJPEG) streams,
only receive them for backwards compatibility with some ancient IP
cameras. If you really want to have independently compressed JPEG
frames for your video stream, you can use the
compressed_image_transport_ with JPEG compression instead.
.. [2] You need to install the Ubuntu package libmfx-gen1.2 for QSV support.
.. _Real Time Streaming Protocol (RTSP): https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol (opens in a new tab)
.. _image_transport: https://index.ros.org/p/image_transport/ (opens in a new tab)
.. _compressed_image_transport: https://index.ros.org/p/compressed_image_transport/ (opens in a new tab)
.. _std_msgs/String: https://docs.ros.org/en/rolling/p/std_msgs/msg/String.html (opens in a new tab)
.. _Live555: http://www.live555.com/liveMedia (opens in a new tab)
.. _FFmpeg: https://ffmpeg.org/ (opens in a new tab)
.. _rosbag2: https://index.ros.org/p/rosbag2/ (opens in a new tab)
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.