jlesage / docker-handbrake

Docker container for HandBrake
MIT License
815 stars 94 forks source link

AUTOMATED_CONVERSION_FORMAT overrides preset #322

Open Xlucine opened 8 months ago

Xlucine commented 8 months ago

Current Behavior

I've been using this project for a while now encoding dvd rips to mp4 files on my media server, but now I need to start ripping blu-rays to mkv files (to preserve subtitles) I've run into an issue. It looks like the AUTOMATED_CONVERSION_FORMAT env variable is overwriting the setting in the preset, which is quite an unintuitive way of handling things.

Adding AUTOMATED_CONVERSION_FORMAT=mkv to the compose file results in mkv output files, but then my presets set to create mp4 output files also produce mkv files. I'd like to be able to output difference video file types when using different presets, rather than locking that container to only handling one output file type. Is there an option for this that will use the setting in the preset, like how the SAME_AS_SRC setting for AUTOMATED_CONVERSION_OUTPUT_SUBDIR mirrors the subdirectory of the input files? I tried setting AUTOMATED_CONVERSION_FORMAT=SAME_AS_PRESET, but that just got me a file ending in .SAME_AS_PRESET

Expected Behavior

Output file type selected in preset should be used.

Steps To Reproduce

No response

Environment

Server: Docker Engine - Community Engine: Version: 25.0.1 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: 71fa3ab Built: Tue Jan 23 23:09:52 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.27 GitCommit: a1496014c916f9e62104b33d1bb5bd03b0858e59 runc: Version: 1.1.11 GitCommit: v1.1.11-0-g4bccb38 docker-init: Version: 0.19.0 GitCommit: de40ad0 `

Container creation

Compose file: `---

https://github.com/jlesage/docker-handbrake

version: '3' services: handbrake: image: jlesage/handbrake ports:

Container log

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-check-optical-drive.sh: executing...
[cont-init   ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init   ] 54-check-optical-drive.sh: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: AMD Ryzen 7 3700X 8-Core Processor   
[cont-init   ] 54-check-qsv.sh: Microarchitecture: AMD_ZEN2
[cont-init   ] 54-check-qsv.sh: Kernel: 6.1.0-0.deb11.13-amd64
[cont-init   ] 54-check-qsv.sh: Intel Quick Sync Video not supported: device directory /dev/dri not exposed to the container.
[cont-init   ] 54-check-qsv.sh: terminated successfully.
[cont-init   ] 54-check-trash-dir.sh: executing...
[cont-init   ] 54-check-trash-dir.sh: terminated successfully.
[cont-init   ] 55-handbrake.sh: executing...
[cont-init   ] 55-handbrake.sh: core dump file location: core
[cont-init   ] 55-handbrake.sh: core dump file size: unlimited (blocks)
[cont-init   ] 55-handbrake.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           HandBrake                                     │
    │ Application Version:   1.7.1                                         │
    │ Docker Image Version:  23.11.4                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Nov 10 2023 13:43:39
[xvnc              ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc              ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc              ] Underlying X server release 12014000
[xvnc              ] Thu Jan 25 16:24:59 2024
[xvnc              ]  vncext:      VNC extension running!
[xvnc              ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc              ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc              ]  vncext:      created VNC server for screen 0
[supervisor        ] starting service 'openbox'...
[supervisor        ] starting service 'nginx'...
[nginx             ] Listening for HTTP connections on port 5800.
[supervisor        ] starting service 'app'...
[supervisor        ] starting service 'autovideoconverter'...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[autovideoconverter] Processing watch folder '/watch2'...
[autovideoconverter] Watch folder '/watch2' processing terminated.
[autovideoconverter] Processing watch folder '/watch3'...
[autovideoconverter] Watch folder '/watch3' processing terminated.
[autovideoconverter] Processing watch folder '/watch4'...
[autovideoconverter] Watch folder '/watch4' processing terminated.
[autovideoconverter] Processing watch folder '/watch5'...
[autovideoconverter] Watch folder '/watch5' processing terminated.
[supervisor        ] all services started.
[autovideoconverter] Change detected in watch folder '/watch4'.
[autovideoconverter] Processing watch folder '/watch4'...
[autovideoconverter] Skipping '/watch4/Daft_Punk_-_Derezzed.mkv' (7474d659f16eaf0637825b738f5c197e): already processed with failure.
[autovideoconverter] Watch folder '/watch4' processing terminated.
[xvnc              ] Thu Jan 25 16:25:20 2024
[xvnc              ]  Connections: accepted: /tmp/vnc.sock
[xvnc              ]  SConnection: Client needs protocol version 3.8
[xvnc              ] Thu Jan 25 16:25:21 2024
[xvnc              ]  SConnection: Client requests security type None(1)
[xvnc              ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc              ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc              ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc              ]  ComparingUpdateTracker: (1:-nan ratio)
[autovideoconverter] Change detected in watch folder '/watch4'.
[autovideoconverter] Processing watch folder '/watch4'...
[autovideoconverter] Waiting 5 seconds before processing '/watch4/Daft_Punk_-_Derezzed2.mkv'...
[autovideoconverter] Starting conversion of '/watch4/Daft_Punk_-_Derezzed2.mkv' (d45dac7fe1e2999c515bda8b3a90d090) using preset 'Custom/1080p-H265-24-med-mkv'...
[autovideoconverter] 1 title(s) to process.
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 4.61 %
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 7.68 % (43.98 fps, avg 49.27 fps, ETA 00h01m20s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 11.17 % (40.90 fps, avg 44.80 fps, ETA 00h01m24s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 14.40 % (35.10 fps, avg 42.53 fps, ETA 00h01m26s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 18.05 % (40.92 fps, avg 42.22 fps, ETA 00h01m24s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 22.05 % (42.70 fps, avg 42.96 fps, ETA 00h01m18s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 25.75 % (49.37 fps, avg 43.81 fps, ETA 00h01m13s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 29.00 % (36.18 fps, avg 42.92 fps, ETA 00h01m11s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 31.84 % (30.92 fps, avg 41.80 fps, ETA 00h01m10s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 35.30 % (42.33 fps, avg 41.85 fps, ETA 00h01m06s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 39.65 % (50.60 fps, avg 42.29 fps, ETA 00h01m01s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 43.31 % (49.77 fps, avg 42.86 fps, ETA 00h00m57s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 45.53 % (24.17 fps, avg 41.55 fps, ETA 00h00m56s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 48.62 % (38.56 fps, avg 41.36 fps, ETA 00h00m53s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 51.97 % (37.75 fps, avg 41.14 fps, ETA 00h00m50s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 54.96 % (36.38 fps, avg 40.70 fps, ETA 00h00m47s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 57.68 % (35.88 fps, avg 40.45 fps, ETA 00h00m44s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 60.32 % (27.59 fps, avg 39.77 fps, ETA 00h00m43s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 63.81 % (41.27 fps, avg 39.84 fps, ETA 00h00m40s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 66.01 % (26.68 fps, avg 39.26 fps, ETA 00h00m37s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 68.38 % (27.45 fps, avg 38.76 fps, ETA 00h00m35s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 70.37 % (24.37 fps, avg 38.17 fps, ETA 00h00m33s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 73.81 % (35.53 fps, avg 37.93 fps, ETA 00h00m30s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 75.30 % (24.34 fps, avg 37.44 fps, ETA 00h00m28s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 76.76 % (17.86 fps, avg 36.47 fps, ETA 00h00m27s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 78.89 % (23.47 fps, avg 36.01 fps, ETA 00h00m25s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 80.81 % (23.42 fps, avg 35.59 fps, ETA 00h00m23s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 82.87 % (22.76 fps, avg 35.10 fps, ETA 00h00m21s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 84.25 % (18.97 fps, avg 34.60 fps, ETA 00h00m19s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 87.41 % (31.39 fps, avg 34.49 fps, ETA 00h00m16s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 90.52 % (40.73 fps, avg 34.65 fps, ETA 00h00m11s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 94.03 % (38.58 fps, avg 34.76 fps, ETA 00h00m08s)
[autovideoconverter] Encoding /watch4/Daft_Punk_-_Derezzed2.mkv: task 1 of 1, 98.76 % (51.55 fps, avg 35.22 fps, ETA 00h00m03s)
[autovideoconverter] Conversion ended successfully.
[autovideoconverter] Watch folder '/watch4' processing terminated.
[autovideoconverter] Change detected in watch folder '/watch2'.
[autovideoconverter] Processing watch folder '/watch2'...
[autovideoconverter] Waiting 5 seconds before processing '/watch2/Tron Legacy (2010) Br_preview-mp4.mkv'...
[autovideoconverter] Starting conversion of '/watch2/Tron Legacy (2010) Br_preview-mp4.mkv' (791367d144c8a88d8c89aebe05bed19e) using preset 'Custom/720p-H265-22-med'...
[autovideoconverter] 1 title(s) to process.
[autovideoconverter] Encoding /watch2/Tron Legacy (2010) Br_preview-mp4.mkv: task 1 of 1, 25.53 %
[autovideoconverter] Encoding /watch2/Tron Legacy (2010) Br_preview-mp4.mkv: task 1 of 1, 52.53 % (49.40 fps, avg 52.00 fps, ETA 00h00m07s)
[autovideoconverter] Encoding /watch2/Tron Legacy (2010) Br_preview-mp4.mkv: task 1 of 1, 73.67 % (52.07 fps, avg 52.02 fps, ETA 00h00m04s)
[autovideoconverter] Encoding /watch2/Tron Legacy (2010) Br_preview-mp4.mkv: task 1 of 1, 95.61 % (55.81 fps, avg 52.58 fps, ETA 00h00m01s)
[autovideoconverter] Conversion ended successfully.
[autovideoconverter] Watch folder '/watch2' processing terminated.
[autovideoconverter] Change detected in watch folder '/watch4'.
[autovideoconverter] Processing watch folder '/watch4'...
[autovideoconverter] Skipping video '/watch4/Daft_Punk_-_Derezzed2.mkv' (d45dac7fe1e2999c515bda8b3a90d090): already processed successfully.
[autovideoconverter] Waiting 5 seconds before processing '/watch4/Tron Legacy (2010) Br_preview-mkv.mkv'...
[autovideoconverter] Starting conversion of '/watch4/Tron Legacy (2010) Br_preview-mkv.mkv' (fef9e5d4b17484e0d92f5708c8a4d2e0) using preset 'Custom/1080p-H265-24-med-mkv'...
[autovideoconverter] 1 title(s) to process.
[autovideoconverter] Encoding /watch4/Tron Legacy (2010) Br_preview-mkv.mkv: task 1 of 1, 28.86 %
[autovideoconverter] Encoding /watch4/Tron Legacy (2010) Br_preview-mkv.mkv: task 1 of 1, 55.72 % (59.32 fps, avg 59.74 fps, ETA 00h00m06s)
[autovideoconverter] Encoding /watch4/Tron Legacy (2010) Br_preview-mkv.mkv: task 1 of 1, 85.11 % (57.08 fps, avg 58.28 fps, ETA 00h00m02s)
[autovideoconverter] Conversion ended successfully.
[autovideoconverter] Watch folder '/watch4' processing terminated.
[supervisor        ] SIGTERM received, shutting down...
[supervisor        ] stopping service 'autovideoconverter'...
[supervisor        ] service 'autovideoconverter' exited (got signal SIGTERM).
[supervisor        ] stopping service 'app'...
[supervisor        ] service 'app' exited (got signal SIGTERM).
[supervisor        ] stopping service 'nginx'...
[xvnc              ] Thu Jan 25 16:55:39 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 1622
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 799 rects, 10.3655 Mpixels
[xvnc              ]  EncodeManager:            12.4844 KiB (1:3244.02 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 242 rects, 20.395 kpixels
[xvnc              ]  EncodeManager:                 6.52051 KiB (1:12.653 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 3.325 krects, 1.72634 Mpixels
[xvnc              ]  EncodeManager:                  521.086 KiB (1:13.0161 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 1.776 krects, 11.0247 Mpixels
[xvnc              ]  EncodeManager:                  4.48007 MiB (1:9.39187 ratio)
[xvnc              ]  EncodeManager:   Total: 6.142 krects, 23.1369 Mpixels
[xvnc              ]  EncodeManager:          5.0075 MiB (1:17.6397 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 86.2729 Mpixels in / 19.1774 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:4.49868 ratio)
[supervisor        ] service 'nginx' exited (with status 0).
[supervisor        ] stopping service 'openbox'...
[supervisor        ] service 'openbox' exited (with status 0).
[supervisor        ] stopping service 'xvnc'...
[xvnc              ] Thu Jan 25 16:55:40 2024
[xvnc              ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc              ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor        ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-check-optical-drive.sh: executing...
[cont-init   ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init   ] 54-check-optical-drive.sh: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: AMD Ryzen 7 3700X 8-Core Processor   
[cont-init   ] 54-check-qsv.sh: Microarchitecture: AMD_ZEN2
[cont-init   ] 54-check-qsv.sh: Kernel: 6.1.0-0.deb11.13-amd64
[cont-init   ] 54-check-qsv.sh: Intel Quick Sync Video not supported: device directory /dev/dri not exposed to the container.
[cont-init   ] 54-check-qsv.sh: terminated successfully.
[cont-init   ] 54-check-trash-dir.sh: executing...
[cont-init   ] 54-check-trash-dir.sh: terminated successfully.
[cont-init   ] 55-handbrake.sh: executing...
[cont-init   ] 55-handbrake.sh: core dump file location: core
[cont-init   ] 55-handbrake.sh: core dump file size: unlimited (blocks)
[cont-init   ] 55-handbrake.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           HandBrake                                     │
    │ Application Version:   1.7.1                                         │
    │ Docker Image Version:  23.11.4                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Nov 10 2023 13:43:39
[xvnc              ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc              ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc              ] Underlying X server release 12014000
[xvnc              ] Thu Jan 25 16:55:43 2024
[xvnc              ]  vncext:      VNC extension running!
[xvnc              ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc              ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc              ]  vncext:      created VNC server for screen 0
[supervisor        ] starting service 'openbox'...
[supervisor        ] starting service 'nginx'...
[nginx             ] Listening for HTTP connections on port 5800.
[supervisor        ] starting service 'app'...
[supervisor        ] starting service 'autovideoconverter'...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[autovideoconverter] Processing watch folder '/watch2'...
[autovideoconverter] Skipping video '/watch2/Tron Legacy (2010) Br_preview-mp4.mkv' (791367d144c8a88d8c89aebe05bed19e): already processed successfully.
[autovideoconverter] Watch folder '/watch2' processing terminated.
[autovideoconverter] Processing watch folder '/watch3'...
[autovideoconverter] Watch folder '/watch3' processing terminated.
[autovideoconverter] Processing watch folder '/watch4'...
[autovideoconverter] Skipping video '/watch4/Daft_Punk_-_Derezzed2.mkv' (d45dac7fe1e2999c515bda8b3a90d090): already processed successfully.
[autovideoconverter] Skipping video '/watch4/Tron Legacy (2010) Br_preview-mkv.mkv' (fef9e5d4b17484e0d92f5708c8a4d2e0): already processed successfully.
[autovideoconverter] Watch folder '/watch4' processing terminated.
[autovideoconverter] Processing watch folder '/watch5'...
[autovideoconverter] Watch folder '/watch5' processing terminated.
[supervisor        ] all services started.

Container inspect

[
    {
        "Id": "ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0",
        "Created": "2024-01-25T16:24:59.086424789Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 3618101,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-01-25T16:55:43.105815577Z",
            "FinishedAt": "2024-01-25T16:55:40.221853444Z"
        },
        "Image": "sha256:b06c7c479880bcbd64bf12a355bfed7dcd5a2e9118f9df1b10bb915051c2e5e1",
        "ResolvConfPath": "/var/lib/docker/containers/ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0/hostname",
        "HostsPath": "/var/lib/docker/containers/ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0/hosts",
        "LogPath": "/var/lib/docker/containers/ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0/ad4c6faf99e62f6ebbdd6cf38ed1c2b1d52245116444f1516c896edf03c7a8f0-json.log",
        "Name": "/handbrake-handbrake-1",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/1080p-slow-22:/watch3:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/1080p-med-24:/watch4:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/4k-slow-25:/watch5:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/Out:/output:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/Handbrake/config:/config:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/Storage:/storage:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/720p-slow-20:/watch:rw",
                "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/720p-med-22:/watch2:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "handbrake_default",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "5800"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 17179869184,
            "NanoCpus": 12000000000,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 34359738368,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/c6081e99405454178292ca7d3185e8c7b2688aa68e7c20bffcb8fa8ba5867ff3-init/diff:/var/lib/docker/overlay2/651b369e561bcf0e55ec43566053fe7004b01acf950082cbb73e1dc5ea319fa4/diff:/var/lib/docker/overlay2/5638f46dacb976470d1a450a1d4c503a8bbb6de5a7e7977a03931c77fc4404a6/diff:/var/lib/docker/overlay2/b38e222d4d047ed89a4b52d81e179ecd5875580ea9cbcec231e67344b1a887a6/diff:/var/lib/docker/overlay2/a1ad23abed09131e567b69444030b54b787cf061e867df535a0af80472a08f34/diff:/var/lib/docker/overlay2/42b892ab08a629f13288aec4438063699ea327a7bfc1ce071c159d40db052d4f/diff:/var/lib/docker/overlay2/0217f6ddbc7f6102b7a84686d1be2a7c4fb6552d08e0b1b8925090d6610a5dfe/diff:/var/lib/docker/overlay2/c918ceba660aa03dad0bbcaf0eff3386dbec307a03e2dce339dc56bb92e35da3/diff:/var/lib/docker/overlay2/100ef4bcbf0006d0cda5b45243b76f837d959a49cebcc9e3c9af184362326f04/diff:/var/lib/docker/overlay2/970dc55600dc8803ff3e98e6fba1cf5d283b59287ce034bb00b2b1780c445d92/diff:/var/lib/docker/overlay2/1898df1b6bdee1a4506e85cd07eba1ca7c34e004d61f64dcc09ddbb114092524/diff:/var/lib/docker/overlay2/1873e28146e0e3faadd55de8d4a2ee1663094addcb792d7c4758a78b42d24f78/diff:/var/lib/docker/overlay2/6fcbc5ff4ba7c134c624bb0aff66f761069de60e4ad782b58ab0fc1bcd883bb2/diff:/var/lib/docker/overlay2/8ccd458b7bee987b2dcc3d3c6f8fb046663f90c811cb2c8b9ad79770a463f02f/diff:/var/lib/docker/overlay2/b0ba0613e6758d41fc913d36dae75a0718c6c1636f79b67613154616c0a5efb3/diff:/var/lib/docker/overlay2/d8326195e670b14e1ca98586035bc4fd3810b3fdc764a3f374020f583bf8a012/diff:/var/lib/docker/overlay2/13038176ecc6b56bbb58f8f9287e2e610b804aa9f485844b6f286cfbb3c0e867/diff:/var/lib/docker/overlay2/2984bcdc21b9cbd08789e6b992f140c0faa710926ce53300323aced40a0a5204/diff:/var/lib/docker/overlay2/458b1b5a3320b4900b5ed6de38324924caf95abd0a4383db4a1b1ad2dbde1347/diff:/var/lib/docker/overlay2/e3c2055c6e2ce2e52235293152fcb17dd73df993b5a8f1116a0dd8773807481f/diff:/var/lib/docker/overlay2/39eea4a700151a4812984f19f4d6baf581f8999489f0b3b139e3f21f02caa795/diff:/var/lib/docker/overlay2/5dc8f3eaf9a1a43a478b8c6314ca9959362ae38cc131b76a123bdfe74f2c4e43/diff:/var/lib/docker/overlay2/e8d756a13f6fcb860a47fddd92b411ec6ab5c6180e177a84ea7e80717cae5fba/diff:/var/lib/docker/overlay2/20532e82f753ef155a6cbc1b5f38c61e296b8e090e8ec10939875f871d04b548/diff:/var/lib/docker/overlay2/f795648ab88fdce72c84b9e1aa8eabaf52b57d5ee0befb27d6a9a8d6ad64719c/diff:/var/lib/docker/overlay2/434c0ab2f99abed90ed902d7e0a4e7b19fd1f8de6b8366479751b24499d1d264/diff:/var/lib/docker/overlay2/bfd285a8292553c68f61310fda8b32c148ec5b3342a0c1648a8b1fdd66f814b5/diff:/var/lib/docker/overlay2/daa40d0ef2e18c68a6999f41866f2b4a59f7290bc368871531ba50c15bbc51f7/diff:/var/lib/docker/overlay2/ecf4fb0fc8cc8f3332ab1a38527e595333b4e89a6adacb5515de5d00e8a61caf/diff:/var/lib/docker/overlay2/36c0d4676acbffa998996cde30526bbc41f1ea39c8c06251fe01174e38f159f6/diff:/var/lib/docker/overlay2/b863a4487e4431115dd6303d4e4fdf48956b1a97d94a671fb0492d2a9545c91f/diff:/var/lib/docker/overlay2/2a51eaa9ded3896c17173a8825d36d780ab3a8c2216b15ada8fe6974baca9a60/diff:/var/lib/docker/overlay2/e78318a83dee5d0a5de8d7e818410b31e8ab4f29c9cfe965dfe6f333af0614ae/diff:/var/lib/docker/overlay2/c0d6d412cf496c327d02c240b5cd12c2897b6d6e977a64a966f0b4d8ec3dffed/diff:/var/lib/docker/overlay2/8e9c9c64b138bd5502056e8f1c2d95225255c3bbbd06a90284454f99a9c96da3/diff:/var/lib/docker/overlay2/28cfbb861499e8ff39ade4d9ae881a684495cf1c31d1e44bc7433c50805e37b1/diff:/var/lib/docker/overlay2/4d5911d82f7ce5fa24971252cbccb918ba77e65eb9a7b5e8f81744dd2e099e89/diff",
                "MergedDir": "/var/lib/docker/overlay2/c6081e99405454178292ca7d3185e8c7b2688aa68e7c20bffcb8fa8ba5867ff3/merged",
                "UpperDir": "/var/lib/docker/overlay2/c6081e99405454178292ca7d3185e8c7b2688aa68e7c20bffcb8fa8ba5867ff3/diff",
                "WorkDir": "/var/lib/docker/overlay2/c6081e99405454178292ca7d3185e8c7b2688aa68e7c20bffcb8fa8ba5867ff3/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/1080p-slow-22",
                "Destination": "/watch3",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/4k-slow-25",
                "Destination": "/watch5",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/Out",
                "Destination": "/output",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/Handbrake/config",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/Storage",
                "Destination": "/storage",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/720p-med-22",
                "Destination": "/watch2",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/1080p-med-24",
                "Destination": "/watch4",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Rip-hole/In/720p-slow-20",
                "Destination": "/watch",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "15fb2b3fdb6910c71674c257941bf4aa408020e0b1e973ad015c2bc3d3d8c113",
                "Source": "/var/lib/docker/volumes/15fb2b3fdb6910c71674c257941bf4aa408020e0b1e973ad015c2bc3d3d8c113/_data",
                "Destination": "/trash",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "ad4c6faf99e6",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "AUTOMATED_CONVERSION_PRESET=Custom/720p-H265-20-slow",
                "AUTOMATED_CONVERSION_PRESET_2=Custom/720p-H265-22-med",
                "AUTOMATED_CONVERSION_PRESET_3=Custom/1080p-H265-22-slow-mkv",
                "AUTOMATED_CONVERSION_PRESET_4=Custom/1080p-H265-24-med-mkv",
                "AUTOMATED_CONVERSION_PRESET_5=Custom/4k-H265-25-slow-mkv",
                "AUTOMATED_CONVERSION_OUTPUT_SUBDIR=SAME_AS_SRC",
                "AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION=copy",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "USER_ID=1000",
                "GROUP_ID=1000",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "TZ=Etc/UTC",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "PACKAGES_MIRROR=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=0",
                "SECURE_CONNECTION=0",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0",
                "HANDBRAKE_DEBUG=0",
                "HANDBRAKE_GUI=1",
                "AUTOMATED_CONVERSION=1",
                "AUTOMATED_CONVERSION_FORMAT=mp4",
                "AUTOMATED_CONVERSION_SOURCE_STABLE_TIME=5",
                "AUTOMATED_CONVERSION_SOURCE_MIN_DURATION=10",
                "AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION=0",
                "AUTOMATED_CONVERSION_KEEP_SOURCE=1",
                "AUTOMATED_CONVERSION_OUTPUT_DIR=/output",
                "AUTOMATED_CONVERSION_OVERWRITE_OUTPUT=0",
                "AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS=",
                "AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS=jpg jpeg bmp png gif txt nfo",
                "AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS=5",
                "AUTOMATED_CONVERSION_CHECK_INTERVAL=5",
                "AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS=",
                "AUTOMATED_CONVERSION_INSTALL_PKGS=",
                "AUTOMATED_CONVERSION_NO_GUI_PROGRESS=0",
                "AUTOMATED_CONVERSION_USE_TRASH=0"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/handbrake",
            "Volumes": {
                "/config": {},
                "/output": {},
                "/storage": {},
                "/trash": {},
                "/watch": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "MacAddress": "02:42:ac:14:00:02",
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "ef6cd497f418506f1c1e0db50dda2d48dbff6cc186bb1fc3535dc8d1a6f47da3",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:b06c7c479880bcbd64bf12a355bfed7dcd5a2e9118f9df1b10bb915051c2e5e1",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "handbrake",
                "com.docker.compose.project.config_files": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/Handbrake/Handbrake.yml",
                "com.docker.compose.project.environment_file": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/Handbrake/Handbrake.env,/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/global.env",
                "com.docker.compose.project.working_dir": "/srv/dev-disk-by-uuid-0a5dd930-310d-475b-ac91-de56f2e4afc3/Docker-data/Handbrake",
                "com.docker.compose.service": "handbrake",
                "com.docker.compose.version": "2.24.2",
                "org.label-schema.description": "Docker container for HandBrake",
                "org.label-schema.name": "handbrake",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-handbrake",
                "org.label-schema.version": "23.11.4"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "8ee62a4255bccaa6a5f2e04398cf920d116685995870d7d7f10ace16ecb61971",
            "SandboxKey": "/var/run/docker/netns/8ee62a4255bc",
            "Ports": {
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5800"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "5800"
                    }
                ],
                "5900/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "handbrake_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "handbrake-handbrake-1",
                        "handbrake",
                        "ad4c6faf99e6"
                    ],
                    "MacAddress": "02:42:ac:14:00:02",
                    "NetworkID": "13c9b45c23a7e5460d3bf80ee2c3770d5816a3678c02e0b9466377a90f78429f",
                    "EndpointID": "8e5696770f9602ad43e8ee3185bf5fbcd79feed0345fd725c3de40be2b3e88a0",
                    "Gateway": "172.20.0.1",
                    "IPAddress": "172.20.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": [
                        "handbrake-handbrake-1",
                        "handbrake",
                        "ad4c6faf99e6"
                    ]
                }
            }
        }
    }
]

Anything else?

No response

Gonkers commented 4 months ago

I wanted to add that I ran into this bug as well. My preset has MKV and the output is being overridden by the default value of AUTOMATED_CONVERSION_FORMAT Setting that variable to match my preset is a viable workaround for now.

docker-compose.yml ```yml services: handbrake: image: docker.io/jlesage/handbrake container_name: handbrake environment: - USER_ID=444 - GROUP_ID=996 - SUP_GROUP_IDS=106 - UMASK=000 - DISPLAY_WIDTH=1280 - DISPLAY_HEIGHT=720 - TZ=America/New_York - AUTOMATED_CONVERSION_PRESET=H265 4K - AUTOMATED_CONVERSION_FORMAT=mkv group_add: - "106" ports: - "5800:5800" volumes: - "/handbrake/config:/config:rw" - "/handbrake/output:/output:rw" - "/handbrake/storage:/storage:rw" - "/handbrake/trash:/trash:rw" - "/handbrake/watch_1:/watch:rw" devices: - "/dev/dri/renderD128:/dev/dri/renderD128" restart: always ```
preset.json ```json { "PresetList": [ { "AlignAVStart": false, "AudioCopyMask": [ "copy:mp2", "copy:mp3", "copy:aac", "copy:ac3", "copy:dts", "copy:dtshd", "copy:eac3", "copy:flac", "copy:truehd", "copy:opus" ], "AudioEncoderFallback": "none", "AudioLanguageList": [ "eng" ], "AudioList": [ { "AudioBitrate": 6144, "AudioCompressionLevel": 0, "AudioEncoder": "copy", "AudioMixdown": "5point1", "AudioNormalizeMixLevel": false, "AudioSamplerate": "auto", "AudioTrackQualityEnable": false, "AudioTrackQuality": 3, "AudioTrackGainSlider": 0, "AudioTrackDRCSlider": 0 }, { "AudioBitrate": 256, "AudioCompressionLevel": 0, "AudioEncoder": "ac3", "AudioMixdown": "stereo", "AudioNormalizeMixLevel": false, "AudioSamplerate": "auto", "AudioTrackQualityEnable": false, "AudioTrackQuality": 3, "AudioTrackGainSlider": 0, "AudioTrackDRCSlider": 0 } ], "AudioSecondaryEncoderMode": true, "AudioTrackSelectionBehavior": "all", "ChapterMarkers": true, "ChildrenArray": [], "Default": true, "FileFormat": "av_mkv", "Folder": false, "FolderOpen": false, "Optimize": false, "Mp4iPodCompatible": false, "PictureCropMode": 0, "PictureBottomCrop": 140, "PictureLeftCrop": 0, "PictureRightCrop": 0, "PictureTopCrop": 140, "PictureDARWidth": 1920, "PictureDeblockPreset": "off", "PictureDeblockTune": "medium", "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8", "PictureDeinterlaceFilter": "decomb", "PictureCombDetectPreset": "default", "PictureCombDetectCustom": "", "PictureDeinterlacePreset": "default", "PictureDeinterlaceCustom": "", "PictureDenoiseCustom": "", "PictureDenoiseFilter": "off", "PictureSharpenCustom": "", "PictureSharpenFilter": "off", "PictureSharpenPreset": "medium", "PictureSharpenTune": "none", "PictureDetelecine": "off", "PictureDetelecineCustom": "", "PictureColorspacePreset": "off", "PictureColorspaceCustom": "", "PictureChromaSmoothPreset": "off", "PictureChromaSmoothTune": "none", "PictureChromaSmoothCustom": "", "PictureItuPAR": false, "PictureKeepRatio": true, "PicturePAR": "auto", "PicturePARWidth": 1, "PicturePARHeight": 1, "PictureWidth": 3840, "PictureHeight": 2160, "PictureUseMaximumSize": true, "PictureAllowUpscaling": false, "PictureForceHeight": 0, "PictureForceWidth": 0, "PicturePadMode": "none", "PicturePadTop": 0, "PicturePadBottom": 0, "PicturePadLeft": 0, "PicturePadRight": 0, "PicturePadColor": "black", "PresetName": "H265 4K", "Type": 1, "SubtitleAddCC": true, "SubtitleAddForeignAudioSearch": true, "SubtitleAddForeignAudioSubtitle": false, "SubtitleBurnBehavior": "foreign", "SubtitleBurnBDSub": false, "SubtitleBurnDVDSub": false, "SubtitleLanguageList": [ "eng" ], "SubtitleTrackSelectionBehavior": "all", "VideoAvgBitrate": 0, "VideoColorMatrixCode": 0, "VideoEncoder": "x265_10bit", "VideoFramerateMode": "vfr", "VideoGrayScale": false, "VideoScaler": "swscale", "VideoPreset": "slow", "VideoTune": "", "VideoProfile": "main10", "VideoLevel": "auto", "VideoOptionExtra": "strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2", "VideoQualityType": 2, "VideoQualitySlider": 12, "VideoMultiPass": true, "VideoTurboMultiPass": false, "x264UseAdvancedOptions": false, "PresetDisabled": false, "MetadataPassthrough": true } ], "VersionMajor": 53, "VersionMicro": 0, "VersionMinor": 0 } ```