Open gurkburk76 opened 1 year ago
Do you have an URL for the test file you are using ?
Which official preset are you using ?
Can you also provide the container's log: docker logs <container name>
It would seem like it does this with every file i throw at it, an seems like it crashes at the moment it's about to bring up a sample picture within handbrake of the video i load.
I'm currently rebuilding my computer for re-encoding to either run proxmox or straight up ubuntu with docker on it, haven't decided yet. I'll get back with requested info when done if the above info ain't enough to help you out.
Also, and outside of the scope of this bugreport, would it be possible to make an image with nightly builds of handbrake? they recently added dolby vision support after 1.6.1 and i very much like that... :) I'll try to make my own docker image with it, but last time i tried there was some problem with x265 files iirc.
It would seem like it does this with every file i throw at it, an seems like it crashes at the moment it's about to bring up a sample picture within handbrake of the video i load.
Did you ever find a fix for this issue?
Hello, not sure if there is anything funky with my setup but whenever i bring up the docker image and try to load any files it crashes the x server at whne it finishes loading.
Here is some debug i think you could use:
I start it with: docker run -d \ --name=handbrake \ -p 5800:5800 \ -v /home/apa/handbrake/config:/config:rw \ -v /home/apa/handBrake/watch:/watch:rw \ -v /home/apa/handBrake/output:/output:rw \ -v /home/apa/handbrake/mounts:/storage:ro \ -v /home/apa/handbrake/test:/storage2:ro \ jlesage/handbrake:latest
/storage points at a samba share, /storage2 at the local file system, same things happens on both paths.
testfile is lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv a very comman one as to facilitate troubleshooting.
cat Activity.log.758 [08:52:46] gtkgui: HandBrake 1.6.1 (2023022600) - Linux x86_64 - https://handbrake.fr [08:52:46] Compile-time hardening features are enabled [08:52:46] qsv: not available on this system Cannot load libnvidia-encode.so.1 [08:52:46] hb_init: starting libhb thread [08:52:46] hb_init: starting libhb thread [08:52:46] hb_init: starting libhb thread [08:53:07] CPU: Common KVM processor [08:53:07] - logical processor count: 8 [08:53:07] Intel Quick Sync Video support: no [08:53:07] hb_scan: path=/storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv, title_index=0 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:333: failed opening UDF image /storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv disc.c:437: error opening file BDMV/index.bdmv disc.c:437: error opening file BDMV/BACKUP/index.bdmv [08:53:07] bd: not a bd - trying as a stream/file instead libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav: vm: vm: failed to read VIDEO_TS.IFO [08:53:07] dvd: not a dvd - trying as a stream/file instead Input #0, matroska,webm, from '/storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv': Metadata: creation_time : 2023-01-31T12:37:42.000000Z ENCODER : Lavf59.27.100 Duration: 00:00:30.04, start: -0.007000, bitrate: 2643 kb/s Stream #0:0: Video: av1 (Main), yuv420p(tv, bt709), 3840x2160, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn (default) Metadata: DURATION : 00:00:30.037000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: title : Stereo DURATION : 00:00:30.021000000 [08:53:07] scan: decoding previews for title 1 [08:53:07] scan: audio 0x1: opus, rate=48000Hz, bitrate=1 English (Opus) (2.0 ch) [08:53:22] scan: 10 previews, 3840x2160, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left [08:53:22] libhb: scan thread found 1 valid title(s)
docker inspect handbrake [ { "Id": "37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413", "Created": "2023-02-27T08:52:38.973729006Z", "Path": "/init", "Args": [], "State": { "Status": "exited", "Running": false, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 0, "ExitCode": 139, "Error": "", "StartedAt": "2023-02-27T08:52:40.102805066Z", "FinishedAt": "2023-02-27T08:53:25.319164963Z" }, "Image": "sha256:d771df1d21f32759656bb4140124b0680251c1cb71c96ac325322ae898b5853e", "ResolvConfPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/resolv.conf", "HostnamePath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/hostname", "HostsPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/hosts", "LogPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/37f55661840ae68254d7dfc122 affb4c11abc465ec3bb6e671ae722cf1d52413-json.log", "Name": "/handbrake", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "docker-default", "ExecIDs": null, "HostConfig": { "Binds": [ "/home/apa/handbrake/config:/config:rw", "/home/apa/handBrake/watch:/watch:rw", "/home/apa/handBrake/output:/output:rw", "/home/apa/handbrake/mounts:/storage:ro", "/home/apa/handbrake/test:/storage2:ro" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "default", "PortBindings": { "5800/tcp": [ { "HostIp": "", "HostPort": "5800" } ] }, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "CgroupnsMode": "host", "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "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" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a-init/diff:/var/lib/ docker/overlay2/2817527ba4052e195874cd50c972f38980754e1987e663d167a002b8ab7a1eaa/diff:/var/lib/docker/overlay2/c578d820740a024e8a4a31eeabc 43e3c7adb356708806ca834ba963ac0744783/diff:/var/lib/docker/overlay2/1faef04fc022808c8e392fea64712ad4760c7bad66955deb7e9cf8df31e150d3/diff: /var/lib/docker/overlay2/3ceea71728ae75ae88a009e4777377b9454be0e922c2cc1c8ac35f6b88280683/diff:/var/lib/docker/overlay2/aafa5ba59a867de1e9 2fc65c9700bfa65570607ff3e21aae409b120bddab17f1/diff:/var/lib/docker/overlay2/62681e192c0c024c0927ff7c2800278b3e375c78d3abdd59112996fa4e004 3e8/diff:/var/lib/docker/overlay2/1fd53a87e80baf2ddcc5a63aeb399f4a2a232dfad36fd48421b271a86d62e3f1/diff:/var/lib/docker/overlay2/c54c8660e 93b116461440dbb9c9b68719ec9a785610cb4d6542d0ebf7d1c72f8/diff:/var/lib/docker/overlay2/a8f50a350e94ac1bab2f1dc9a9a1fc043aff1fac96fb09339cc0 0c5bc5c5f362/diff:/var/lib/docker/overlay2/428923af816ebe7bb590e2904dcf416aa0b24cfa8bf820096d652e6eab9ebc23/diff:/var/lib/docker/overlay2/ 0ca1781df4b099c4236e2b4efc0c8b76b0363cdc3eeb8c6ae4851fac79076db3/diff:/var/lib/docker/overlay2/392dd7d5aca49a1f3c761993d34a7229eea8a892291 cec366f301dd952c9762d/diff:/var/lib/docker/overlay2/07e8e32fdd743270b210aacf89eefdf3af24c8502273dcd4cc5a7386a2e5f0e5/diff:/var/lib/docker/ overlay2/1f64a5c7c75406760469c46172ec969784f292a5b9f534b521e19b17d1d3a493/diff:/var/lib/docker/overlay2/06b22ca96e679439d3ff12b0759a6d93ae ec02db7d849e3b9dd152925014ccc2/diff:/var/lib/docker/overlay2/5409ca01b27381bd45cd2e20f30491b08bcb7233df38af2375933594ebc61d8e/diff:/var/li b/docker/overlay2/229b7ca78e5112bd6ed54f93bfa7360da5ac6683f5016bdb10bcc266d548e3cb/diff:/var/lib/docker/overlay2/2fc628a6e2a04ad69782860a5 fd5c179f9d2d283153c4bbd90234486b811691d/diff:/var/lib/docker/overlay2/102bfbc0fb3cb987a2cf6db33766f4e05bdae5fdc4fd0e3b4215b2e391d4055b/dif f:/var/lib/docker/overlay2/76adc27a7d11bb1d0c5a2626c7516d874946fd0abd71673a5f80fb20b92b86ab/diff:/var/lib/docker/overlay2/bb4481d1be8c2492 9dbcf5583ef878d14c923537f2353b545e4eeaa62d5b499b/diff:/var/lib/docker/overlay2/87dd1e121ce9972f42ddf99e1d25a04d4955d78578aa23ff921f65d6f24 5af8d/diff:/var/lib/docker/overlay2/b3317d33f3d27d2809b6af49ae2de8dbcfb9ca309209c21c704dd9ab13876cd1/diff:/var/lib/docker/overlay2/4fb0c52 8fa3c52ec228a506bd37813ce6ffc0b878706d41377a25655465f1c90/diff:/var/lib/docker/overlay2/dc4a81ae5a85c666cac2159a56077d1a18993e977dc3ad2218 b1b24aea87e7a5/diff:/var/lib/docker/overlay2/bc3c6211f5c77f8ce7b599ec57863f82eb30f4a5240c08379f79034b140546a1/diff:/var/lib/docker/overlay 2/23097dc944ad59f54e7401d75e3586b250b8021df2768c94a20d07dc1442d0f8/diff:/var/lib/docker/overlay2/0d20133458082bfdfbac39a66a5e8ae8884e341ee 78e72104f23d1f52c5e97a6/diff:/var/lib/docker/overlay2/a31b1b201e7cfa88d98ef63645e15f3e7206e05b3cace3873ca0e55353faaa03/diff:/var/lib/docke r/overlay2/0280d2161b3315739f12c6b22f46addd4d026042065d561405d33502d6857612/diff:/var/lib/docker/overlay2/44ce7369ee3a8cb494880e7b4061dd47 8c081fb6d8e13a586175cdf1a5e5be77/diff:/var/lib/docker/overlay2/741ca98dbf6137e9e282b54266b991daf724a59c7c075d14cfafa0f94bfec749/diff:/var/ lib/docker/overlay2/d8c9fe2bfce457d463a93a62b6f756b966ff6e7320e2a374d9ea5f45d9911267/diff:/var/lib/docker/overlay2/eef5e3ede57f448e3071d56 6f623d789b512ed2adc8f7b32f5425194c6597f82/diff", "MergedDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/merged", "UpperDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/diff", "WorkDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/home/apa/handbrake/config", "Destination": "/config", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/home/apa/handBrake/watch", "Destination": "/watch", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/home/apa/handBrake/output", "Destination": "/output", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/home/apa/handbrake/mounts", "Destination": "/storage", "Mode": "ro", "RW": false, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/home/apa/handbrake/test", "Destination": "/storage2", "Mode": "ro", "RW": false, "Propagation": "rprivate" }, { "Type": "volume", "Name": "81c1bb1a63b446c050979dac34e5a12989cefc0a3c163a3673095455ebce5b8f", "Source": "/var/lib/docker/volumes/81c1bb1a63b446c050979dac34e5a12989cefc0a3c163a3673095455ebce5b8f/_data", "Destination": "/trash", "Driver": "local", "Mode": "", "RW": true, "Propagation": "" } ], "Config": { "Hostname": "37f55661840a", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "5800/tcp": {}, "5900/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "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=", "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_PRESET=General/Very Fast 1080p30", "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_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_NO_GUI_PROGRESS=0", "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": "23.02.1" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "9949593d0af1b70e95fa672b133c7a8af24e4a170597193851dc73bb55a75c8b", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/9949593d0af1", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "52653ed5fdedd36faa92ac0d1739a8837f18982f9427587391840ca3c3341d3a", "EndpointID": "", "Gateway": "", "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "", "DriverOpts": null } } } } ]
Anything else you need ?