A repository containing all the necessary files to run the PIDash implementation on the Raspberry Pi 4
This project uses MediaMTX (formerly RTSP Simple Server) as the streaming server for real-time video transmission. Follow the steps below to install and configure MediaMTX.
- Visit the official MediaMTX releases page on GitHub.
- Download the appropriate binary for your operating system:
- Windows:
mediamtx_windows_amd64.exe - Linux:
mediamtx_linux_amd64 - macOS:
mediamtx_macos_amd64
- Windows:
- Extract the downloaded file (if it’s in a compressed format like
.zip). - Move the binary to a directory that is accessible via your terminal or command prompt.
- For Linux/macOS: Add execute permissions by running:
chmod +x mediamtx_linux_amd64
- For Linux/macOS: Add execute permissions by running:
- Create a
mediamtx.ymlconfiguration file in the same directory as the binary. - Use the default configuration or modify it to match your project's requirements:
- HLS Protocol Example:
server: protocols: [hls, rtsp] paths: all: source: publisher
- HLS Protocol Example:
- Start the MediaMTX server by executing the binary:
- For Windows:
mediamtx_windows_amd64.exe
- For Linux/macOS:
./mediamtx_linux_amd64
- For Windows:
- The server will start and output logs in the terminal.
- Ensure that the Raspberry Pi camera feed is streaming to the MediaMTX server using a supported protocol (e.g.,
RTSPorHLS). - Access the stream using the server's IP address and port:
- For HLS:
http://<server-ip>:8888/live/index.m3u8 - For RTSP:
rtsp://<server-ip>:8554/live
- For HLS:
- If you encounter issues, refer to the MediaMTX documentation for additional help.