handbrake blocks system since macos sonoma update

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
ffuchs
New User
Posts: 1
Joined: Mon Feb 05, 2024 4:42 pm

handbrake blocks system since macos sonoma update

Post by ffuchs »

Description of problem or question:

Hello,

A friend of mine has a MacBook Pro 16" 2020 (Intel 6-core i7, 32GB RAM). Last week he upgraded to macOS Sonoma (previously he had Monterey installed), and since then, he has the following problem: When he tries to convert videos using Handbrake, he can't work on anything else simultaneously. The entire system gets blocked by Handbrake, and when he checks the Activity Monitor, he sees that all processor cores are at 100% utilization.

When he was using Monterey, he noticed that the MacBook was of course busy too, but he could still perform tasks like writing emails, browsing the internet, and opening/editing Pages documents with almost normal speed.

Is Handbrake not well optimized for Sonoma? Is there a way to limit Handbrake's usage of the processors? Additionally, he thinks that the conversion process takes noticeably longer since the macos-update, despite the processors being fully utilized.

is there is a solution for this issue? Thanks in advance!

Best regards,


Ferdinand

HandBrake version (e.g., 1.0.0):

1.7.2


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

macOS sonoma 14.3

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[08:16:15] macgui: Handbrake Version: 1.7.2 (2023122400)
[08:16:15] Compile-time hardening features are enabled
[08:16:15] hb_init: starting libhb thread
[08:16:16] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[08:16:16] CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[08:16:16]  - Intel microarchitecture Kaby Lake
[08:16:16]  - logical processor count: 12
[08:16:16] hb_scan: path=/Users/jsmith/Desktop/IMG_0631.MOV, title_index=0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jsmith/Desktop/IMG_0631.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2023-11-23T16:53:15.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 6
    com.apple.quicktime.software: 12.5.2
    com.apple.quicktime.creationdate: 2023-11-23T08:53:15-0800
  Duration: 01:25:31.42, start: 0.000000, bitrate: 15421 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 15303 kb/s, 29.98 fps, 29.97 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : H.264
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D), 14 kb/s (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D) (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Metadata
[08:16:16] scan: decoding previews for title 1
[08:16:16] scan: audio 0x1: aac, rate=44100Hz, bitrate=95176 Unknown (AAC LC, 1.0 ch, 95 kbps)
[08:16:16] scan: 10 previews, 1920x1080, 29.983 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[08:16:16] libhb: scan thread found 1 valid title(s)
[08:16:16] macgui: ScanCore scan done
[08:16:28] Compile-time hardening features are enabled
[08:16:34] hb_init: starting libhb thread
[08:16:34] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[08:16:34] CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[08:16:34]  - Intel microarchitecture Kaby Lake
[08:16:34]  - logical processor count: 12
[08:16:34] hb_scan: path=/Users/jsmith/Desktop/IMG_0631.MOV, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jsmith/Desktop/IMG_0631.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2023-11-23T16:53:15.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 6
    com.apple.quicktime.software: 12.5.2
    com.apple.quicktime.creationdate: 2023-11-23T08:53:15-0800
  Duration: 01:25:31.42, start: 0.000000, bitrate: 15421 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 15303 kb/s, 29.98 fps, 29.97 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : H.264
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D), 14 kb/s (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D) (default)
    Metadata:
      creation_time   : 2023-11-23T16:53:15.000000Z
      handler_name    : Core Media Metadata
[08:16:34] scan: decoding previews for title 1
[08:16:34] scan: audio 0x1: aac, rate=44100Hz, bitrate=95176 Unknown (AAC LC, 1.0 ch, 95 kbps)
[08:16:34] scan: 10 previews, 1920x1080, 29.983 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[08:16:34] libhb: scan thread found 1 valid title(s)
[08:16:34] macgui: fr.handbrake.HandBrakeXPCService scan done
[08:16:34] Starting work at: Tue Feb  6 08:16:34 2024

[08:16:34] macgui: fr.handbrake.HandBrakeXPCService started encoding IMG_0631.mp4
[08:16:34] macgui: fr.handbrake.HandBrakeXPCService with preset preset homedrumming
[08:16:34] 1 job(s) to process
[08:16:34] Starting Task: Analysis Pass
[08:16:34] work: only 1 chapter, disabling chapter markers
[08:16:34] job configuration:
[08:16:34]  * source
[08:16:34]    + /Users/jsmith/Desktop/IMG_0631.MOV
[08:16:34]    + title 1, chapter(s) 1 to 1
[08:16:34]    + container: mov,mp4,m4a,3gp,3g2,mj2
[08:16:34]    + data rate: 15421 kbps
[08:16:34]  * destination
[08:16:34]    + /Users/jsmith/Desktop/IMG_0631.mp4
[08:16:34]    + container: MPEG-4 (libavformat)
[08:16:34]      + optimized for HTTP streaming (fast start)
[08:16:34]      + align initial A/V stream timestamps
[08:16:34]  * video track
[08:16:34]    + decoder: h264 8-bit (yuv420p)
[08:16:34]      + bitrate 15303 kbps
[08:16:34]    + filters
[08:16:34]      + 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)
[08:16:34]      + Decomb (mode=39)
[08:16:34]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[08:16:34]        + frame rate: 29.983 fps -> constant 25.000 fps
[08:16:34]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[08:16:34]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[08:16:34]    + Output geometry
[08:16:34]      + storage dimensions: 1280 x 720
[08:16:34]      + pixel aspect ratio: 1 : 1
[08:16:34]      + display dimensions: 1280 x 720
[08:16:34]    + encoder: H.264 (VideoToolbox)
[08:16:34]      + preset:  quality
[08:16:34]      + profile: main
[08:16:34]      + level:   4.0
[08:16:34]      + bitrate: 6000 kbps, pass: 1
[08:16:34]      + color profile: 1-1-1
[08:16:34]      + chroma location: left
[08:16:34]  * audio track 1
[08:16:34]    + decoder: Unknown (AAC LC, 1.0 ch, 95 kbps) (track 1, id 0x1)
[08:16:34]      + bitrate: 95 kbps, samplerate: 44100 Hz
[08:16:34]    + mixdown: Mono
[08:16:34]    + encoder: AAC (Apple AudioToolbox)
[08:16:34]      + bitrate: 160 kbps, samplerate: 44100 Hz
[08:16:35] sync: expecting 153857 video frames
[08:16:35] encvt_Init: encoding with output bitrate 6000 Kbps
[08:16:35] encvt_Init: com.apple.videotoolbox.videoencoder.h264.gva
[08:16:35] sync: first pts video is 0
[08:16:35] sync: "Kapitel 1" (1) at frame 1 time 0
[08:16:35] sync: first pts audio 0x1 is 0
[08:47:41] reader: done. 1 scr changes
[08:48:05] work: average encoding speed for job is 82.400017 fps
[08:48:05] comb detect: heavy 95 | light 1611 | uncombed 152151 | total 153857
[08:48:05] decomb: deinterlaced 95 | blended 1611 | unfiltered 152151 | total 153857
[08:48:05] vfr: 128286 frames output, 25571 dropped and 0 duped for CFR/PFR
[08:48:05] vfr: lost time: 0 (0 frames)
[08:48:05] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:48:05] aac-decoder done: 220992 frames, 0 decoder errors
[08:48:05] h264-decoder done: 153857 frames, 0 decoder errors
[08:48:05] sync: got 153857 frames, 153857 expected
[08:48:05] sync: framerate min 29.983 fps, max 29.983 fps, avg 29.983 fps
[08:48:05] Starting Task: Encoding Pass
[08:48:05] work: only 1 chapter, disabling chapter markers
[08:48:05] job configuration:
[08:48:05]  * source
[08:48:05]    + /Users/jsmith/Desktop/IMG_0631.MOV
[08:48:05]    + title 1, chapter(s) 1 to 1
[08:48:05]    + container: mov,mp4,m4a,3gp,3g2,mj2
[08:48:05]    + data rate: 15421 kbps
[08:48:05]  * destination
[08:48:05]    + /Users/jsmith/Desktop/IMG_0631.mp4
[08:48:05]    + container: MPEG-4 (libavformat)
[08:48:05]      + optimized for HTTP streaming (fast start)
[08:48:05]      + align initial A/V stream timestamps
[08:48:05]  * video track
[08:48:05]    + decoder: h264 8-bit (yuv420p)
[08:48:05]      + bitrate 15303 kbps
[08:48:05]    + filters
[08:48:05]      + 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)
[08:48:05]      + Decomb (mode=39)
[08:48:05]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[08:48:05]        + frame rate: 29.983 fps -> constant 25.000 fps
[08:48:05]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[08:48:05]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[08:48:05]    + Output geometry
[08:48:05]      + storage dimensions: 1280 x 720
[08:48:05]      + pixel aspect ratio: 1 : 1
[08:48:05]      + display dimensions: 1280 x 720
[08:48:05]    + encoder: H.264 (VideoToolbox)
[08:48:05]      + preset:  quality
[08:48:05]      + profile: main
[08:48:05]      + level:   4.0
[08:48:05]      + bitrate: 6000 kbps, pass: 2
[08:48:05]      + color profile: 1-1-1
[08:48:05]      + chroma location: left
[08:48:05]  * audio track 1
[08:48:05]    + decoder: Unknown (AAC LC, 1.0 ch, 95 kbps) (track 1, id 0x1)
[08:48:05]      + bitrate: 95 kbps, samplerate: 44100 Hz
[08:48:05]    + mixdown: Mono
[08:48:05]    + encoder: AAC (Apple AudioToolbox)
[08:48:05]      + bitrate: 160 kbps, samplerate: 44100 Hz
[08:48:05] sync: expecting 153857 video frames
[08:48:05] encvt_Init: encoding with output bitrate 6000 Kbps
[08:48:05] sync: first pts video is 0
[08:48:05] sync: "Kapitel 1" (1) at frame 1 time 0
[08:48:05] sync: first pts audio 0x1 is 0
[09:29:36] reader: done. 1 scr changes
[09:29:37] work: average encoding speed for job is 61.746811 fps
[09:29:37] comb detect: heavy 95 | light 1611 | uncombed 152151 | total 153857
[09:29:37] decomb: deinterlaced 95 | blended 1611 | unfiltered 152151 | total 153857
[09:29:37] vfr: 128286 frames output, 25571 dropped and 0 duped for CFR/PFR
[09:29:37] vfr: lost time: 0 (0 frames)
[09:29:37] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:29:37] aac-decoder done: 220992 frames, 0 decoder errors
[09:29:37] h264-decoder done: 153857 frames, 0 decoder errors
[09:29:37] sync: got 153857 frames, 153857 expected
[09:29:37] sync: framerate min 29.983 fps, max 29.983 fps, avg 29.983 fps
[09:29:41] mux: track 0, 128286 frames, 3219056971 bytes, 5018.52 kbps, fifo 512
[09:29:41] mux: track 1, 220995 frames, 105558593 bytes, 164.57 kbps, fifo 1024
[09:29:41] Finished work at: Tue Feb  6 09:29:41 2024

[09:29:41] libhb: work result = 0
[09:29:41] macgui: Queue Done, there are no more pending encodes
[09:29:41] macgui: fr.handbrake.HandBrakeXPCService work done
mduell
Veteran User
Posts: 8153
Joined: Sat Apr 21, 2007 8:54 pm

Re: handbrake blocks system since macos sonoma update

Post by mduell »

Multitasking wouldn't be a HB issue, that would be a macOS scheduler issue. HB only uses the resources the OS allocates.

We'd need to see logs from before and after to explain why it's slower now; probably different settings than he used previously.
Post Reply