Page 1 of 1

HandbrakeCLI force eGPU Mac Mini 2018 Catalina

Posted: Sun Nov 08, 2020 8:58 pm
by hnad123
[b]Description of problem or question:[/b]

Hello. I see now in Catalina, that you can right click on an application, Get Info and check Prefer External GPU. Is there a way to force External GPU use for the HandbrakeCLI_x265?
HandbrakeCLI_x265 is the program I see running in in my Mac Activity Monitor when using MDRP (Mac DVDRipper Pro) version 9.
Thank you.

[b] Steps to reproduce the problem (If Applicable): [/b]

[b]HandBrake version (e.g., 1.0.0):[/b]

Mac HandBrake 1.3.3

[b] Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):[/b]

Mac Catalina 10.15.7

[b] HandBrake Activity Log ***required*** [/b] (see [url=https://handbrake.fr/docs/en/latest/help/activity-log.html] How-to get an activity log[/url])

[code]
HandBrake Activity Log for Session: 2020-11-08T16:26:11Z
Handbrake Version: 1.3.3 (2020061300)
PERSEPOLIS main movie english Apple 1080p 60 surround.m4v
Preset: Apple 1080p60 Surround
[11:26:11] macgui: QueueCore scanning specifically for title: 2
[11:26:11] CPU: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
[11:26:11] - Intel microarchitecture Kaby Lake
[11:26:11] - logical processor count: 12
[11:26:11] hb_scan: path=/Users/stephen/TEMP/DVD RIP/PERSEPOLIS.iso, title_index=2
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((null)) failed
[11:26:11] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PERSEPOLIS
libdvdnav: DVD Serial Number: 38b0adda
libdvdnav: DVD Title (Alternative):
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdread: Encrypted DVD support unavailable.
[11:26:11] scan: DVD has 33 title(s)
[11:26:11] scan: scanning title 2
[11:26:11] scan: duration is 01:35:25 (5725467 ms)
[11:26:11] pgc_id: 1, pgn: 1: pgc: 0x7fe41bc72530
[11:26:11] scan: checking audio 1
[11:26:11] scan: id=0x80bd, lang=Francais (AC3), 3cc=fra ext=0
[11:26:11] scan: checking audio 2
[11:26:11] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[11:26:11] scan: checking audio 3
[11:26:11] scan: audio channel is not active
[11:26:11] scan: checking audio 4
[11:26:11] scan: audio channel is not active
[11:26:11] scan: checking audio 5
[11:26:11] scan: audio channel is not active
[11:26:11] scan: checking subtitle 1
[11:26:11] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=1
[11:26:11] scan: checking subtitle 2
[11:26:11] scan: id=0x21bd, lang=espaƱol (Wide Screen) [VOBSUB], 3cc=spa ext=1
[11:26:11] scan: checking subtitle 3
[11:26:11] scan: id=0x22bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=0
[11:26:11] scan: checking subtitle 4
[11:26:11] scan: subtitle channel is not active
[11:26:11] scan: checking subtitle 5
[11:26:11] scan: subtitle channel is not active
[11:26:11] scan: title 2 has 29 chapters
[11:26:11] scan: chap 1, 267500 ms
[11:26:11] scan: chap 2, 223833 ms
[11:26:11] scan: chap 3, 219166 ms
[11:26:11] scan: chap 4, 81834 ms
[11:26:11] scan: chap 5, 284500 ms
[11:26:11] scan: chap 6, 219166 ms
[11:26:11] scan: chap 7, 126000 ms
[11:26:11] scan: chap 8, 236834 ms
[11:26:11] scan: chap 9, 218500 ms
[11:26:11] scan: chap 10, 160233 ms
[11:26:11] scan: chap 11, 244266 ms
[11:26:11] scan: chap 12, 198166 ms
[11:26:11] scan: chap 13, 127000 ms
[11:26:11] scan: chap 14, 266166 ms
[11:26:11] scan: chap 15, 213000 ms
[11:26:11] scan: chap 16, 195667 ms
[11:26:11] scan: chap 17, 187333 ms
[11:26:11] scan: chap 18, 229166 ms
[11:26:11] scan: chap 19, 238500 ms
[11:26:11] scan: chap 20, 145333 ms
[11:26:11] scan: chap 21, 178834 ms
[11:26:11] scan: chap 22, 148834 ms
[11:26:11] scan: chap 23, 295166 ms
[11:26:11] scan: chap 24, 182667 ms
[11:26:11] scan: chap 25, 283834 ms
[11:26:11] scan: chap 26, 142000 ms
[11:26:11] scan: chap 27, 94834 ms
[11:26:11] scan: chap 28, 316633 ms
[11:26:11] scan: chap 29, 500 ms
[11:26:11] scan: aspect = 16:9
[11:26:11] scan: decoding previews for title 2
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
[11:26:11] scan: title angle(s) 1
[11:26:11] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 Francais (AC3) (5.1 ch) (448 kbps)
[11:26:11] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[11:26:11] scan: 10 previews, 720x480, 23.976 fps, autocrop = 6/8/0/0, aspect 16:9, PAR 32:27
[11:26:11] libhb: scan thread found 1 valid title(s)
[11:26:11] macgui: QueueCore scan done
[11:26:11] macgui: QueueCore started encoding PERSEPOLIS main movie english Apple 1080p 60 surround.m4v
[11:26:11] macgui: QueueCore with preset Apple 1080p60 Surround
[11:26:11] Starting work at: Sun Nov 8 11:26:11 2020

[11:26:11] 1 job(s) to process
[11:26:11] Starting Task: Encoding Pass
[11:26:11] job configuration:
[11:26:11] * source
[11:26:11] + /Users/stephen/TEMP/DVD RIP/PERSEPOLIS.iso
[11:26:11] + title 2, chapter(s) 1 to 29
[11:26:11] * destination
[11:26:11] + /Users/stephen/TEMP/DVD RIP/PERSEPOLIS main movie english Apple 1080p 60 surround.m4v
[11:26:11] + container: MPEG-4 (libavformat)
[11:26:11] + chapter markers
[11:26:11] * video track
[11:26:11] + decoder: mpeg2video
[11:26:11] + bitrate 200 kbps
[11:26:11] + filters
[11:26:11] + 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)
[11:26:11] + Decomb (mode=39)
[11:26:11] + Framerate Shaper (mode=2:rate=27000000/450000)
[11:26:11] + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[11:26:11] + Crop and Scale (width=720:height=466:crop-top=6:crop-bottom=8:crop-left=0:crop-right=0)
[11:26:11] + source: 720 * 480, crop (6/8/0/0): 720 * 466, scale: 720 * 466
[11:26:11] + Output geometry
[11:26:11] + storage dimensions: 720 x 466
[11:26:11] + pixel aspect ratio: 32 : 27
[11:26:11] + display dimensions: 853 x 466
[11:26:11] + encoder: H.264 (libx264)
[11:26:11] + preset: medium
[11:26:11] + profile: high
[11:26:11] + level: 4.2
[11:26:11] + quality: 22.00 (RF)
[11:26:11] + color profile: 6-1-6
[11:26:11] * audio track 1
[11:26:11] + decoder: English (AC3) (5.1 ch) (448 kbps) (track 2, id 0x81bd)
[11:26:11] + bitrate: 448 kbps, samplerate: 48000 Hz
[11:26:11] + mixdown: Stereo
[11:26:11] + dither: triangular
[11:26:11] + encoder: AAC (Apple AudioToolbox)
[11:26:11] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:26:11] * audio track 2
[11:26:11] + decoder: English (AC3) (5.1 ch) (448 kbps) (track 2, id 0x81bd)
[11:26:11] + bitrate: 448 kbps, samplerate: 48000 Hz
[11:26:11] + AC3 Passthru
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PERSEPOLIS
libdvdnav: DVD Serial Number: 38b0adda
libdvdnav: DVD Title (Alternative):
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
[11:26:11] sync: expecting 137273 video frames
[11:26:11] encx264: min-keyint: 24, keyint: 240
[11:26:11] encx264: encoding at constant RF 22.000000
[11:26:11] encx264: unparsed options: level=4.2:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.2, 4:2:0, 8-bit
[11:26:11] sync: first pts video is 0
[11:26:11] sync: "Chapter 1" (1) at frame 1 time 0
[11:26:11] sync: first pts audio 0x81bd is 0
[11:26:11] sync: first pts audio 0x81bd is 0
[11:26:29] sync: "Chapter 2" (2) at frame 6421 time 24099075
[11:26:47] sync: "Chapter 3" (3) at frame 11793 time 44264220
[11:27:03] sync: "Chapter 4" (4) at frame 17053 time 64008945
[11:27:08] sync: "Chapter 5" (5) at frame 19017 time 71381310
[11:27:33] sync: "Chapter 6" (6) at frame 25845 time 97011915
[11:27:48] sync: "Chapter 7" (7) at frame 31105 time 116756640
[11:27:55] sync: "Chapter 8" (8) at frame 34129 time 128107980
[11:28:12] sync: "Chapter 9" (9) at frame 39813 time 149444295
[11:28:28] sync: "Chapter 10" (10) at frame 45057 time 169128960
[11:28:43] sync: "Chapter 11" (11) at frame 48903 time 183565882
[11:29:07] sync: "Chapter 12" (12) at frame 54765 time 205570365
[11:29:26] sync: "Chapter 13" (13) at frame 59521 time 223423200
[11:29:38] sync: "Chapter 14" (14) at frame 62569 time 234864630
[11:30:10] sync: "Chapter 15" (15) at frame 68957 time 258843585
[11:30:32] sync: "Chapter 16" (16) at frame 74069 time 278032755
[11:30:52] sync: "Chapter 17" (17) at frame 78765 time 295660365
[11:31:13] sync: "Chapter 18" (18) at frame 83261 time 312537225
[11:31:36] sync: "Chapter 19" (19) at frame 88761 time 333182850
[11:32:01] sync: "Chapter 20" (20) at frame 94485 time 354669315
[11:32:16] sync: "Chapter 21" (21) at frame 97973 time 367762395
[11:32:31] sync: "Chapter 22" (22) at frame 102265 time 383873490
[11:32:49] sync: "Chapter 23" (23) at frame 105837 time 397281885
[11:33:21] sync: "Chapter 24" (24) at frame 112921 time 423873450
[11:33:42] sync: "Chapter 25" (25) at frame 117305 time 440329890
[11:34:12] sync: "Chapter 26" (26) at frame 124117 time 465900435
[11:34:27] sync: "Chapter 27" (27) at frame 127525 time 478693215
[11:34:38] sync: "Chapter 28" (28) at frame 129801 time 487236750
[11:35:11] reader: done. 1 scr changes
[11:35:11] work: average encoding speed for job is 254.492081 fps
[11:35:11] comb detect: heavy 2407 | light 5275 | uncombed 129717 | total 137399
[11:35:11] decomb: deinterlaced 2407 | blended 5275 | unfiltered 129717 | total 137399
[11:35:11] vfr: 137399 frames output, 0 dropped and 0 duped for CFR/PFR
[11:35:11] vfr: lost time: 0 (0 frames)
[11:35:11] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:35:11] ac3-decoder done: 179083 frames, 0 decoder errors
[11:35:11] ac3-decoder done: 179083 frames, 0 decoder errors
[11:35:11] mpeg2video-decoder done: 137399 frames, 0 decoder errors
[11:35:11] sync: got 137399 frames, 137273 expected
[11:35:11] sync: framerate min 19.980 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1351 Avg QP:16.09 size: 45088
x264 [info]: frame P:41922 Avg QP:21.21 size: 5806
x264 [info]: frame B:94126 Avg QP:25.53 size: 1112
x264 [info]: consecutive B-frames: 5.7% 6.6% 6.7% 81.0%
x264 [info]: mb I I16..4: 14.6% 56.6% 28.9%
x264 [info]: mb P I16..4: 0.9% 3.6% 1.8% P16..4: 15.9% 7.5% 5.6% 0.0% 0.0% skip:64.7%
x264 [info]: mb B I16..4: 0.1% 0.3% 0.2% B16..8: 16.2% 2.5% 0.8% direct: 0.9% skip:79.1% L0:45.0% L1:45.6% BI: 9.4%
x264 [info]: 8x8 transform intra:55.8% inter:59.2%
x264 [info]: coded y,uvDC,uvAC intra: 49.7% 12.2% 4.1% inter: 6.5% 0.9% 0.0%
x264 [info]: i16 v,h,dc,p: 54% 30% 10% 6%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 12% 39% 4% 4% 4% 3% 4% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 14% 19% 6% 5% 6% 5% 6% 4%
x264 [info]: i8c dc,h,v,p: 84% 7% 9% 0%
x264 [info]: Weighted P-Frames: Y:13.1% UV:1.6%
x264 [info]: ref P L0: 58.2% 13.8% 17.6% 9.8% 0.6%
x264 [info]: ref B L0: 80.5% 14.4% 5.0%
x264 [info]: ref B L1: 92.6% 7.4%
x264 [info]: kb/s:570.91
[11:35:11] mux: track 0, 137399 frames, 408904463 bytes, 570.82 kbps, fifo 4096
[11:35:11] mux: track 1, 268627 frames, 117865185 bytes, 164.54 kbps, fifo 8192
[11:35:11] mux: track 2, 179083 frames, 320916736 bytes, 447.99 kbps, fifo 4096
[11:35:11] Finished work at: Sun Nov 8 11:35:11 2020

[11:35:11] libhb: work result = 0

[/code]

Re: HandbrakeCLI force eGPU Mac Mini 2018 Catalina

Posted: Sun Nov 08, 2020 9:11 pm
by s55
It looks an awful lot like they are violating our license by utilising HandBrake under the hood without showing our license ...

Not that it matters since x265 is CPU only and thus your GPU is irrelevant.

Hope you didn't pay for this software :(