From ae98283a0d0c01c5f48a3292ce36f2705d5f3cd3 Mon Sep 17 00:00:00 2001 From: Olive Vaughn Date: Wed, 26 Aug 2026 00:59:27 -0400 Subject: [PATCH] video profs --- docker-compose.yml | 9 +++++---- transcode-config.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 transcode-config.yaml diff --git a/docker-compose.yml b/docker-compose.yml index 0264aac..fb9c091 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,10 +19,11 @@ services: - /dev/dri:/dev/dri volumes: - /mnt/user/plex:/media:ro + - ./transcode-config.yaml:/app/config.yaml:ro + - transcode-cache:/tmp/transcode ports: - "8090:8080" - environment: - - TRANSCODE_BIND=:8080 - - TRANSCODE_VOD_MEDIA_DIR=/media - - TRANSCODE_CORS=true restart: unless-stopped + +volumes: + transcode-cache: diff --git a/transcode-config.yaml b/transcode-config.yaml new file mode 100644 index 0000000..ed7be27 --- /dev/null +++ b/transcode-config.yaml @@ -0,0 +1,24 @@ +cors: true + +vod: + media-dir: /media + cache: true + cache-dir: /tmp/transcode + video-keyframes: true + + video-profiles: + 1080p: + width: 1920 + height: 1080 + bitrate: 6000 + 720p: + width: 1280 + height: 720 + bitrate: 3000 + 480p: + width: 854 + height: 480 + bitrate: 1200 + + audio-profile: + bitrate: 192