ee49f470b7
* added transcode configs for nvenc,qsv and vaapi * updated dev docker compose * added software fallback * working vaapi * minor fixes and added tests * updated api * compile libvips * move hwaccel settings to `hwaccel.yml` * changed default dockerfile, moved `readdir` call * removed unused import * minor cleanup * fix for arm build * added documentation, minor fixes * added intel driver * updated docs styling * uppercase codec and api names * formatting * added tests * updated docs * removed semicolons * added link to `hwaccel.yml` * added newlines * added `hwaccel` section to docker-compose.prod.yml * ensure mesa drivers are installed * switch to mimalloc for sharp * moved build version and sha256 to json * let libmfx set the render device * possible fix for vp9 on qsv * updated tests * formatting * review suggestions * semicolon * moved `LD_PRELOAD` to start script * switched to jellyfin's ffmpeg package * fixed dockerfile * use cqp instead of icq for qsv vp9 * updated dockerfile * added sha256sum for other platforms * fixtures
23 lines
826 B
YAML
23 lines
826 B
YAML
version: "3.8"
|
|
|
|
# Hardware acceleration for transcoding - Optional
|
|
# This is only needed if you want to use hardware acceleration for transcoding.
|
|
# Depending on your hardware, you should uncomment the relevant lines below.
|
|
|
|
services:
|
|
hwaccel:
|
|
# devices:
|
|
# - /dev/dri:/dev/dri # If using Intel QuickSync or VAAPI
|
|
# volumes:
|
|
# - /usr/lib/wsl:/usr/lib/wsl # If using VAAPI in WSL2
|
|
# environment:
|
|
# - NVIDIA_DRIVER_CAPABILITIES=all # If using NVIDIA GPU
|
|
# - LD_LIBRARY_PATH=/usr/lib/wsl/lib # If using VAAPI in WSL2
|
|
# - LIBVA_DRIVER_NAME=d3d12 # If using VAAPI in WSL2
|
|
# deploy: # Uncomment this section if using NVIDIA GPU
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: 1
|
|
# capabilities: [gpu]
|