Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Coredump with QSV preset and HandbrakeCLI automator #317

Open
naz9ul opened this issue Jan 14, 2024 · 1 comment
Open

[Bug] Coredump with QSV preset and HandbrakeCLI automator #317

naz9ul opened this issue Jan 14, 2024 · 1 comment
Labels

Comments

@naz9ul
Copy link

naz9ul commented Jan 14, 2024

Current Behavior

With automator run, I get a core dump for each video encode with QSV preset.

I Have try with the "VideoOptionExtra": "lowpower=0 " no effect

Expected Behavior

Should work because the gui app work perfectly with the same preset

Steps To Reproduce

Select any QSV Profile for encoding

Environment

  • OS: Debien
  • OS version: 12.2
  • CPU: Intel(R) Core(TM) i7-8700
  • Docker version: 24.0.7
  • Device model: dell optiplex
  • Browser/OS: Firefox/Macos

Container creation

docker run -d
-m 8192MB --cpus 4
--name=handbrake
-p 5800:5800
-v /docker/appdata/handbrake:/config:rw
-v /docker/storage:/storage:ro
-v /docker/watch:/watch:rw
-v /docker/output:/output:rw
--device /dev/dri
-e TZ=America/Toronto
-e INSTALL_PACKAGES="btop htop mc"
-e AUTOMATED_CONVERSION=1
-e AUTOMATED_CONVERSION_KEEP_SOURCE=1
-e AUTOMATED_CONVERSION_PRESET="Hardware/H.265 QSV 1080p"
-e AUTOMATED_CONVERSION_FORMAT=mp4
-e AUTOMATED_CONVERSION_NO_GUI_PROGRESS=1
-e HANDBRAKE_DEBUG=1
-e DARK_MODE=1
-e USER_ID=0
-e GROUP_ID=0
--group-add=$render_group
--privileged
-h handbrake
jlesage/handbrake:latest

Container log

[xvnc              ] Sat Jan 13 17:35:52 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 842
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 724 rects, 11.9191 Mpixels
[xvnc              ]  EncodeManager:            11.3125 KiB (1:4116.47 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 121 rects, 98.229 kpixels
[xvnc              ]  EncodeManager:                 3.6582 KiB (1:105.277 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 1.281 krects, 1.28915 Mpixels
[xvnc              ]  EncodeManager:                  193.212 KiB (1:26.141 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 986 rects, 5.75839 Mpixels
[xvnc              ]  EncodeManager:                  2.22558 MiB (1:9.87509 ratio)
[xvnc              ]  EncodeManager:   Total: 3.112 krects, 19.0649 Mpixels
[xvnc              ]  EncodeManager:          2.42888 MiB (1:29.9571 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 41.2364 Mpixels in / 15.1275 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:2.72593 ratio)
[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'...
[supervisor        ] service 'nginx' exited (with status 0).
[supervisor        ] stopping service 'openbox'...
[supervisor        ] service 'openbox' exited (with status 0).
[supervisor        ] stopping service 'xvnc'...
[xvnc              ] Sat Jan 13 18:27:05 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: installing requested package(s)...
[cont-init   ] 15-install-pkgs.sh: package 'btop' already installed
[cont-init   ] 15-install-pkgs.sh: package 'htop' already installed
[cont-init   ] 15-install-pkgs.sh: package 'mc' already installed
[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: found optical drive /dev/sr0, group 24.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[cont-init   ] 54-check-qsv.sh: Microarchitecture: INTEL_CFL
[cont-init   ] 54-check-qsv.sh: Kernel: 6.6.10-1-liquorix-amd64
[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.2                                         │
    │ Docker Image Version:  24.01.2                                       │
    │ 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 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[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 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Dec 21 2023 00:54:05
[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              ] Sat Jan 13 18:27:24 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.
[supervisor        ] all services started.

Container inspect

info     inspect
root@optiplex:/docker# docker inspect handbrake
[
    {
        "Id": "4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da",
        "Created": "2024-01-13T21:48:04.833938583Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 989171,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-01-13T23:27:23.67713283Z",
            "FinishedAt": "2024-01-13T23:27:05.987791399Z"
        },
        "Image": "sha256:17f7a21c39a63378f642ea9f3434380f4c140552730b5f28a4fa041804e5f5a2",
        "ResolvConfPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/hostname",
        "HostsPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/hosts",
        "LogPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da-json.log",
        "Name": "/handbrake",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
]   }   }   }   }   "DriverOpts": null42:ac:11:00:04",80a4af9ff2b0ca1fe67920ab0ab1b3269
-bash: ex:/docker#: No such file or directory
-bash: info: command not found
-bash: root@optiplex:/docker#: No such file or directory
-bash: [: missing `]'
>
>
>
> ^C
root@optiplex:/docker# docker inspect handbrake
[
    {
        "Id": "4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da",
        "Created": "2024-01-13T21:48:04.833938583Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 989171,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-01-13T23:27:23.67713283Z",
            "FinishedAt": "2024-01-13T23:27:05.987791399Z"
        },
        "Image": "sha256:17f7a21c39a63378f642ea9f3434380f4c140552730b5f28a4fa041804e5f5a2",
        "ResolvConfPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/hostname",
        "HostsPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/hosts",
        "LogPath": "/var/lib/docker/containers/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da/4996b350c0e48ae8659e8d485b99ff3fb83ddd7fc31933d826c7504315bc19da-json.log",
        "Name": "/handbrake",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/docker/appdata/handbrake:/config:rw",
                "/docker/storage:/storage:ro",
                "/docker/watch:/watch:rw",
                "/docker/output:/output:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "5800"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                39,
                177
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": [
                "105"
            ],
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": true,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": [
                "label=disable"
            ],
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 8589934592,
            "NanoCpus": 4000000000,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteIOps": [],
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [
                {
                    "PathOnHost": "/dev/dri",
                    "PathInContainer": "/dev/dri",
                    "CgroupPermissions": "rwm"
                }
            ],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 17179869184,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": null,
            "ReadonlyPaths": null
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/258ae2b83248aafcce612c16ae68ca50e4c1de72a38bc6f25e8fcaf347e828df-init/diff:/var/lib/docker/overlay2/7261e1df0ae2ce110f50348b2a791ad287f5c3d2303aa716963409cf4f2c4992/diff:/var/lib/docker/overlay2/38424b60931b9724d309513da832188f505bc0ee502332ecfc89c38bbf90fd33/diff:/var/lib/docker/overlay2/fa4337317410d4294fa1c6087258481dae3b54b0c9a44befc6614ff10d09a8b2/diff:/var/lib/docker/overlay2/53c6fbe4626b746b100c9010879d468fd7dc7cb976f6cacbcdd296e5b497d9f2/diff:/var/lib/docker/overlay2/5319f928bcf3e30758f85b771698510fc0a85ed6040135ebcf8468201f26b1e2/diff:/var/lib/docker/overlay2/b9cc7a7fb853cb8dd208d3e763855edfe2266b9be4431a144d3946b58f3606a9/diff:/var/lib/docker/overlay2/03341baa882ee65b6bdffe8a5f9631e29e9ce6267416ed2d34e6dadc0dfaa8ac/diff:/var/lib/docker/overlay2/b1cb0426a0ee667bb9180184dfebfa7a310d1ba931a030beda344080b44ff641/diff:/var/lib/docker/overlay2/b6d473bae22fe3ebf5f7ca9f3726eadc2bf4da84e36b63532d4336f15ab70ac0/diff:/var/lib/docker/overlay2/e18b11ab14c7beefdbb847ba2171c0341542efdb2e0a3574d68495cce96803d4/diff:/var/lib/docker/overlay2/feb6d165db64515d67b67d74caccc01df8056c32d7c3ee3d3e6579a5d29571af/diff:/var/lib/docker/overlay2/d0d4712109b1505e50808b44a8be59c31ec868b91da439c45ea85bdf0e965dbe/diff:/var/lib/docker/overlay2/c100183e41635b13aed9f30cac4ec622e014e03b0ac3822790b30a13fed1e968/diff:/var/lib/docker/overlay2/aacd16ec8960ff71d8d5fb9dcbe6e9ac48b8aabc43912904a4b57b4d00a53863/diff:/var/lib/docker/overlay2/0994e4ff93a1025c0686c17c60b3935d044f820703d1691ef14aaedcd33c6c70/diff:/var/lib/docker/overlay2/dd37ba6d944b852b7b37fecf31aab8257a96704b721722c0ff7b69885611768c/diff:/var/lib/docker/overlay2/dfc160961cf7685ee92172b9b6159d2f112cc9f09f0d5815abfadbca90c286de/diff:/var/lib/docker/overlay2/72d7cb39738c7473d92106e6d34124ca256b654e3c1ed7277e1a572193338c7d/diff:/var/lib/docker/overlay2/9539c940e902b3c32b4ecf93887b9e11b95f4c4bf1e33e5eca9af91780e5d05d/diff:/var/lib/docker/overlay2/b23f1f871ff300e63ad6c16075167a1687a2456760f73c0aa9cbff1efddbb7fa/diff:/var/lib/docker/overlay2/9d36d3e8f373c14e4d0bbc4f7c38f283e7ee961fb2be2a2d188501088984c29b/diff:/var/lib/docker/overlay2/5b1e64e05d8f7e3d33886cae85e374ca86d2e630805220232d7ed4a911b11dde/diff:/var/lib/docker/overlay2/2f65de63fe4652b540fd448b54a2317969e8aa379c1c7755c8e642e1baa95146/diff:/var/lib/docker/overlay2/e617a8718bd4fdcbdd4e5f35af69d68f66a144c3c4dbf72479cebef24070d38b/diff:/var/lib/docker/overlay2/c1e5b8053bb072fb73bd0fd2d0f6734d9e809423b11e4e51e3e6f9a63361e7ce/diff:/var/lib/docker/overlay2/979dd79d53594bb2d26eab66fd7fb181d264a116a5a2b56ae99628c5d0d8a64c/diff:/var/lib/docker/overlay2/a87ba19d8dfcb1649e1e82083f4ab70172f93607cfce0bc370b015847f7a0d1d/diff:/var/lib/docker/overlay2/eb3fc61d5273af9b7f31b0f0cb1611e8e4805ce8f8a3c7c7a1420b4ab2500c0e/diff:/var/lib/docker/overlay2/aa0e0447c556e6d1e47aa5fb6194c6d7ab0696720ff6008df9b932382d1f4ff7/diff:/var/lib/docker/overlay2/d2580dd20ea2a11cee700ea608a2a578f876d1711a650ceec18df094d56279af/diff:/var/lib/docker/overlay2/616fc397928d1056efc24d1fb141f595f9c3d5b50581b224b3881681b7fef206/diff:/var/lib/docker/overlay2/5ab7a73353d1c7f85e2ebebc3e0eb6fee6f034f90f86608664c4bb2249091e72/diff:/var/lib/docker/overlay2/cfa5359bc01743131f6128e27abe7d5669fdd7c20f37c9760aa7a650522bd621/diff:/var/lib/docker/overlay2/7ac997116d789a65698bf85b0592093bbca780c375a8a77fce1842292e7301c7/diff:/var/lib/docker/overlay2/d3d276192e51cc14ececde273e94e2efc347aa97ae1ea48db88135cd2f08e3f9/diff:/var/lib/docker/overlay2/e0893237639f5db775781200d22125980e1c0cb25b2d8f2229b02704eba128a0/diff",
                "MergedDir": "/var/lib/docker/overlay2/258ae2b83248aafcce612c16ae68ca50e4c1de72a38bc6f25e8fcaf347e828df/merged",
                "UpperDir": "/var/lib/docker/overlay2/258ae2b83248aafcce612c16ae68ca50e4c1de72a38bc6f25e8fcaf347e828df/diff",
                "WorkDir": "/var/lib/docker/overlay2/258ae2b83248aafcce612c16ae68ca50e4c1de72a38bc6f25e8fcaf347e828df/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "e6b870ed4f9edaaa1c22d5a2932241a84a99b058e240d6f2c650f78b561759ac",
                "Source": "/var/lib/docker/volumes/e6b870ed4f9edaaa1c22d5a2932241a84a99b058e240d6f2c650f78b561759ac/_data",
                "Destination": "/trash",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/docker/appdata/handbrake",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/docker/storage",
                "Destination": "/storage",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/docker/watch",
                "Destination": "/watch",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/docker/output",
                "Destination": "/output",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "handbrake",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=America/Toronto",
                "INSTALL_PACKAGES=btop htop mc",
                "AUTOMATED_CONVERSION_PRESET=Hardware/H.265 QSV 1080p",
                "HANDBRAKE_DEBUG=1",
                "GROUP_ID=0",
                "USER_ID=0",
                "AUTOMATED_CONVERSION=1",
                "AUTOMATED_CONVERSION_KEEP_SOURCE=1",
                "AUTOMATED_CONVERSION_FORMAT=mp4",
                "AUTOMATED_CONVERSION_NO_GUI_PROGRESS=1",
                "DARK_MODE=1",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "PACKAGES_MIRROR=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "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_GUI=1",
                "AUTOMATED_CONVERSION_SOURCE_STABLE_TIME=5",
                "AUTOMATED_CONVERSION_SOURCE_MIN_DURATION=10",
                "AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION=0",
                "AUTOMATED_CONVERSION_OUTPUT_DIR=/output",
                "AUTOMATED_CONVERSION_OUTPUT_SUBDIR=",
                "AUTOMATED_CONVERSION_OVERWRITE_OUTPUT=0",
                "AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS=",
                "AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION=ignore",
                "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_USE_TRASH=0"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/handbrake:latest",
            "Volumes": {
                "/config": {},
                "/output": {},
                "/storage": {},
                "/trash": {},
                "/watch": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "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": "24.01.2"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "bd5119ffc8c2e46f605ec5310c8fdb09e14c4ac23c3db75e719611aa3dfee787",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5800"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "5800"
                    }
                ],
                "5900/tcp": null
            },
            "SandboxKey": "/var/run/docker/netns/bd5119ffc8c2",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "cb02d825a4630d34df480a4af9ff2b0ca1fe67920ab0ab1b32699ba46f3a91e4",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.4",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:04",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "1530ae24aabf5bc1339c4708208327b616700cf4c9f1d2f7c58f6f1b9e64e566",
                    "EndpointID": "cb02d825a4630d34df480a4af9ff2b0ca1fe67920ab0ab1b32699ba46f3a91e4",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.4",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:04",
                    "DriverOpts": null
                }
            }
        }
    }
]

Anything else?

Work great with an nvidia card using nvenc with https://github.com/zocker-160/handbrake-nvenc-docker.

But QuickSync ( QSV ) is by far faster.

Let me know if I can be of any help.

By the way, I speak french, so sorry for my bad english

Sylvain ;-)

@naz9ul naz9ul added the bug label Jan 14, 2024
@johnvick
Copy link

This looks like a problem I have had but never found a solution.

I did some testing in this thread:

#313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants