Ok so here is some more detailed info. So, just to remove variables and keep this data more relevant to the thread (and now that they fixed built-in preset references in CLI) I have the encoding log here from the "Apple 2160p60 4K HEVC Surround" preset:
Code: Select all
root@Handbrake:~ # nohup HandBrakeCLI -i /mnt/movierips/BenchmarkVideo.mp4 -o /mnt/Media/PlexMedia/Movies/BMVNASapl.mp4 --preset="Apple 2160p60 4K HEVC Surround" &
[1] 29205
root@Handbrake:~ # [09:21:07] hb_init: starting libhb thread
[09:21:07] thread 808a18500 started ("libhb")
HandBrake 1.3.3 (2020062000) - FreeBSD amd64 - https://handbrake.fr
24 CPUs detected
Opening /mnt/movierips/BenchmarkVideo.mp4...
[09:21:07] CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
[09:21:07] - Intel microarchitecture Haswell
[09:21:07] - logical processor count: 24
[09:21:07] Intel Quick Sync Video support: no
[09:21:07] hb_scan: path=/mnt/movierips/BenchmarkVideo.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /mnt/movierips/BenchmarkVideo.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(/mnt/movierips/BenchmarkVideo.mp4/) failed
[09:21:07] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:21:07] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/movierips/BenchmarkVideo.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2020-05-30T17:28:53.000000Z
title : Ghostbusters
encoder : HandBrake 1.3.2 2020050300
Duration: 00:05:00.05, start: 0.000000, bitrate: 21151 kb/s
Chapter #0:0: start 0.000000, end 291.964000
Metadata:
title : Chapter 5
Chapter #0:1: start 291.964000, end 299.972000
Metadata:
title : Chapter 6
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x800 [SAR 1:1 DAR 12:5], 20340 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2020-05-30T17:28:53.000000Z
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 164 kb/s (default)
Metadata:
creation_time : 2020-05-30T17:28:53.000000Z
handler_name : Surround 5.1
title : Surround 5.1
Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
creation_time : 2020-05-30T17:28:53.000000Z
handler_name : Surround 5.1
title : Surround 5.1
Side data:
audio service type: main
Stream #0:3(eng): Data: bin_data (text / 0x74786574), 0 kb/s
Metadata:
creation_time : 2020-05-30T17:28:53.000000Z
handler_name : SubtitleHandler
[09:21:07] scan: decoding previews for title 1
[09:21:07] scan: audio 0x1: aac, rate=48000Hz, bitrate=164794 English (AAC LC) (2.0 ch) (164 kbps)
[09:21:07] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
Scanning title 1 of 1, preview 9, 90.00 %[09:21:08] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[09:21:08] scan: supported video decoders: avcodec qsv
[09:21:08] libhb: scan thread found 1 valid title(s)
+ Using preset: Apple 2160p60 4K HEVC Surround
+ title 1:
+ stream: /mnt/movierips/BenchmarkVideo.mp4
+ duration: 00:05:00
+ size: 1920x800, pixel aspect: 1/1, display aspect: 2.40, 23.976 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: duration 00:04:52
+ 2: duration 00:00:08
+ audio tracks:
+ 1, English (AAC LC) (2.0 ch) (164 kbps) (iso639-2: eng)
+ 2, English (AC3) (5.1 ch) (640 kbps) (iso639-2: eng), 48000Hz, 640000bps
+ subtitle tracks:
[09:21:09] Starting work at: Tue Jun 23 09:21:09 2020
[09:21:09] 1 job(s) to process
[09:21:09] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": "stereo",
"Name": "Surround 5.1",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
},
{
"Bitrate": 640,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": "stereo",
"Name": "Surround 5.1",
"NormalizeMixLevel": false,
"PresetEncoder": "copy:ac3",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 52,
"Ticks": 26276760
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 8,
"Ticks": 728100
},
"Name": "Chapter 2"
}
],
"ChapterMarkers": true,
"File": "/mnt/Media/PlexMedia/Movies/BMVNASapl.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"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/450000"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": 0,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 800,
"width": 1920
}
}
]
},
"Metadata": {
"Name": "Ghostbusters"
},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "/mnt/movierips/BenchmarkVideo.mp4",
"Range": {
"End": 2,
"Start": 1,
"Type": "chapter"
},
"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": "x265",
"Level": "auto",
"Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
"Preset": "slow",
"Profile": "main",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 24.0,
"Tune": "",
"Turbo": false,
"TwoPass": false
}
}
[09:21:09] Starting Task: Encoding Pass
[09:21:09] Skipping crop/scale filter
[09:21:09] job configuration:
[09:21:09] * source
[09:21:09] + /mnt/movierips/BenchmarkVideo.mp4
[09:21:09] + title 1, chapter(s) 1 to 2
[09:21:09] + container: mov,mp4,m4a,3gp,3g2,mj2
[09:21:09] + data rate: 21151 kbps
[09:21:09] * destination
[09:21:09] + /mnt/Media/PlexMedia/Movies/BMVNASapl.mp4
[09:21:09] + container: MPEG-4 (libavformat)
[09:21:09] + chapter markers
[09:21:09] * video track
[09:21:09] + decoder: h264
[09:21:09] + bitrate 20340 kbps
[09:21:09] + filters
[09:21:09] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[09:21:09] + Decomb (mode=39)
[09:21:09] + Framerate Shaper (mode=2:rate=27000000/450000)
[09:21:09] + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[09:21:09] + Output geometry
[09:21:09] + storage dimensions: 1920 x 800
[09:21:09] + pixel aspect ratio: 1 : 1
[09:21:09] + display dimensions: 1920 x 800
[09:21:09] + encoder: H.265 (libx265)
[09:21:09] + preset: slow
[09:21:09] + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[09:21:09] + profile: main
[09:21:09] + level: auto
[09:21:09] + quality: 24.00 (RF)
[09:21:09] + color profile: 1-1-1
[09:21:09] * audio track 1
[09:21:09] + name: Surround 5.1
[09:21:09] + decoder: English (AAC LC) (2.0 ch) (164 kbps) (track 1, id 0x1)
[09:21:09] + bitrate: 164 kbps, samplerate: 48000 Hz
[09:21:09] + mixdown: Stereo
[09:21:09] + dither: triangular
[09:21:09] + encoder: AAC (libavcodec)
[09:21:09] + bitrate: 160 kbps, samplerate: 48000 Hz
[09:21:09] * audio track 2
[09:21:09] + name: Surround 5.1
[09:21:09] + decoder: English (AAC LC) (2.0 ch) (164 kbps) (track 1, id 0x1)
[09:21:09] + bitrate: 164 kbps, samplerate: 48000 Hz
[09:21:09] + mixdown: Stereo
[09:21:09] + dither: triangular
[09:21:09] + encoder: AC3 (libavcodec)
[09:21:09] + bitrate: 640 kbps, samplerate: 48000 Hz
[09:21:09] sync: expecting 7194 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Unk-OS][clang 8.0.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[09:21:09] sync: first pts audio 0x1 is 0
[09:21:09] sync: first pts audio 0x1 is 0
[09:21:09] sync: first pts video is 570
[09:21:09] sync: "Chapter 1" (1) at frame 1 time 570
Encoding: task 1 of 1, 97.36 % (11.54 fps, avg 12.00 fps, ETA 00h00m16s)[09:30:53] sync: "Chapter 2" (2) at frame 7006 time 26295588
Encoding: task 1 of 1, 98.85 % (12.21 fps, avg 11.99 fps, ETA 00h00m08s)[09:31:02] reader: done. 1 scr changes
Encoding: task 1 of 1, 99.97 % (10.92 fps, avg 12.00 fps, ETA 00h00m04s)[09:31:10] work: average encoding speed for job is 12.003880 fps
Encoding: task 1 of 1, 99.97 % (10.92 fps, avg 12.00 fps, ETA 00h00m04s)[09:31:11] comb detect: heavy 1 | light 62 | uncombed 7130 | total 7193
[09:31:11] decomb: deinterlaced 1 | blended 62 | unfiltered 7130 | total 7193
[09:31:11] vfr: 7193 frames output, 0 dropped and 0 duped for CFR/PFR
[09:31:11] vfr: lost time: 0 (0 frames)
[09:31:11] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:31:11] aac-decoder done: 14063 frames, 0 decoder errors
[09:31:11] aac-decoder done: 14063 frames, 0 decoder errors
[09:31:11] h264-decoder done: 7193 frames, 0 decoder errors
[09:31:11] sync: got 7193 frames, 7194 expected
[09:31:11] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I: 70, Avg QP:24.96 kb/s: 11513.62
x265 [info]: frame P: 1633, Avg QP:26.02 kb/s: 6369.47
x265 [info]: frame B: 5490, Avg QP:29.37 kb/s: 1946.16
x265 [info]: Weighted P-Frames: Y:9.6% UV:5.6%
x265 [info]: consecutive B-frames: 4.9% 1.9% 7.6% 36.8% 48.7%
encoded 7193 frames in 602.10s (11.95 fps), 3043.48 kb/s, Avg QP:28.57
[09:31:11] mux: track 0, 7193 frames, 114162260 bytes, 3043.82 kbps, fifo 1024
[09:31:11] mux: track 1, 14064 frames, 6078566 bytes, 162.07 kbps, fifo 2048
[09:31:11] mux: track 2, 9375 frames, 24000000 bytes, 639.89 kbps, fifo 2048
[09:31:11] Finished work at: Tue Jun 23 09:31:11 2020
[09:31:11] libhb: work result = 0
Encode done!
The CPU usage varies between 1200-1450% which is in the 50-60% range. Is this helpful/what you were asking for rollin_eng?