handbrake tweaks

This commit is contained in:
2025-02-01 20:54:50 -08:00
parent f3b4a8034d
commit 91a5e27514
3 changed files with 23 additions and 3 deletions
+7
View File
@@ -14,3 +14,10 @@ You can specify read and write for example:
HANDBRAKE_IMAGE=zocker160/handbrake-nvenc:latest HANDBRAKE_IMAGE=zocker160/handbrake-nvenc:latest
Github: https://github.com/zocker-160/handbrake-nvenc-docker Github: https://github.com/zocker-160/handbrake-nvenc-docker
DockerHub NVENC: https://hub.docker.com/r/zocker160/handbrake-nvenc DockerHub NVENC: https://hub.docker.com/r/zocker160/handbrake-nvenc
# Gotchas
```
problem /etc/cont-init.d/55-handbrake.sh: 47: log: not found docker
```
chmod the volumes
+3 -1
View File
@@ -2,10 +2,12 @@ services:
handbrake: handbrake:
image: ${HANDBRAKE_IMAGE:-jlesage/handbrake:latest} image: ${HANDBRAKE_IMAGE:-jlesage/handbrake:latest}
volumes: volumes:
- "${VOL_CONFIG_PATH:-./}/config/ghb:/config/ghb" - "${VOL_PATH:-./data}/handbrake/ghb-config:/config"
- "${VOL_PATH:-./data}/handbrake/storage:/storage" - "${VOL_PATH:-./data}/handbrake/storage:/storage"
- "${VOL_PATH:-./data}/handbrake/complete:/output" - "${VOL_PATH:-./data}/handbrake/complete:/output"
- "${VOL_PATH:-./data}/handbrake/watch:/watch" - "${VOL_PATH:-./data}/handbrake/watch:/watch"
- "${VOL_PATH:-./data}/handbrake/watch2:/watch2"
- "${VOL_PATH:-./data}/handbrake/trash:/trash"
restart: "unless-stopped" restart: "unless-stopped"
ports: ports:
- "5800:5800" - "5800:5800"
+12 -1
View File
@@ -5,10 +5,21 @@ COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
# Handbrake # Handbrake
HANDBRAKE_IMAGE=jlesage/handbrake:latest HANDBRAKE_IMAGE=jlesage/handbrake:latest
AUTOMATED_CONVERSION=1 # 0 for no
AUTOMATED_CONVERSION_FORMAT=m4v
AUTOMATED_CONVERSION_KEEP_SOURCE=1 # 0 for remove
AUTOMATED_CONVERSION_USE_TRASH=0 # 1 for yes. Required KEEP_SOURCE
AUTOMATED_CONVERSION_OVERWRITE_OUTPUT=0
AUTOMATED_CONVERSION_NO_GUI_PROGRESS=0 # 0 is show
AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS=2
AUTOMATED_CONVERSION_PRESET='Very Fast 1080p30' AUTOMATED_CONVERSION_PRESET='Very Fast 1080p30'
AUTOMATED_CONVERSION_OUTPUT_DIR=/output
AUTOMATED_CONVERSION_PRESET_2='Very Fast 1080p30'
AUTOMATED_CONVERSION_OUTPUT_DIR_2=/output
# Handbrake with GPU # Handbrake with GPU
#HANDBRAKE_IMAGE=jlesage/handbrake:latest
#HANDBRAKE_IMAGE=zocker160/handbrake-nvenc:18x #HANDBRAKE_IMAGE=zocker160/handbrake-nvenc:18x
#NVIDIA_VISIBLE_DEVICES=all #NVIDIA_VISIBLE_DEVICES=all
#NVIDIA_DRIVER_CAPABILITIES=all #NVIDIA_DRIVER_CAPABILITIES=all