After Big Sur Upgrade: Severely reduced encoding speed

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
Phoncible
Posts: 4
Joined: Sat Nov 14, 2020 8:07 am

After Big Sur Upgrade: Severely reduced encoding speed

Post by Phoncible »

Description of problem or question:
After Upgrading from macOS Catalina to Big Sur my encoding speed has dropped more than half.
Prior to upgrade, encoding a 1080p 29Mbps MKV file would result in encoding rates of approx. 20-35 fps - now only avg. 11fps.
Initially rates shoot up to over 50fps, before dropping down to a crawl around 10fps.

Steps to reproduce the problem (If Applicable):
Encode 1080p 29Mbps MKV file with settings
Video Encoder: H.265 (x265)
Quality: Constant Quality RF22
Framrate: Same As Source
All other settings according to Apple 1080p30 Surround preset

HandBrake version (e.g., 1.0.0):
Same results with 1.3.3. and 1.4.0-beta.1

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

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

Code: Select all

HandBrake Activity Log for Session: 2020-11-14T08:25:22Z
Handbrake Version: 1.4.0-beta.1 (2020111100)
[09:25:22] macgui: Handbrake Version: 1.4.0-beta.1 (2020111100)
[09:25:22] hb_init: starting libhb thread
[09:25:29] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[09:25:29] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[09:25:29]  - Intel microarchitecture Kaby Lake
[09:25:29]  - logical processor count: 8
[09:25:29] hb_scan: path=/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/Phoncible/Temp/Phoncible_Encode_Test.mkv
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(/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv/) failed
[09:25:29] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
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:25:29] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv':
  Metadata:
    title           : Phoncible_Encode_Test
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2020-11-14T08:24:31.000000Z
  Duration: 00:10:01.18, start: 0.000000, bitrate: 26986 kb/s
    Chapter #0:0: start 0.000000, end 307.432125
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 307.432125, end 600.757000
    Metadata:
      title           : Chapter 02
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS             : 22487927
      BPS-eng         : 22487927
      DURATION        : 00:10:00.684000000
      DURATION-eng    : 00:10:00.684000000
      NUMBER_OF_FRAMES: 14402
      NUMBER_OF_FRAMES-eng: 14402
      NUMBER_OF_BYTES : 1688517275
      NUMBER_OF_BYTES-eng: 1688517275
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS             : 3835993
      BPS-eng         : 3835993
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 288067776
      NUMBER_OF_BYTES-eng: 288067776
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(ger): Audio: dts (DTS), 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS             : 318000
      BPS-eng         : 318000
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 23880528
      NUMBER_OF_BYTES-eng: 23880528
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Audio: dts (DTS), 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS             : 318000
      BPS-eng         : 318000
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 23880528
      NUMBER_OF_BYTES-eng: 23880528
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 55226
      BPS-eng         : 55226
      DURATION        : 00:07:50.095000000
      DURATION-eng    : 00:07:50.095000000
      NUMBER_OF_FRAMES: 169
      NUMBER_OF_FRAMES-eng: 169
      NUMBER_OF_BYTES : 3245186
      NUMBER_OF_BYTES-eng: 3245186
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[09:25:29] scan: decoding previews for title 1
[09:25:29] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[09:25:29] scan: audio 0x2: dca, rate=48000Hz, bitrate=320000 Deutsch (DTS) (2.0 ch) (320 kbps)
[09:25:29] scan: audio 0x3: dca, rate=48000Hz, bitrate=320000 Deutsch (DTS) (2.0 ch) (320 kbps)
[09:25:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/22/2/0, aspect 16:9, PAR 1:1
[09:25:30] libhb: scan thread found 1 valid title(s)
[09:25:30] macgui: ScanCore scan done
[09:25:50] Compile-time hardening features are enabled
[09:25:50] hb_init: starting libhb thread
[09:25:50] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[09:25:50] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[09:25:50]  - Intel microarchitecture Kaby Lake
[09:25:50]  - logical processor count: 8
[09:25:50] hb_scan: path=/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/Phoncible/Temp/Phoncible_Encode_Test.mkv
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(/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv/) failed
[09:25:50] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
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:25:50] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/Phoncible/Temp/Phoncible_Encode_Test.mkv':
  Metadata:
    title           : Phoncible_Encode_Test
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2020-11-14T08:24:31.000000Z
  Duration: 00:10:01.18, start: 0.000000, bitrate: 26986 kb/s
    Chapter #0:0: start 0.000000, end 307.432125
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 307.432125, end 600.757000
    Metadata:
      title           : Chapter 02
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS             : 22487927
      BPS-eng         : 22487927
      DURATION        : 00:10:00.684000000
      DURATION-eng    : 00:10:00.684000000
      NUMBER_OF_FRAMES: 14402
      NUMBER_OF_FRAMES-eng: 14402
      NUMBER_OF_BYTES : 1688517275
      NUMBER_OF_BYTES-eng: 1688517275
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS             : 3835993
      BPS-eng         : 3835993
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 288067776
      NUMBER_OF_BYTES-eng: 288067776
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(ger): Audio: dts (DTS), 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS             : 318000
      BPS-eng         : 318000
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 23880528
      NUMBER_OF_BYTES-eng: 23880528
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(ger): Audio: dts (DTS), 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS             : 318000
      BPS-eng         : 318000
      DURATION        : 00:10:00.768000000
      DURATION-eng    : 00:10:00.768000000
      NUMBER_OF_FRAMES: 56322
      NUMBER_OF_FRAMES-eng: 56322
      NUMBER_OF_BYTES : 23880528
      NUMBER_OF_BYTES-eng: 23880528
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 55226
      BPS-eng         : 55226
      DURATION        : 00:07:50.095000000
      DURATION-eng    : 00:07:50.095000000
      NUMBER_OF_FRAMES: 169
      NUMBER_OF_FRAMES-eng: 169
      NUMBER_OF_BYTES : 3245186
      NUMBER_OF_BYTES-eng: 3245186
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2020-11-14 08:24:31
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-14 08:24:31
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[09:25:50] scan: decoding previews for title 1
[09:25:51] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[09:25:51] scan: audio 0x2: dca, rate=48000Hz, bitrate=320000 Deutsch (DTS) (2.0 ch) (320 kbps)
[09:25:51] scan: audio 0x3: dca, rate=48000Hz, bitrate=320000 Deutsch (DTS) (2.0 ch) (320 kbps)
[09:25:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/22/2/0, aspect 16:9, PAR 1:1
[09:25:51] libhb: scan thread found 1 valid title(s)
[09:25:51] macgui: fr.handbrake.HandBrakeXPCService scan done
[09:25:51] Starting work at: Sat Nov 14 09:25:51 2020

[09:25:51] 1 job(s) to process
[09:25:51] macgui: fr.handbrake.HandBrakeXPCService started encoding Phoncible_Encode_Test.mp4
[09:25:51] macgui: fr.handbrake.HandBrakeXPCService with preset ATV 1080 HEVC 2.0 + 5.1
[09:25:51] Starting Task: Encoding Pass
[09:25:51] Skipping vfr filter
[09:25:52] job configuration:
[09:25:52]  * source
[09:25:52]    + /Users/Phoncible/Temp/Phoncible_Encode_Test.mkv
[09:25:52]    + title 1, chapter(s) 1 to 2
[09:25:52]    + container: matroska,webm
[09:25:52]    + data rate: 26986 kbps
[09:25:52]  * destination
[09:25:52]    + /Users/Phoncible/Downloads/Phoncible_Encode_Test.mp4
[09:25:52]    + container: MPEG-4 (libavformat)
[09:25:52]      + chapter markers
[09:25:52]  * video track
[09:25:52]    + decoder: h264
[09:25:52]    + filters
[09:25:52]      + 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:25:52]      + Decomb (mode=39)
[09:25:52]      + Crop and Scale (width=1918:height=1038:crop-top=20:crop-bottom=22:crop-left=2:crop-right=0)
[09:25:52]        + source: 1920 * 1080, crop (20/22/2/0): 1918 * 1038, scale: 1918 * 1038
[09:25:52]    + Output geometry
[09:25:52]      + storage dimensions: 1918 x 1038
[09:25:52]      + pixel aspect ratio: 1 : 1
[09:25:52]      + display dimensions: 1918 x 1038
[09:25:52]    + encoder: H.265 (libx265)
[09:25:52]      + preset:  medium
[09:25:52]      + profile: auto
[09:25:52]      + level:   4.0
[09:25:52]      + quality: 22.00 (RF)
[09:25:52]      + color profile: 1-1-1
[09:25:52]  * audio track 1
[09:25:52]    + name: Surround 5.1
[09:25:52]    + decoder: Deutsch (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[09:25:52]      + samplerate: 48000 Hz
[09:25:52]    + mixdown: Stereo
[09:25:52]    + encoder: AAC (Apple AudioToolbox)
[09:25:52]      + bitrate: 256 kbps, samplerate: 48000 Hz
[09:25:52]  * audio track 2
[09:25:52]    + name: Surround 5.1
[09:25:52]    + decoder: Deutsch (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[09:25:52]      + samplerate: 48000 Hz
[09:25:52]    + mixdown: 5.1 Channels
[09:25:52]    + encoder: AC3 (libavcodec)
[09:25:52]      + bitrate: 640 kbps, samplerate: 48000 Hz
[09:25:52] sync: expecting 14414 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 12.0.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=30000kb vbv-maxrate=30000kbps. VBV outputs are non-deterministic!
x265 [info]: Main profile, Level-4 (High tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 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         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 30000 / 30000 / 0.900
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[09:25:52] sync: first pts video is 0
[09:25:52] sync: "Chapter 1" (1) at frame 1 time 0
[09:25:52] sync: first pts audio 0x1 is 0
[09:25:52] sync: first pts audio 0x1 is 0
[09:34:47] sync: "Chapter 2" (2) at frame 7375 time 27680152
[09:47:34] reader: done. 1 scr changes
[09:47:43] work: average encoding speed for job is 11.010477 fps
[09:47:43] comb detect: heavy 23 | light 47 | uncombed 14332 | total 14402
[09:47:43] decomb: deinterlaced 23 | blended 47 | unfiltered 14332 | total 14402
[09:47:44] dca-decoder done: 56322 frames, 0 decoder errors
[09:47:44] dca-decoder done: 56322 frames, 0 decoder errors
[09:47:44] h264-decoder done: 14402 frames, 0 decoder errors
[09:47:44] sync: got 14402 frames, 14414 expected
[09:47:44] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:    201, Avg QP:22.30  kb/s: 14657.71
x265 [info]: frame P:   4272, Avg QP:23.98  kb/s: 7123.09 
x265 [info]: frame B:   9929, Avg QP:26.96  kb/s: 3151.58 
x265 [info]: Weighted P-Frames: Y:7.0% UV:4.9%
x265 [info]: consecutive B-frames: 20.3% 16.5% 16.0% 15.4% 31.8% 

encoded 14402 frames in 1311.98s (10.98 fps), 4490.22 kb/s, Avg QP:26.01
[09:47:44] mux: track 0, 14402 frames, 337207420 bytes, 4490.05 kbps, fifo 2048
[09:47:44] mux: track 1, 28164 frames, 19732004 bytes, 262.74 kbps, fifo 4096
[09:47:44] mux: track 2, 18774 frames, 48061440 bytes, 639.96 kbps, fifo 2048
[09:47:44] Finished work at: Sat Nov 14 09:47:44 2020

[09:47:44] libhb: work result = 0
[09:47:44] macgui: Queue Done, there are no more pending encodes
[09:47:44] macgui: fr.handbrake.HandBrakeXPCService work done

User avatar
Ritsuka
HandBrake Team
Posts: 1190
Joined: Fri Jan 12, 2007 11:29 am

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by Ritsuka »

Check in Activity Monitor which processes are keeping the cpu busy, there might be some task like Spotlight re-indexing your disks.
And make sure you are comparing the same file and the same preset on both macOS 11 and the previous version.
Phoncible
Posts: 4
Joined: Sat Nov 14, 2020 8:07 am

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by Phoncible »

Nothing noteworthy in the Activity Monitor; re-indexing of disks is complete (that's what I had actually initially hoped the problem was as well).
Presets and file were the same on both macOS 11 and Catalina. I also just tested it with another file which I recently encoded under Catalina with the same results. There is definitely a significant slow-down.
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by mduell »

Need to see an encode log from before with the same settings.
Phoncible
Posts: 4
Joined: Sat Nov 14, 2020 8:07 am

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by Phoncible »

Encode log from before is impossible to provide, as we are talking about the same system which has now been upgraded. It's not two systems running parallel.

Side note: Since the original post, I have actually gone ahead and done a clean install of Big Sur on the same system in hopes that this may solve the problem. It does not - I still get less than half the encoding speed I did on Catalina.
User avatar
s55
HandBrake Team
Posts: 9862
Joined: Sun Dec 24, 2006 1:05 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by s55 »

Previous logs may still be stored on disk. Might want to check before ruling it out.

My 6700HQ is around 3x faster for a similar encode setup on BigSur so it would appear there is something about your setup causing this problem. If your seeing 100% CPU utilisation in HandBrake, might be worth checking the clock speeds of the CPU are actually ramping up.
Phoncible
Posts: 4
Joined: Sat Nov 14, 2020 8:07 am

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by Phoncible »

Update: I have to correct myself, after a complete reinstallation of the system, Handbrake is back to normal. Something must have gone wrong with the initial update. Thank you to all who tried to help. It's much appreciated!
ktlehman75
New User
Posts: 1
Joined: Sat Nov 21, 2020 3:15 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by ktlehman75 »

So you had to reinstall Big Sur? Is that correct? I'm getting the same results on my end.
cantrejj
New User
Posts: 1
Joined: Mon Nov 30, 2020 6:47 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by cantrejj »

I am experiencing the same problem. Handbrake speeds reduced by 1/3rd. I have installed Big Sur from scratch and reinstalled Handbrake. I am still getting the same slow performance.
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by mduell »

Post logs from before and after.
grafx
Posts: 1
Joined: Wed Dec 02, 2020 5:10 pm

Re: After Big Sur Upgrade: Severely reduced encoding speed

Post by grafx »

I am having a similar issue in Big Sur (11.0.1). It seems it maybe the usage of the CPU's causes a random 'kernel_task' to go crazy and more or less freezes my machine. Strange thing is - it sometimes works just fine and other times it freezes.
Post Reply