This article documents the usage of the Maivin GStreamer Docker container for various workflows, our example will demonstrate streaming H.264 video over RTSP to a PC running VLC.
- Torizon for Maivin BSP 18.104.22.168 or newer.
- VideoLAN Client "VLC" installed on PC
The maivin/gstreamer:bullseye container provides the integrated Gstreamer environment along with NXP extensions to support the various hardware components found on the Maivin platform. By default a stream.sh is bundled and launched as the default entry point.
docker run -it --rm --privileged --network host maivin/gstreamer:bullseye
On the VLC side select Media->Open Network Stream then enter the IP or hostname of your Maivin using the following format (note the x are placeholders for your Maivin serial number).
The maivin/gstreamer container provides a few key environment variables which can be overridden to configure the stream.
- Controls the width of the camera capture, defaults to 1920.
- Controls the height of the camera capture, defaults to 1080.
- Controls the listening port for the TCP server, defaults to 8554.
- Controls mirroring the camera capture, defaults to 1.
- Controls flipping the camera capture, defaults to 1.
Note: MIRROR/FLIP default to 1 to provide expected orientation on the Maivin when setup with the heat sink facing upwards.
Please sign in to leave a comment.