added link

This commit is contained in:
cpu
2023-12-30 13:40:35 +01:00
parent 960599942f
commit 47679930fd

View File

@@ -106,7 +106,7 @@ Adjust `/dev/video2`, `-video_size 1920x1080 -framerate 60` and stream to peertu
> `ffmpeg -hide_banner -y -f v4l2 -input_format mjpeg -video_size 1920x1080 -framerate 60 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /dev/video2 -vf 'scale_vaapi=format=nv12' -c:v h264_vaapi -b:v 10M -f flv rtmp://peertube.virtonline.eu:1935/live/LIVE-STREAM-KEY`
### Setup a systemd service for the non-stop streaming
Adjust `jrottenberg/ffmpeg:4.4-alpine` if you want to use a specific ffmpeg version
Adjust `jrottenberg/ffmpeg:4.4-alpine` if you want to use a specific ffmpeg version. For Raspberry Pi (ARM) see https://github.com/colin-nolan/docker-ffmpeg-rpi
```
sudo tee /etc/systemd/system/virt-garage-webcam-streamer.service <<EOF
[Unit]