moving everything to active or retired vs incubating and graduated
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s

This commit is contained in:
2025-04-19 18:46:40 -04:00
parent 6e393d90ee
commit ef9104c796
234 changed files with 456 additions and 244 deletions

View File

@@ -0,0 +1,39 @@
# Unifi
## VAAPI Hardware Decoding
```bash
ffmpeg \
-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \
-rtsp_transport tcp \
-i 'rtsps://192.168.2.1:7441/7IF4VumJ84VoYyP2?enableSrtp' -f matroska -vf 'format=nv12,hwupload' -c:v hevc_vaapi -c:a copy -b:v 100M - | ffplay -i -
```
## Unifi Protect Camera Access with ffplay
Create a .desktop file like so:
```conf
[Desktop Entry]
Name=Unifi Cameras
Exec=ffplay -fflags nobuffer -flags low_delay "rtsps://"
Icon=/home/ducoterra/.icons/unifi_protect.jpg
Type=Application
Actions=doorbell;package;garage;
Keywords=camera,doorbell,package,garage;
[Desktop Action doorbell]
Name=Doorbell
Exec=ffplay -fflags nobuffer -flags low_delay "rtsps://"
Icon=/home/ducoterra/.icons/unifi_protect.jpg
[Desktop Action package]
Name=Package
Exec=ffplay -fflags nobuffer -flags low_delay "rtsps://"
Icon=/home/ducoterra/.icons/unifi_protect.jpg
[Desktop Action garage]
Name=Garage
Exec=ffplay -fflags nobuffer -flags low_delay "rtsps://"
Icon=/home/ducoterra/.icons/unifi_protect.jpg
```