C_James Posted July 8, 2021 Share Posted July 8, 2021 (edited) 10 minutes ago, stev067 said: Hey guys, Firstly thank you for creating and maintaining this docker. I upgraded my CPU to a ryzen 5950x to speed up a tens-of-terabytes size reduction project using handbrake. I'm pinning 14 of the 16 cores to this container, to leave the remaining 2 for my blueiris VM. What I'm finding, is that the cores all hover around 60-85% and rarely go into the 90%+ range, and really never peg 100%. I have an AIO on my CPU, and I am seeing the temp usually around 81C. I'm really just wondering if what I'm seeing is normal. Should I be looking into unlocking the unused processing power, or is this typical behavior? Thanks. its normal. i have a 10 core xeon with all 10 cores being used on handbrake. same high 80 to 90% useage. only thing you are close to thermal limit for the chip. i hope the cooler is for 105w or more cpus. Edited July 8, 2021 by C_James error Quote Link to comment
stev067 Posted July 8, 2021 Share Posted July 8, 2021 2 minutes ago, C_James said: its normal. i have a 10 core xeon with all 10 cores being used on handbrake. same high 80 to 90% temps. you are close to thermal limit for the chip. i hope the cooler is for 105w or more cpus. Are you talking 80-90% cpu usage, or 80-90C temps? I'm more wondering if it's normal that the cores aren't maxing out their potential. My cooler is a corsair h115i people say it's good for this CPU. Quote Link to comment
C_James Posted July 8, 2021 Share Posted July 8, 2021 1 minute ago, stev067 said: Are you talking 80-90% cpu usage, or 80-90C temps? I'm more wondering if it's normal that the cores aren't maxing out their potential. My cooler is a corsair h115i people say it's good for this CPU. im saying usage. that my bad. was typing the reply while in and out of a siege game. and okay. 81c does seem a little high for not all of the cores. i would check in case temps or reapply the thermal paste. 90 c is where ryzen thermal slows down. Quote Link to comment
stev067 Posted July 8, 2021 Share Posted July 8, 2021 1 minute ago, C_James said: im saying usage. that my bad. was typing the reply while in and out of a siege game. and okay. 81c does seem a little high for not all of the cores. i would check in case temps or reapply the thermal paste. 90 c is where ryzen thermal slows down. So but when you run the handbrake docker, what do the core utilizations look like? Quote Link to comment
C_James Posted July 8, 2021 Share Posted July 8, 2021 12 minutes ago, stev067 said: So but when you run the handbrake docker, what do the core utilizations look like? running handbrake now so here a screenshot. 1 Quote Link to comment
stev067 Posted July 8, 2021 Share Posted July 8, 2021 (edited) 16 hours ago, C_James said: running handbrake now so here a screenshot. Huh thanks. Is there anyone with a ryzen cpu who can confirm I should be getting higher CPU utilization than 60-80% per core? Edit: Doesn't seem to have anything to do with temps or my cooler. When I run cinebench, it pegs all my cores at 100% and temps hold around 84c. It shouldn't have anything to do with storage speeds either, since Handbrake is reading from and writing to an nvme drive. Edited July 9, 2021 by stev067 Quote Link to comment
stev067 Posted July 10, 2021 Share Posted July 10, 2021 Just to follow up on my issue, I tried changing the "niceness" to give this docker highest priority and that didn't make a difference. I ended up dedicating fewer cores, and now those remaining cores are going in the 90%+ range. So I guess I have more CPU than handbrake knows what to do with? Quote Link to comment
davper Posted July 12, 2021 Share Posted July 12, 2021 Hi Just installed the docker on my unraid and it appeared to install correctly and is running on my server. But when I try to go to the webui, I get a "refused to connect" error. I left the ports at default, confirmed there is no conflict with another docker. I tried using the unraid menu to connect and typing the address and port directly in the browser. All other dockers work fine. I just installed a pfSense hardware router and am still learning its voodoo. It is mostly default configuration. I see no rules that exclude my unraid server or ports 7803/7903. So I don't think that is it. But I tried making a rule to allow all ports on the unraid server and placed it 2nd in priority behind the anti lockout rule. Again, I am new to pfsense and firewall rules, so I may have done that wrong. Please and Thank you Quote Link to comment
C_James Posted July 12, 2021 Share Posted July 12, 2021 28 minutes ago, davper said: Hi Just installed the docker on my unraid and it appeared to install correctly and is running on my server. But when I try to go to the webui, I get a "refused to connect" error. I left the ports at default, confirmed there is no conflict with another docker. I tried using the unraid menu to connect and typing the address and port directly in the browser. All other dockers work fine. I just installed a pfSense hardware router and am still learning its voodoo. It is mostly default configuration. I see no rules that exclude my unraid server or ports 7803/7903. So I don't think that is it. But I tried making a rule to allow all ports on the unraid server and placed it 2nd in priority behind the anti lockout rule. Again, I am new to pfsense and firewall rules, so I may have done that wrong. Please and Thank you Some times its worth clearing the web browser cache. so might be worth clearing the cache and trying to connect again. Quote Link to comment
davper Posted July 12, 2021 Share Posted July 12, 2021 48 minutes ago, davper said: Hi Just installed the docker on my unraid and it appeared to install correctly and is running on my server. But when I try to go to the webui, I get a "refused to connect" error. I left the ports at default, confirmed there is no conflict with another docker. I tried using the unraid menu to connect and typing the address and port directly in the browser. All other dockers work fine. I just installed a pfSense hardware router and am still learning its voodoo. It is mostly default configuration. I see no rules that exclude my unraid server or ports 7803/7903. So I don't think that is it. But I tried making a rule to allow all ports on the unraid server and placed it 2nd in priority behind the anti lockout rule. Again, I am new to pfsense and firewall rules, so I may have done that wrong. Please and Thank you Disregard. For the last 12 hours, I have been unable to connect. Then when I post for additional help, it resolves itself. effin gremlins! Quote Link to comment
resort Posted July 16, 2021 Share Posted July 16, 2021 (edited) Hi, I just recently started using this docker for encoding movies and videos, and I ran into issue that someone may be able to help me out with. Last night I queued seven videos, the first six encoded without any issues, but the last video did not encode at all. And somehow the original file managed to get deleted in the process of the encode. The log looks like HandBrake found the video file, but when it switched to libdvdread, it could not find the file at all. Here is the log for the failed encode: Handbrake Version: 20210124210417-6c92584-1.3.x (2021022701) [00:45:19] gtkgui: Modified Custom Preset: /Custom Presets/H265 MKV 1440p60 NVENC [00:45:19] Starting work at: Fri Jul 16 00:45:19 2021 [00:45:19] 1 job(s) to process [00:45:19] json job: { "Audio": { "AudioList": [ { "Bitrate": 160, "CompressionLevel": -1.0, "DRC": 0.0, "DitherMethod": "auto", "Encoder": "fdk_aac", "Gain": 0.0, "Mixdown": "stereo", "NormalizeMixLevel": false, "PresetEncoder": "fdk_aac", "Quality": -3.0, "Samplerate": 0, "Track": 0 } ], "CopyMask": [ "copy:aac" ], "FallbackEncoder": "fdk_aac" }, "Destination": { "AlignAVStart": false, "ChapterList": [ { "Duration": { "Hours": 1, "Minutes": 13, "Seconds": 41, "Ticks": 397897380 }, "Name": "" } ], "ChapterMarkers": false, "File": "/output/Millbrook Corona Invitational #1 Stream VOD.mkv", "InlineParameterSets": false, "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "mkv" }, "Filters": { "FilterList": [ { "ID": 3, "Settings": { "block-height": "16", "block-thresh": "40", "block-width": "16", "filter-mode": "2", "mode": "3", "motion-thresh": "1", "spatial-metric": "2", "spatial-thresh": "1" } }, { "ID": 4, "Settings": { "mode": "7" } }, { "ID": 6, "Settings": { "mode": 2, "rate": "27000000/900000" } }, { "ID": 12, "Settings": { "crop-bottom": 0, "crop-left": 0, "crop-right": 0, "crop-top": 0, "height": 720, "width": 1280 } } ] }, "Metadata": { "Name": "Millbrook Corona Invitational #1 Stream VOD" }, "PAR": { "Den": 1, "Num": 1 }, "SequenceID": 0, "Source": { "Angle": 0, "Path": "/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4", "Range": { "End": 275400000, "Start": 0, "Type": "time" }, "Title": 1 }, "Subtitle": { "Search": { "Burn": true, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [] }, "Video": { "ColorFormat": 0, "ColorMatrix": 1, "ColorPrimaries": 1, "ColorRange": 1, "ColorTransfer": 1, "Encoder": "nvenc_h265", "Level": "auto", "Options": "", "Preset": "medium", "Profile": "auto", "QSV": { "AsyncDepth": 4, "Decode": false }, "Quality": 22.0, "Tune": "", "Turbo": false, "TwoPass": false } } [00:45:19] CPU: Intel(R) Core(TM) i3-10320 CPU @ 3.80GHz [00:45:19] - logical processor count: 8 [00:45:19] hb_scan: path=/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4, title_index=1 disc.c:323: failed opening UDF image /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bluray.c:2585: nav_get_title_list(/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4/) failed [00:45:19] bd: not a bd - trying as a stream/file instead libdvdnav: Using dvdnav version 6.0.1 libdvdread: Can't stat /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 No such file or directory libdvdread: Could not open /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 libdvdnav: vm: failed to open/read the DVD [00:45:19] dvd: not a dvd - trying as a stream/file instead [00:45:19] hb_stream_open: open /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 failed [00:45:19] scan: unrecognized file type [00:45:19] libhb: scan thread found 0 valid title(s) [00:45:19] hb_dict_to_job: Title 1 doesn't exist [00:45:19] Finished work at: Fri Jul 16 00:45:19 2021 [00:45:19] libhb: work result = 3 Edited July 16, 2021 by resort Grammar fix Quote Link to comment
Roedrik Posted July 18, 2021 Share Posted July 18, 2021 Handbrake 1.4 is live, hope to see the docker updated! Quote Link to comment
Djoss Posted July 19, 2021 Author Share Posted July 19, 2021 On 7/16/2021 at 7:19 AM, resort said: Hi, I just recently started using this docker for encoding movies and videos, and I ran into issue that someone may be able to help me out with. Last night I queued seven videos, the first six encoded without any issues, but the last video did not encode at all. And somehow the original file managed to get deleted in the process of the encode. The log looks like HandBrake found the video file, but when it switched to libdvdread, it could not find the file at all. Here is the log for the failed encode: Handbrake Version: 20210124210417-6c92584-1.3.x (2021022701) [00:45:19] gtkgui: Modified Custom Preset: /Custom Presets/H265 MKV 1440p60 NVENC [00:45:19] Starting work at: Fri Jul 16 00:45:19 2021 [00:45:19] 1 job(s) to process [00:45:19] json job: { "Audio": { "AudioList": [ { "Bitrate": 160, "CompressionLevel": -1.0, "DRC": 0.0, "DitherMethod": "auto", "Encoder": "fdk_aac", "Gain": 0.0, "Mixdown": "stereo", "NormalizeMixLevel": false, "PresetEncoder": "fdk_aac", "Quality": -3.0, "Samplerate": 0, "Track": 0 } ], "CopyMask": [ "copy:aac" ], "FallbackEncoder": "fdk_aac" }, "Destination": { "AlignAVStart": false, "ChapterList": [ { "Duration": { "Hours": 1, "Minutes": 13, "Seconds": 41, "Ticks": 397897380 }, "Name": "" } ], "ChapterMarkers": false, "File": "/output/Millbrook Corona Invitational #1 Stream VOD.mkv", "InlineParameterSets": false, "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "mkv" }, "Filters": { "FilterList": [ { "ID": 3, "Settings": { "block-height": "16", "block-thresh": "40", "block-width": "16", "filter-mode": "2", "mode": "3", "motion-thresh": "1", "spatial-metric": "2", "spatial-thresh": "1" } }, { "ID": 4, "Settings": { "mode": "7" } }, { "ID": 6, "Settings": { "mode": 2, "rate": "27000000/900000" } }, { "ID": 12, "Settings": { "crop-bottom": 0, "crop-left": 0, "crop-right": 0, "crop-top": 0, "height": 720, "width": 1280 } } ] }, "Metadata": { "Name": "Millbrook Corona Invitational #1 Stream VOD" }, "PAR": { "Den": 1, "Num": 1 }, "SequenceID": 0, "Source": { "Angle": 0, "Path": "/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4", "Range": { "End": 275400000, "Start": 0, "Type": "time" }, "Title": 1 }, "Subtitle": { "Search": { "Burn": true, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [] }, "Video": { "ColorFormat": 0, "ColorMatrix": 1, "ColorPrimaries": 1, "ColorRange": 1, "ColorTransfer": 1, "Encoder": "nvenc_h265", "Level": "auto", "Options": "", "Preset": "medium", "Profile": "auto", "QSV": { "AsyncDepth": 4, "Decode": false }, "Quality": 22.0, "Tune": "", "Turbo": false, "TwoPass": false } } [00:45:19] CPU: Intel(R) Core(TM) i3-10320 CPU @ 3.80GHz [00:45:19] - logical processor count: 8 [00:45:19] hb_scan: path=/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4, title_index=1 disc.c:323: failed opening UDF image /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bluray.c:2585: nav_get_title_list(/storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4/) failed [00:45:19] bd: not a bd - trying as a stream/file instead libdvdnav: Using dvdnav version 6.0.1 libdvdread: Can't stat /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 No such file or directory libdvdread: Could not open /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 libdvdnav: vm: failed to open/read the DVD [00:45:19] dvd: not a dvd - trying as a stream/file instead [00:45:19] hb_stream_open: open /storage/Backup/Videos/Millbrook Corona Invitational #1 Stream VOD.mp4 failed [00:45:19] scan: unrecognized file type [00:45:19] libhb: scan thread found 0 valid title(s) [00:45:19] hb_dict_to_job: Title 1 doesn't exist [00:45:19] Finished work at: Fri Jul 16 00:45:19 2021 [00:45:19] libhb: work result = 3 This was with the UI and not the automatic video converted? As you mentioned, looks like that the file has been removed while Handbrake was handling the file... Quote Link to comment
Djoss Posted July 19, 2021 Author Share Posted July 19, 2021 11 hours ago, Roedrik said: Handbrake 1.4 is live, hope to see the docker updated! Yes, working on this Quote Link to comment
CS01-HS Posted July 19, 2021 Share Posted July 19, 2021 Slightly off-topic but does anyone know why Handbrake doesn't do hardware decoding? When I convert h264 -> h265 using hardware encoding (thanks Djoss) I see low iGPU utilization and high CPU. Contrast with Emby/ffmpeg h265 -> h264 which has high GPU utilization and low CPU. Seems like such an obvious oversight I wonder if there's something I'm missing. Quote Link to comment
OFark Posted July 19, 2021 Share Posted July 19, 2021 5 hours ago, CS01-HS said: Slightly off-topic but does anyone know why Handbrake doesn't do hardware decoding? When I convert h264 -> h265 using hardware encoding (thanks Djoss) I see low iGPU utilization and high CPU. Contrast with Emby/ffmpeg h265 -> h264 which has high GPU utilization and low CPU. Seems like such an obvious oversight I wonder if there's something I'm missing. Well it seems like it's not doing anything hardware. Hardware decoding is next to pointless these days. Very little if any benefit from hardware decoding. Hardware encoding should be eating up quite a bit of GPU resources, but then the quality is never going to be as good as CPU encoding, so I'd leave it as it is. Quote Link to comment
CS01-HS Posted July 20, 2021 Share Posted July 20, 2021 1 hour ago, OFark said: Well it seems like it's not doing anything hardware. Hardware decoding is next to pointless these days. Interesting. My conversions are noticeably faster with hardware encoding than pure CPU so it must be doing something. Here are graphs of GPU utilization (dashed line) courtesy of gpu-monitor. Emby transcoding: Handbrake hardware conversion: Both using the intel quicksync driver and assigned to 3 CPUs. I wonder what accounts for the difference. Quote Link to comment
OFark Posted July 20, 2021 Share Posted July 20, 2021 8 hours ago, CS01-HS said: Both using the intel quicksync driver and assigned to 3 CPUs. I wonder what accounts for the difference. Have you passed /dev/dri to both? I use QSV in Handbrake just fine. Quote Link to comment
CS01-HS Posted July 20, 2021 Share Posted July 20, 2021 5 hours ago, OFark said: Have you passed /dev/dri to both? I use QSV in Handbrake just fine. Yes. You can see it working in second graph (Handbrake conversion.) The GPU's utilized but at a much lower level vs Emby. Seems this problem's unique to me but will post if I make any progress. Note: I have all video encoding filters disabled in Handbrake settings. Quote Link to comment
OFark Posted July 20, 2021 Share Posted July 20, 2021 What encoder are you using in Handbrake? Quote Link to comment
CS01-HS Posted July 20, 2021 Share Posted July 20, 2021 48 minutes ago, OFark said: What encoder are you using in Handbrake? Intel QSV: Quote Link to comment
OFark Posted July 20, 2021 Share Posted July 20, 2021 Well then from what I've seen it does indeed look like Handbrake isn't using QSV, but I know it works, I've done it myself. What CPU are you running it on? Quote Link to comment
Roedrik Posted July 20, 2021 Share Posted July 20, 2021 On 7/18/2021 at 9:07 PM, Djoss said: Yes, working on this Thank you kindly, I really appreciate the support! Quote Link to comment
F_A_H Posted July 23, 2021 Share Posted July 23, 2021 Hi first thanks for the good docker container! Is there a way to change the language. Like, for example, in the Windows version? Quote Link to comment
cracyfloyd Posted July 26, 2021 Share Posted July 26, 2021 (edited) Since the last handbrake update i use its breake the intel QSV encoding. before it works for a couple of month. i can see the hardware profiles and i can select and start a job but the encoding doesnt work the encoding stops after i started. in the log i can see: " Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK)'. plex working with hardware encoding and the device /dev/dri is already be there. ????? Edited July 26, 2021 by cracyfloyd 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.