CPU usage - Single Core Only (Win 11 2022H2)

HandBrake for Windows 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
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

Description of problem or question:

My Handbrake encodes used to use about 60-70% CPU from all cores on Windows 10/11 prior to Win 11 2022H2 update.

Has anyone else experienced this behavior, is it possible there is a setting that got changed somewhere in Windows during the update?


Steps to reproduce the problem (If Applicable):

Upgrade Windows 11 to latest revision.


HandBrake version (e.g., 1.0.0):

V 1.5.1 x64


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

Windows 11 2022H2


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

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.22621.0
CPU: AMD Ryzen 9 5900X 12-Core Processor            
Ram: 16309 MB, 
GPU Information:
  AMD Radeon HD 7800 Series - 27.20.1034.6
Screen: 1920x1080
Temp Dir: C:\Users\thill\AppData\Local\Temp\
Install Dir: D:\Program Files\HandBrake\
Data Dir: C:\Users\thill\AppData\Roaming\HandBrake

-------------------------------------------
[22:42:47] hb_init: starting libhb thread

 # Starting Scan ...

[22:42:47] CPU: AMD Ryzen 9 5900X 12-Core Processor
[22:42:47]  - logical processor count: 24
[22:42:47] Intel Quick Sync Video support: no
[22:42:47] hb_scan: path=F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts\) failed
[22:42:47] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:42:47] dvd: not a dvd - trying as a stream/file instead
[22:42:47] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:42:47] Found the following PIDS
[22:42:47]     Video PIDS :
[22:42:47]       0x100 type MPEG2 (0x2) (PCR)
[22:42:47]     Audio PIDS :
[22:42:47]       0x101 type AC3 (0x81)
[22:42:47]       0x102 type AC3 (0x81)
[22:42:47]     Subtitle PIDS :
[22:42:47]     Other PIDS :
[22:42:47] stream id 0x101 (type 0x81 substream 0x0) audio 0x101
[22:42:47] stream id 0x102 (type 0x81 substream 0x0) audio 0x102
[22:42:47] scan: decoding previews for title 1
[22:42:47] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:42:47] scan: audio 0x101: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch) (384 kbps)
[22:42:47] scan: audio 0x102: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[22:42:47] stream: 8 good frames, 0 errors (0%)
[22:42:47] scan: 15 previews, 1280x720, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[22:42:47] libhb: scan thread found 1 valid title(s)

 # Scan Finished ...

[22:42:47] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[22:42:51] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[22:53:20] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
rollin_eng
Veteran User
Posts: 4858
Joined: Wed May 04, 2011 11:06 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by rollin_eng »

Could you please post your encode log.
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.22621.0
CPU: AMD Ryzen 9 5900X 12-Core Processor            
Ram: 16309 MB, 
GPU Information:
  AMD Radeon HD 7800 Series - 27.20.1034.6
Screen: 1920x1080
Temp Dir: C:\Users\thill\AppData\Local\Temp\
Install Dir: D:\Program Files\HandBrake\
Data Dir: C:\Users\thill\AppData\Roaming\HandBrake

-------------------------------------------

 # Starting Encode ...

[22:43:11] base preset: TV (HD)
[22:43:11] Remote Process started with Process ID: 30104 using port: 8037. Max Allowed Instances: 2
[22:43:12] Worker: Starting HandBrake Engine ...
[22:43:12] Worker: Starting Web Server on port 8037 ...
[22:43:12] Worker: Disconnected worker monitoring enabled!
[22:43:12] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
it: starting libhb thread
[22:43:13] Starting work at: Wed Oct 19 22:43:13 2022
[22:43:13] 1 job(s) to process
[22:43:13] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "DRC": 0.5,
        "Encoder": "av_aac",
        "Gain": 5,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "\\\\batman\\Videos\\TV\\Big Sky\\Season 3\\Big Sky - S03E05 - Flesh And Blood.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 2,
        "Settings": {}
      },
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "720",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900900"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "F:\\Big Sky (2020) - S03E05 - Flesh and Blood.ts"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "Bitrate": 1024,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false
    }
  }
}
[22:43:13] CPU: AMD Ryzen 9 5900X 12-Core Processor
[22:43:13]  - logical processor count: 24
[22:43:13] Intel Quick Sync Video support: no
[22:43:13] hb_scan: path=F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts\) failed
[22:43:13] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
vdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:43:13] dvd: not a dvd - trying as a stream/file instead
[22:43:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:43:13] Found the following PIDS
[22:43:13]     Video PIDS :
[22:43:13]       0x100 type MPEG2 (0x2) (PCR)
[22:43:13]     Audio PIDS :
[22:43:13]       0x101 type AC3 (0x81)
[22:43:13]       0x102 type AC3 (0x81)
[22:43:13]     Subtitle PIDS :
[22:43:13]     Other PIDS :
[22:43:13] stream id 0x101 (type 0x81 substream 0x0) audio 0x101
[22:43:13] stream id 0x102 (type 0x81 substream 0x0) audio 0x102
[22:43:13] scan: decoding previews for title 1
[22:43:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:43:13] scan: audio 0x101: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch) (384 kbps)
[22:43:13] scan: audio 0x102: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[22:43:13] stream: 35 good frames, 0 errors (0%)
[22:43:13] scan: 10 previews, 1280x720, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[22:43:13] libhb: scan thread found 1 valid title(s)
[22:43:13] Skipping subtitle scan.  No suitable subtitle tracks.
[22:43:13] Starting Task: Analysis Pass
[22:43:13] Skipping crop/scale filter
[22:43:13] work: track 1, dithering not supported by codec
[22:43:13] work: only 1 chapter, disabling chapter markers
[22:43:13] job configuration:
[22:43:13]  * source
[22:43:13]    + F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts
[22:43:13]    + title 1, chapter(s) 1 to 1
[22:43:13]  * destination
[22:43:13]    + \\batman\Videos\TV\Big Sky\Season 3\Big Sky - S03E05 - Flesh And Blood.mp4
[22:43:13]    + container: MPEG-4 (libavformat)
[22:43:13]  * video track
[22:43:13]    + decoder: mpeg2video 8-bit (yuv420p)
[22:43:13]      + bitrate 200 kbps
[22:43:13]    + filters
[22:43:13]      + Detelecine (pullup) ()
[22:43:13]      + 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)
[22:43:13]      + Decomb (mode=39)
[22:43:13]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:43:13]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:43:13]    + Output geometry
[22:43:13]      + storage dimensions: 1280 x 720
[22:43:13]      + pixel aspect ratio: 1 : 1
[22:43:13]      + display dimensions: 1280 x 720
[22:43:13]    + encoder: H.265 (libx265)
[22:43:13]      + preset:  fast
[22:43:13]      + profile: auto
[22:43:13]      + level:   auto
[22:43:13]      + bitrate: 1024 kbps, pass: 1
[22:43:13]      + fast first pass
[22:43:13]      + color profile: 1-1-1
[22:43:13]      + chroma location: left
[22:43:13]  * audio track 1
[22:43:13]    + decoder: English (AC3) (5.1 ch) (384 kbps) (track 1, id 0x101)
[22:43:13]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:43:13]    + mixdown: Dolby Pro Logic II
[22:43:13]    + gain: 5dB
[22:43:13]    + dynamic range compression: 0.500000
[22:43:13]    + encoder: AAC (libavcodec)
[22:43:13]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:43:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:43:13] sync: expecting 149439 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 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         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1024 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=4 deblock sao
x265 [info]: tools: stats-write
[22:43:13] sync: first pts video is 0
[22:43:13] sync: first pts audio 0x101 is 3740
[22:52:24] hb_ts_stream_decode - eof
[22:52:24] reader: done. 1 scr changes
[22:52:25] work: average encoding speed for job is 269.963562 fps
[22:52:25] comb detect: heavy 10116 | light 26576 | uncombed 112309 | total 149001
[22:52:25] decomb: deinterlaced 10116 | blended 26576 | unfiltered 112309 | total 149001
[22:52:25] vfr: 74520 frames output, 74481 dropped and 0 duped for CFR/PFR
[22:52:25] vfr: lost time: 58558 (0 frames)
[22:52:25] vfr: gained time: 58558 (148 frames) (0 not accounted for)
[22:52:25] stream: 149038 good frames, 0 errors (0%)
[22:52:25] ac3-decoder done: 77700 frames, 0 decoder errors
[22:52:25] mpeg2video-decoder done: 149038 frames, 0 decoder errors
[22:52:25] sync: got 149038 frames, 149439 expected
[22:52:25] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[aac @ 0000026b7d3ed180] Ignoring attempt to flush encoder that doesn't support it
[aac @ 0000026b7d3ed180] Qavg: 268.918
x265 [info]: frame I:    653, Avg QP:21.96  kb/s: 8629.84
x265 [info]: frame P:  14964, Avg QP:23.27  kb/s: 3083.94
x265 [info]: frame B:  58903, Avg QP:28.68  kb/s: 405.10
x265 [info]: Weighted P-Frames: Y:3.5% UV:2.5%
x265 [info]: consecutive B-frames: 4.6% 0.7% 0.7% 0.9% 93.1%
encoded 74520 frames in 552.43s (134.89 fps), 1015.10 kb/s, Avg QP:27.53
[22:52:25] Starting Task: Encoding Pass
[22:52:25] Skipping crop/scale filter
[22:52:25] work: track 1, dithering not supported by codec
[22:52:25] work: only 1 chapter, disabling chapter markers
[22:52:25] job configuration:
[22:52:25]  * source
[22:52:25]    + F:\Big Sky (2020) - S03E05 - Flesh and Blood.ts
[22:52:25]    + title 1, chapter(s) 1 to 1
[22:52:25]  * destination
[22:52:25]    + \\batman\Videos\TV\Big Sky\Season 3\Big Sky - S03E05 - Flesh And Blood.mp4
[22:52:25]    + container: MPEG-4 (libavformat)
[22:52:25]  * video track
[22:52:25]    + decoder: mpeg2video 8-bit (yuv420p)
[22:52:25]      + bitrate 200 kbps
[22:52:25]    + filters
[22:52:25]      + Detelecine (pullup) ()
[22:52:25]      + 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)
[22:52:25]      + Decomb (mode=39)
[22:52:25]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:52:25]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:52:25]    + Output geometry
[22:52:25]      + storage dimensions: 1280 x 720
[22:52:25]      + pixel aspect ratio: 1 : 1
[22:52:25]      + display dimensions: 1280 x 720
[22:52:25]    + encoder: H.265 (libx265)
[22:52:25]      + preset:  fast
[22:52:25]      + profile: auto
[22:52:25]      + level:   auto
[22:52:25]      + bitrate: 1024 kbps, pass: 2
[22:52:25]      + color profile: 1-1-1
[22:52:25]      + chroma location: left
[22:52:25]  * audio track 1
[22:52:25]    + decoder: English (AC3) (5.1 ch) (384 kbps) (track 1, id 0x101)
[22:52:25]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:52:25]    + mixdown: Dolby Pro Logic II
[22:52:25]    + gain: 5dB
[22:52:25]    + dynamic range compression: 0.500000
[22:52:25]    + encoder: AAC (libavcodec)
[22:52:25]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:52:25] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:52:25] sync: expecting 149038 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 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 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1024 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao stats-read
[22:52:27] sync: first pts video is 0
[22:52:27] sync: first pts audio 0x101 is 3740
[23:03:11] hb_ts_stream_decode - eof
[23:03:11] reader: done. 1 scr changes
[23:03:12] work: average encoding speed for job is 231.226196 fps
[23:03:12] comb detect: heavy 10116 | light 26576 | uncombed 112309 | total 149001
[23:03:12] decomb: deinterlaced 10116 | blended 26576 | unfiltered 112309 | total 149001
[23:03:12] vfr: 74520 frames output, 74481 dropped and 0 duped for CFR/PFR
[23:03:12] vfr: lost time: 58558 (0 frames)
[23:03:12] vfr: gained time: 58558 (148 frames) (0 not accounted for)
[23:03:12] stream: 149038 good frames, 0 errors (0%)
[23:03:12] ac3-decoder done: 77700 frames, 0 decoder errors
[23:03:12] mpeg2video-decoder done: 149038 frames, 0 decoder errors
[23:03:12] sync: got 149038 frames, 149038 expected
[23:03:12] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[aac @ 0000026b24b86040] Ignoring attempt to flush encoder that doesn't support it
[aac @ 0000026b24b86040] Qavg: 268.918
x265 [info]: frame I:    653, Avg QP:20.26  kb/s: 10346.71
x265 [info]: frame P:  14964, Avg QP:23.61  kb/s: 3005.19
x265 [info]: frame B:  58903, Avg QP:29.10  kb/s: 417.25
x265 [info]: Weighted P-Frames: Y:3.5% UV:2.5%
x265 [info]: consecutive B-frames: 4.6% 0.7% 0.7% 0.9% 93.1%
encoded 74520 frames in 645.03s (115.53 fps), 1023.93 kb/s, Avg QP:27.92
[23:03:12] mux: track 0, 74520 frames, 318546544 bytes, 1024.88 kbps, fifo 8192
[23:03:12] mux: track 1, 116551 frames, 40047345 bytes, 128.85 kbps, fifo 8192
[23:03:12] Finished work at: Wed Oct 19 23:03:12 2022
[23:03:12] libhb: work result = 0

 # Job Completed!


[22:43:13] hb_in

Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

Another interesting thing. The CLI version through VAP6 is still using all of the cores on the same TV encodes.
Deleted User 11865

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Deleted User 11865 »

We'd need to see the CLI log (stderr) too please.
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

CLI version but from different source with same preset

Code: Select all

[22:01:09] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[22:01:10] hb_init: starting libhb thread
[22:01:10] thread 1 started ("libhb")
HandBrake 1.5.1 (2022011000) - MinGW x86_64 - https://handbrake.fr
24 CPUs detected
Opening F:\The Simpsons\The Simpsons - S34E05 - Not It.ts...
[22:01:10] CPU: AMD Ryzen 9 5900X 12-Core Processor            
[22:01:10]  - logical processor count: 24
[22:01:10] Intel Quick Sync Video support: no
[22:01:10] hb_scan: path=F:\The Simpsons\The Simpsons - S34E05 - Not It.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(F:\The Simpsons\The Simpsons - S34E05 - Not It.ts\) failed
[22:01:10] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:01:10] dvd: not a dvd - trying as a stream/file instead
[22:01:10] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:01:10] Found the following PIDS
[22:01:10]     Video PIDS : 
[22:01:10]       0x100 type MPEG2 (0x2) (PCR)
[22:01:10]     Audio PIDS : 
[22:01:10]       0x101 type AC3 (0x81)
[22:01:10]       0x102 type AC3 (0x81)
[22:01:10]     Subtitle PIDS : 
[22:01:10]     Other PIDS : 
[22:01:10] stream id 0x101 (type 0x81 substream 0x0) audio 0x101
[22:01:10] stream id 0x102 (type 0x81 substream 0x0) audio 0x102
[22:01:10] scan: decoding previews for title 1
[22:01:10] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:01:10] scan: audio 0x101: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch) (384 kbps)
[22:01:10] scan: audio 0x102: ac3, rate=48000Hz, bitrate=192000 espa¤ol (AC3) (2.0 ch) (192 kbps)
[22:01:10] stream: 65 good frames, 0 errors (0%)
[22:01:10] scan: 10 previews, 1280x720, 59.940 fps, autocrop = 4/0/2/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left

Scanning title 1 of 1, preview 10, 100.00 %[22:01:10] libhb: scan thread found 1 valid title(s)
+ Using preset: TV (HD)
+ title 1:
  + stream: F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
  + duration: 00:21:39
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 59.940 fps
  + autocrop: 4/0/2/0
  + chapters:
    + 1: duration 00:21:39
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (384 kbps) (iso639-2: eng), 48000Hz, 384000bps
    + 2, español (AC3) (2.0 ch) (192 kbps) (iso639-2: spa), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English, Closed Caption [CC608]
[22:01:10] Starting work at: Sun Oct 23 22:01:10 2022

[22:01:10] 1 job(s) to process
[22:01:10] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 128,
                "CompressionLevel": 0.0,
                "DRC": 0.5,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 5.0,
                "Mixdown": "dpl2",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 48000,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3",
            "copy:dtshd",
            "copy:dts",
            "copy:mp3",
            "copy:truehd",
            "copy:flac",
            "copy:eac3"
        ],
        "FallbackEncoder": "ac3"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 21,
                    "Seconds": 39,
                    "Ticks": 116974888
                },
                "Name": "Chapter 1"
            }
        ],
        "ChapterMarkers": false,
        "File": "\\\\batman\\Videos\\The Simpsons - S34E05 - Not It.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 2,
                "Settings": {
                    "plane": "0",
                    "skip-bottom": "4",
                    "skip-left": "1",
                    "skip-right": "1",
                    "skip-top": "4"
                }
            },
            {
                "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": 1,
                    "rate": "27000000/900900"
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 720,
                    "width": 1280
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "F:\\The Simpsons\\The Simpsons - S34E05 - Not It.ts",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "Bitrate": 1024,
        "ChromaLocation": 1,
        "ColorInputFormat": 0,
        "ColorMatrix": 1,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x265",
        "Level": "auto",
        "Options": "",
        "Preset": "fast",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 0,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Tune": "",
        "Turbo": true,
        "TwoPass": true
    }
}
[22:01:10] Skipping subtitle scan.  No suitable subtitle tracks.
[22:01:10] Starting Task: Analysis Pass
[22:01:10] Skipping crop/scale filter
[22:01:10] work: track 1, compression level not supported by codec
[22:01:10] job configuration:
[22:01:10]  * source
[22:01:10]    + F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
[22:01:10]    + title 1, chapter(s) 1 to 1
[22:01:10]  * destination
[22:01:10]    + \\batman\Videos\The Simpsons - S34E05 - Not It.mp4
[22:01:10]    + container: MPEG-4 (libavformat)
[22:01:10]  * video track
[22:01:10]    + decoder: mpeg2video 8-bit (yuv420p)
[22:01:10]      + bitrate 200 kbps
[22:01:10]    + filters
[22:01:10]      + Detelecine (pullup) (skip-left=1:skip-right=1:skip-top=4:skip-bottom=4:plane=0)
[22:01:10]      + 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)
[22:01:10]      + Decomb (mode=39)
[22:01:10]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:01:10]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:01:10]    + Output geometry
[22:01:10]      + storage dimensions: 1280 x 720
[22:01:10]      + pixel aspect ratio: 1 : 1
[22:01:10]      + display dimensions: 1280 x 720
[22:01:10]    + encoder: H.265 (libx265)
[22:01:10]      + preset:  fast
[22:01:10]      + profile: auto
[22:01:10]      + level:   auto
[22:01:10]      + bitrate: 1024 kbps, pass: 1
[22:01:10]      + fast first pass
[22:01:10]      + color profile: 1-1-1
[22:01:10]      + chroma location: left
[22:01:10]  * audio track 1
[22:01:10]    + decoder: English (AC3) (5.1 ch) (384 kbps) (track 1, id 0x101)
[22:01:10]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:01:10]    + mixdown: Dolby Pro Logic II
[22:01:10]    + gain: 5dB
[22:01:10]    + dynamic range compression: 0.500000
[22:01:10]    + encoder: AAC (libavcodec)
[22:01:10]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:01:10] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:01:10] sync: expecting 77905 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 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         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1024 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=4 deblock sao
x265 [info]: tools: stats-write
[22:01:10] sync: first pts video is 0
[22:01:10] sync: first pts audio 0x101 is 5266
[22:06:51] hb_ts_stream_decode - eof
[22:06:51] reader: done. 1 scr changes
[22:06:51] work: average encoding speed for job is 227.441742 fps
[22:06:51] comb detect: heavy 10152 | light 14665 | uncombed 52582 | total 77399
[22:06:51] decomb: deinterlaced 10152 | blended 14665 | unfiltered 52582 | total 77399
[22:06:51] vfr: 38736 frames output, 38663 dropped and 0 duped for CFR/PFR
[22:06:51] vfr: lost time: 108114 (0 frames)
[22:06:51] vfr: gained time: 108114 (288 frames) (0 not accounted for)
[22:06:51] stream: 77471 good frames, 0 errors (0%)
[22:06:51] ac3-decoder done: 40389 frames, 0 decoder errors
[22:06:51] mpeg2video-decoder done: 77471 frames, 0 decoder errors
[22:06:51] sync: got 77471 frames, 77905 expected
[22:06:51] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[aac @ 0000000007147380] Ignoring attempt to flush encoder that doesn't support it
[aac @ 0000000007147380] Qavg: 232.612
x265 [info]: frame I:    349, Avg QP:24.69  kb/s: 13040.26
x265 [info]: frame P:   7815, Avg QP:27.23  kb/s: 3040.32 
x265 [info]: frame B:  30572, Avg QP:33.55  kb/s: 375.96  
x265 [info]: Weighted P-Frames: Y:0.8% UV:0.5%
x265 [info]: consecutive B-frames: 5.0% 1.2% 0.5% 1.3% 92.1% 

encoded 38736 frames in 341.05s (113.58 fps), 1027.59 kb/s, Avg QP:32.19
[22:06:51] Starting Task: Encoding Pass
[22:06:51] Skipping crop/scale filter
[22:06:51] work: track 1, compression level not supported by codec
[22:06:51] job configuration:
[22:06:51]  * source
[22:06:51]    + F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
[22:06:51]    + title 1, chapter(s) 1 to 1
[22:06:51]  * destination
[22:06:51]    + \\batman\Videos\The Simpsons - S34E05 - Not It.mp4
[22:06:51]    + container: MPEG-4 (libavformat)
[22:06:51]  * video track
[22:06:51]    + decoder: mpeg2video 8-bit (yuv420p)
[22:06:51]      + bitrate 200 kbps
[22:06:51]    + filters
[22:06:51]      + Detelecine (pullup) (skip-left=1:skip-right=1:skip-top=4:skip-bottom=4:plane=0)
[22:06:51]      + 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)
[22:06:51]      + Decomb (mode=39)
[22:06:51]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:06:51]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:06:51]    + Output geometry
[22:06:51]      + storage dimensions: 1280 x 720
[22:06:51]      + pixel aspect ratio: 1 : 1
[22:06:51]      + display dimensions: 1280 x 720
[22:06:51]    + encoder: H.265 (libx265)
[22:06:51]      + preset:  fast
[22:06:51]      + profile: auto
[22:06:51]      + level:   auto
[22:06:51]      + bitrate: 1024 kbps, pass: 2
[22:06:51]      + color profile: 1-1-1
[22:06:51]      + chroma location: left
[22:06:51]  * audio track 1
[22:06:51]    + decoder: English (AC3) (5.1 ch) (384 kbps) (track 1, id 0x101)
[22:06:51]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:06:51]    + mixdown: Dolby Pro Logic II
[22:06:51]    + gain: 5dB
[22:06:51]    + dynamic range compression: 0.500000
[22:06:51]    + encoder: AAC (libavcodec)
[22:06:51]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:06:51] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:06:51] sync: expecting 77471 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 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 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1024 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao stats-read
[22:06:53] sync: first pts video is 0
[22:06:53] sync: first pts audio 0x101 is 5266
[22:13:10] hb_ts_stream_decode - eof
[22:13:10] reader: done. 1 scr changes
[22:13:10] work: average encoding speed for job is 205.019501 fps
[22:13:11] comb detect: heavy 10152 | light 14665 | uncombed 52582 | total 77399
[22:13:11] decomb: deinterlaced 10152 | blended 14665 | unfiltered 52582 | total 77399
[22:13:11] vfr: 38736 frames output, 38663 dropped and 0 duped for CFR/PFR
[22:13:11] vfr: lost time: 108114 (0 frames)
[22:13:11] vfr: gained time: 108114 (288 frames) (0 not accounted for)
[22:13:11] stream: 77471 good frames, 0 errors (0%)
[22:13:11] ac3-decoder done: 40389 frames, 0 decoder errors
[22:13:11] mpeg2video-decoder done: 77471 frames, 0 decoder errors
[22:13:11] sync: got 77471 frames, 77471 expected
[22:13:11] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[aac @ 000000003c901440] Ignoring attempt to flush encoder that doesn't support it
[aac @ 000000003c901440] Qavg: 232.612
x265 [info]: frame I:    349, Avg QP:23.14  kb/s: 14874.74
x265 [info]: frame P:   7815, Avg QP:27.37  kb/s: 2884.16 
x265 [info]: frame B:  30572, Avg QP:33.94  kb/s: 389.38  
x265 [info]: Weighted P-Frames: Y:0.8% UV:0.5%
x265 [info]: consecutive B-frames: 5.0% 1.2% 0.5% 1.3% 92.1% 

encoded 38736 frames in 378.17s (102.43 fps), 1023.21 kb/s, Avg QP:32.51
[22:13:11] mux: track 0, 38736 frames, 165466241 bytes, 1024.14 kbps, fifo 4096
[22:13:11] mux: track 1, 60584 frames, 20764258 bytes, 128.52 kbps, fifo 8192
[22:13:11] Finished work at: Sun Oct 23 22:13:11 2022

[22:13:11] libhb: work result = 0

Encode done!
HandBrake has exited.
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

Same source using Handbrake GUI with same Preset (Only uses single core)

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.22621.0
CPU: AMD Ryzen 9 5900X 12-Core Processor            
Ram: 16309 MB, 
GPU Information:
  AMD Radeon HD 7800 Series - 27.20.1034.6
Screen: 1920x1080
Temp Dir: C:\Users\thill\AppData\Local\Temp\
Install Dir: D:\Program Files\HandBrake\
Data Dir: C:\Users\thill\AppData\Roaming\HandBrake

-------------------------------------------

 # Starting Encode ...

[22:14:12] base preset: TV (HD)
[22:14:12] Remote Process started with Process ID: 90532 using port: 8037. Max Allowed Instances: 2
[22:14:13] Worker: Starting HandBrake Engine ...
[22:14:13] Worker: Starting Web Server on port 8037 ...
[22:14:13] Worker: Disconnected worker monitoring enabled!
[22:14:13] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[22:14:13] hb_init: starting libhb thread
[22:14:13] Starting work at: Sun Oct 23 22:14:13 2022
[22:14:13] 1 job(s) to process
[22:14:13] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "DRC": 0.5,
        "Encoder": "av_aac",
        "Gain": 5,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "F:\\Test Simpsons - S34e05 - Not It.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 2,
        "Settings": {}
      },
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "720",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900900"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "F:\\The Simpsons\\The Simpsons - S34E05 - Not It.ts"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "Bitrate": 1024,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "QSV": {
      "Decode": false
    }
  }
}
[22:14:13] CPU: AMD Ryzen 9 5900X 12-Core Processor
[22:14:13]  - logical processor count: 24
[22:14:13] Intel Quick Sync Video support: no
[22:14:13] hb_scan: path=F:\The Simpsons\The Simpsons - S34E05 - Not It.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(F:\The Simpsons\The Simpsons - S34E05 - Not It.ts\) failed
[22:14:13] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread:libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:14:13] dvd: not a dvd - trying as a stream/file instead
[22:14:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:14:13] Found the following PIDS
[22:14:13]     Video PIDS :
[22:14:13]       0x100 type MPEG2 (0x2) (PCR)
[22:14:13]     Audio PIDS :
[22:14:13]       0x101 type AC3 (0x81)
[22:14:13]       0x102 type AC3 (0x81)
[22:14:13]     Subtitle PIDS :
[22:14:13]     Other PIDS :
[22:14:13] stream id 0x101 (type 0x81 substream 0x0) audio 0x101
[22:14:13] stream id 0x102 (type 0x81 substream 0x0) audio 0x102
[22:14:13] scan: decoding previews for title 1
[22:14:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:14:13] scan: audio 0x101: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch) (384 kbps)
[22:14:14] scan: audio 0x102: ac3, rate=48000Hz, bitrate=192000 espaol (AC3) (2.0 ch) (192 kbps)
[22:14:14] stream: 65 good frames, 0 errors (0%)
[22:14:14] scan: 10 previews, 1280x720, 59.940 fps, autocrop = 4/0/2/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[22:14:14] libhb: scan thread found 1 valid title(s)
[22:14:14] Skipping subtitle scan.  No suitable subtitle tracks.
[22:14:14] Starting Task: Analysis Pass
[22:14:14] Skipping crop/scale filter
[22:14:14] work: track 1, dithering not supported by codec
[22:14:14] work: only 1 chapter, disabling chapter markers
[22:14:14] job configuration:
[22:14:14]  * source
[22:14:14]    + F:\The Simpsons\The Simpsons - S34E05 - Not It.ts
[22:14:14]    + title 1, chapter(s) 1 to 1
[22:14:14]  * destination
[22:14:14]    + F:\Test Simpsons - S34e05 - Not It.mp4
[22:14:14]    + container: MPEG-4 (libavformat)
[22:14:14]  * video track
[22:14:14]    + decoder: mpeg2video 8-bit (yuv420p)
[22:14:14]      + bitrate 200 kbps
[22:14:14]    + filters
[22:14:14]      + Detelecine (pullup) ()
[22:14:14]      + 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)
[22:14:14]      + Decomb (mode=39)
[22:14:14]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:14:14]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:14:14]    + Output geometry
[22:14:14]      + storage dimensions: 1280 x 720
[22:14:14]      + pixel aspect ratio: 1 : 1
[22:14:14]      + display dimensions: 1280 x 720
[22:14:14]    + encoder: H.265 (libx265)
[22:14:14]      + preset:  fast
[22:14:14]      + profile: auto
[22:14:14]      + level:   auto
[22:14:14]      + bitrate: 1024 kbps, pass: 1
[22:14:14]      + fast first pass
[22:14:14]      + color profile: 1-1-1
[22:14:14]      + chroma location: left
[22:14:14]  * audio track 1
[22:14:14]    + decoder: English (AC3) (5.1 ch) (384 kbps) (track 1, id 0x101)
[22:14:14]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:14:14]    + mixdown: Dolby Pro Logic II
[22:14:14]    + gain: 5dB
[22:14:14]    + dynamic range compression: 0.500000
[22:14:14]    + encoder: AAC (libavcodec)
[22:14:14]      + bitrate: 128 kbps, samplerate: 48000 Hz
[22:14:14] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:14:14] sync: expecting 77905 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 24 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 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         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias  : 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-1024 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=4 deblock sao
x265 [info]: tools: stats-write
[22:14:14] sync: first pts video is 0
[22:14:14] sync: first pts audio 0x101 is 5266

 # Encode Stopped

[22:14:38] work: average encoding speed for job is 314.545837 fps
[22:14:38] comb detect: heavy 1442 | light 1186 | uncombed 4999 | total 7627
[22:14:38] decomb: deinterlaced 1442 | blended 1185 | unfiltered 4991 | total 7618
[22:14:38] vfr: 3807 frames output, 3801 dropped and 0 duped for CFR/PFR
[22:14:38] vfr: lost time: 9011 (0 frames)
[22:14:38] vfr: gained time: 9011 (24 frames) (0 not accounted for)
[22:14:38] stream: 7711 good frames, 0 errors (0%)
[22:14:38] ac3-decoder done: 4005 frames, 0 decoder errors
[22:14:38] mpeg2video-decoder done: 7697 frames, 0 decoder errors
[22:14:38] sync: got 7656 frames, 77905 expected
[22:14:38] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[aac @ 00000296ff174700] Ignoring attempt to flush encoder that doesn't support it
[aac @ 00000296ff174700] Qavg: 214.025
[aac @ 00000296ff174700] 2 frames left in the queue on closing
x265 [info]: frame I:     45, Avg QP:27.62  kb/s: 11658.95
x265 [info]: frame P:    769, Avg QP:30.50  kb/s: 2853.23
x265 [info]: frame B:   2964, Avg QP:36.51  kb/s: 399.39
x265 [info]: Weighted P-Frames: Y:1.2% UV:0.7%
x265 [info]: consecutive B-frames: 7.0% 1.8% 0.5% 1.7% 89.0%
encoded 3778 frames in 24.45s (154.53 fps), 1032.98 kb/s, Avg QP:35.18
[22:14:38] Finished work at: Sun Oct 23 22:14:38 2022
[22:14:38] libhb: work result = 1

 # Job Cancelled!

Deleted User 11865

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Deleted User 11865 »

That's indeed odd. Sadly I am not Windows-savvy enough to think of something. but others might.
rollin_eng
Veteran User
Posts: 4858
Joined: Wed May 04, 2011 11:06 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by rollin_eng »

Your encode logs all have similar encode speeds, how are you measuring cpu usage?


[22:52:25] work: average encoding speed for job is 269.963562 fps
[23:03:12] work: average encoding speed for job is 231.226196 fps

[22:06:51] work: average encoding speed for job is 227.441742 fps
[22:13:10] work: average encoding speed for job is 205.019501 fps

[22:14:38] work: average encoding speed for job is 314.545837 fps
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

System Monitor II - AdGadgets

Yah I noticed the encode speeds (fps) were similar also. Maybe just something changed in the way Windows 11 22H2 is handing out threads.
rollin_eng
Veteran User
Posts: 4858
Joined: Wed May 04, 2011 11:06 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by rollin_eng »

What does Task Manager say about your CPU usage?
Epic
Posts: 9
Joined: Thu Oct 20, 2022 10:58 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by Epic »

Performance Monitor matches the data from AdGadgets System Monitor II.
When I do a simultaneous encode of HandbrakeCLI and HandbrakeGUI I all but one core running 60-70% (CLI) and one core at 100% (GUI). When the CLI job finishes it is back to a single core at 80% and the reset < 5%. Just something different about how Windows 2022H2 is handling GUI. Before the update both CLI and GUI behaved the same.
rollin_eng
Veteran User
Posts: 4858
Joined: Wed May 04, 2011 11:06 pm

Re: CPU usage - Single Core Only (Win 11 2022H2)

Post by rollin_eng »

Performance wise though you are getting about the same speed encoding with both the GUI and CLI so I’m not sure if there is any issue with handbrake.
Post Reply