### Run Restreamer on AMD64/ARMv7/ARM64 Source: https://github.com/datarhei/restreamer/blob/2.x/README.md This command installs and runs the Restreamer Docker image for general AMD64, ARMv7, and ARM64 architectures. It maps necessary ports and sets up persistent storage for configuration and data. ```sh docker run -d --restart=always --name restreamer \ -v /opt/restreamer/config:/core/config -v /opt/restreamer/data:/core/data \ -p 8080:8080 -p 8181:8181 \ -p 1935:1935 -p 1936:1936 \ -p 6000:6000/udp \ datarhei/restreamer:latest ``` -------------------------------- ### Build and Run Restreamer Bundle Source: https://github.com/datarhei/restreamer/blob/2.x/README.md Clone the main Restreamer repository and build the complete bundle using previously built component images. Then, run the bundle, exposing port 8080. ```bash $ git clone github.com/datarhei/restreamer $ cd restreamer $ docker build --build-arg FFMPEG_IMAGE=myffmpeg --build-arg CORE_IMAGE=mycore --build-arg RESTREAMER_UI_IMAGE=myrsui -t myrestreamer . $ docker run -it --rm -p 8080:8080 myrestreamer ``` -------------------------------- ### Run Restreamer with Intel VAAPI Acceleration (AMD64) Source: https://github.com/datarhei/restreamer/blob/2.x/README.md This command enables hardware acceleration using Intel VAAPI for AMD64 systems. It mounts the `/dev/dri` directory and uses the `--privileged` flag for device access. ```sh docker run -d --restart=always --name restreamer \ -v /opt/restreamer/config:/core/config -v /opt/restreamer/data:/core/data \ -v /dev/dri:/dev/dri --privileged \ -p 8080:8080 -p 8181:8181 \ -p 1935:1935 -p 1936:1936 \ -p 6000:6000/udp \ datarhei/restreamer:vaapi-latest ``` -------------------------------- ### Build Restreamer Backend Docker Image Source: https://github.com/datarhei/restreamer/blob/2.x/README.md Clone the Restreamer core (Golang) repository and build a custom Docker image. ```bash $ git clone github.com/datarhei/core $ cd core $ docker build -t mycore . ``` -------------------------------- ### Build Restreamer UI Docker Image Source: https://github.com/datarhei/restreamer/blob/2.x/README.md Clone the Restreamer UI (React) repository and build a custom Docker image. ```bash $ git clone github.com/datarhei/restreamer-ui $ cd restreamer-ui $ docker build -t myrsui . ``` -------------------------------- ### Run Restreamer with Nvidia Cuda Acceleration (AMD64) Source: https://github.com/datarhei/restreamer/blob/2.x/README.md This command enables hardware acceleration using Nvidia Cuda for AMD64 systems. It requires the `--runtime=nvidia` flag and `--privileged` for device access. ```sh docker run -d --restart=always --name restreamer \ -v /opt/restreamer/config:/core/config -v /opt/restreamer/data:/core/data \ --runtime=nvidia --privileged \ -p 8080:8080 -p 8181:8181 \ -p 1935:1935 -p 1936:1936 \ -p 6000:6000/udp \ datarhei/restreamer:cuda-latest ``` -------------------------------- ### Run Restreamer on Raspberry Pi (ARMv7/ARM64) Source: https://github.com/datarhei/restreamer/blob/2.x/README.md This command is specifically for Raspberry Pi devices (ARMv7/ARM64) and includes the `--privileged` flag, which is often necessary for accessing local hardware devices like cameras. ```sh docker run -d --restart=always --name restreamer \ -v /opt/restreamer/config:/core/config -v /opt/restreamer/data:/core/data \ --privileged \ -p 8080:8080 -p 8181:8181 \ -p 1935:1935 -p 1936:1936 \ -p 6000:6000/udp \ datarhei/restreamer:rpi-latest ``` -------------------------------- ### Build Restreamer FFmpeg Docker Image Source: https://github.com/datarhei/restreamer/blob/2.x/README.md Clone the Restreamer FFmpeg repository and build a custom Docker image using Dockerfile.alpine. ```bash $ git clone github.com/datarhei/ffmpeg $ cd ffmpeg $ docker build -f Dockerfile.alpine -t myffmpeg . ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.