I was comparing two identical Quick Sync Video compressions on two different desktops. I get very different results as far as file size goes.
The source file is the same 1080p H.264 compressed to H.265 by Quick Sync Video.
System 1: - Intel i7-9700K; Gigabyte B365M DS3H; 16GB DDR4 ............... 800MB
System 2: - Intel i9-12900K; AsRock H610M-HDV-M.2; 16GB DDR4 .........1.638MB
Does anyone know what causes this? Below is the activity log for both systems.
HandBrake version (e.g., 1.0.0):
Version 1.51 on both systems
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
System 1: Windows 10 Home - 21H2
System 2: Windows 11 Home - 21H2
HandBrake Activity Log ***required*** (see How-to get an activity log)
System 1:
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Ram: 16254 MB,
GPU Information:
Intel(R) UHD Graphics 630 - 26.20.100.7642
Screen: 1280x720
Temp Dir: C:\Users\heimi\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\heimi\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[17:10:39] base preset: Standard 720p QSV.265 Boosted Audio (Modified)
[17:10:39] Remote Process started with Process ID: 18780 using port: 8037. Max Allowed Instances: 1
[17:10:39] Worker: Starting HandBrake Engine ...
[17:10:39] Worker: Starting Web Server on port 8037 ...
[17:10:40] Worker: Disconnected worker monitoring enabled!
[17:10:40] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[17:10:40] hb_init: starting libhb thread
[17:10:40] Starting work at: Tue Nov 01 17:10:40 2022
[17:10:40] 1 job(s) to process
[17:10:40] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 128,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 5,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"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": true,
"File": "E:\\\u00DEj\u00F6ppun\\Cobra S02p1.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"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": "2",
"crop-top": "0",
"height": "720",
"width": "1280"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 959,
"Den": 960
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "time",
"Start": 0,
"End": 475200000
},
"Title": 1,
"Path": "M:\\Cobra S02P1.ts"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "quality",
"Profile": "auto",
"Quality": 22,
"QSV": {
"Decode": true
}
}
}
[17:10:40] CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
[17:10:40] - Intel microarchitecture Kaby Lake
[17:10:40] - logical processor count: 8
[17:10:40] Intel Quick Sync Video support: yes, gpu list: 0
[17:10:40] Intel Quick Sync Video integrated adapter with index 0
[17:10:40] - Intel Media SDK hardware: API 1.30 (minimum: 1.3)
[17:10:40] - Decode support: h264 hevc (8bit: yes, 10bit: yes)
[17:10:40] - H.264 encoder: yes
[17:10:40] - preferred implementation: hardware (1) via D3D11
[17:10:40] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[17:10:40] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[17:10:40] - preferred implementation: hardware (1) via D3D11
[17:10:40] - capabilities (hardware): bpyramid icq vsinfo opt1
[17:10:40] hb_scan: path=M:\Cobra S02P1.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image M:\Cobra S02P1.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 nav_get_title_list(M:\Cobra S02P1.ts\) failed
[17:10:40] 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
[17:10:40] dvd: not a dvd - trying as a stream/file instead
[17:10:40] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:10:40] Found the following PIDS
[17:10:40] Video PIDS :
[17:10:40] 0x30 type H.264 (0x1b) (PCR)
[17:10:40] Audio PIDS :
[17:10:40] 0x31 type MPEG2 (0x4)
[17:10:40] Subtitle PIDS :
[17:10:40] Other PIDS :
[17:10:40] stream id 0x31 (type 0x4 substream 0x0) audio 0x31
[17:10:41] scan: decoding previews for title 1
[17:10:41] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:10:41] scan: audio 0x31: mp2, rate=48000Hz, bitrate=128000 Unknown (MPEG) (2.0 ch) (128 kbps)
[17:10:42] stream: 52 good frames, 0 errors (0%)
[17:10:42] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 60/60/0/2, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:10:42] scan: supported video decoders: avcodec qsv
[17:10:42] libhb: scan thread found 1 valid title(s)
[17:10:42] Skipping subtitle scan. No suitable subtitle tracks.
[17:10:42] Starting Task: Encoding Pass
[17:10:42] work: track 1, dithering not supported by codec
[17:10:42] work: only 1 chapter, disabling chapter markers
[17:10:42] job configuration:
[17:10:42] * source
[17:10:42] + M:\Cobra S02P1.ts
[17:10:42] + title 1, start 00:00:0.00 stop 01:28:0.00
[17:10:42] * destination
[17:10:42] + E:\_j"ppun\Cobra S02p1.mp4
[17:10:42] + container: MPEG-4 (libavformat)
[17:10:42] + align initial A/V stream timestamps
[17:10:42] * video track
[17:10:42] + decoder: h264_qsv 8-bit (yuv420p)
[17:10:42] + bitrate 200 kbps
[17:10:42] + filters
[17:10:42] + 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)
[17:10:42] + Decomb (mode=39)
[17:10:42] + Framerate Shaper (mode=1)
[17:10:42] + frame rate: 25.000 fps -> constant 25.000 fps
[17:10:42] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[17:10:42] + source: 1920 * 1080, crop (0/0/0/2): 1918 * 1080, scale: 1280 * 720
[17:10:42] + Output geometry
[17:10:42] + storage dimensions: 1280 x 720
[17:10:42] + pixel aspect ratio: 959 : 960
[17:10:42] + display dimensions: 1278 x 720
[17:10:42] + encoder: H.265 (Intel Media SDK)
[17:10:42] + preset: quality
[17:10:42] + profile: auto
[17:10:42] + level: auto
[17:10:42] + quality: 22.00 (ICQ)
[17:10:42] + color profile: 1-1-1
[17:10:42] + chroma location: left
[17:10:42] * audio track 1
[17:10:42] + decoder: Unknown (MPEG) (2.0 ch) (128 kbps) (track 1, id 0x31)
[17:10:42] + bitrate: 128 kbps, samplerate: 48000 Hz
[17:10:42] + mixdown: Stereo
[17:10:42] + gain: 5dB
[17:10:42] + encoder: AAC (libavcodec)
[17:10:42] + bitrate: 128 kbps, samplerate: 48000 Hz
[17:10:42] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:10:42] sync: expecting 132025 video frames
[17:10:42] qsv: integrated qsv adapter with index 0 has been selected
[17:10:42] encqsvInit: using encode-only path
[17:10:42] encqsvInit: H.265/HEVC Main profile @ level 4.0
[17:10:42] encqsvInit: TargetUsage 4 AsyncDepth 4
[17:10:42] encqsvInit: GopRefDist 3 GopPicSize 25 NumRefFrame 6
[17:10:42] encqsvInit: BFramesMax 2 BRefType off
[17:10:42] encqsvInit: RateControlMethod ICQ ICQQuality 22
[17:10:42] sync: first pts video is 0
[17:10:42] sync: first pts audio 0x31 is 0
[17:10:42] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 1.30
[17:35:14] sync: reached video pts 475200000, exiting early
[17:35:14] sync: reached audio 0x31 pts 475200000, exiting early
[17:35:15] work: average encoding speed for job is 89.660431 fps
[17:35:15] comb detect: heavy 1260 | light 6811 | uncombed 123929 | total 132000
[17:35:15] decomb: deinterlaced 1260 | blended 6811 | unfiltered 123929 | total 132000
[17:35:15] vfr: 132000 frames output, 0 dropped and 0 duped for CFR/PFR
[17:35:15] vfr: lost time: 0 (0 frames)
[17:35:15] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:35:15] stream: 132196 good frames, 0 errors (0%)
[17:35:15] mp2-decoder done: 220236 frames, 0 decoder errors
[17:35:15] h264_qsv-decoder done: 132133 frames, 0 decoder errors
[17:35:15] sync: got 132000 frames, 132025 expected
[17:35:15] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[aac @ 00000204df840e80] Ignoring attempt to flush encoder that doesn't support it
[aac @ 00000204df840e80] Qavg: 440.617
[17:35:15] mux: track 0, 132000 frames, 750721849 bytes, 1137.45 kbps, fifo 4096
[17:35:15] mux: track 1, 247501 frames, 84789936 bytes, 128.47 kbps, fifo 8192
[17:35:15] Finished work at: Tue Nov 01 17:35:15 2022
[17:35:15] libhb: work result = 0
# Job Completed!
---------------------------------------------------------------------------------------------------------------------
System 2:
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
Code: Select all
HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.22000.0
CPU: 12th Gen Intel(R) Core(TM) i9-12900K
Ram: 16148 MB,
GPU Information:
Intel(R) UHD Graphics 770 - 30.0.101.1002
Screen: 1602.7826086956522x901.5652173913044
Temp Dir: C:\Users\Heimir Birgisson\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Heimir Birgisson\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[01:57:00] base preset: Standard QSV.265 720p CQ22
[01:57:00] Remote Process started with Process ID: 8892 using port: 8038. Max Allowed Instances: 1
[01:57:00] Worker: Starting HandBrake Engine ...
[01:57:00] Worker: Starting Web Server on port 8038 ...
[01:57:01] Worker: Disconnected worker monitoring enabled!
[01:57:01] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[01:57:01] hb_init: starting libhb thread
[01:57:01] Starting work at: Wed Nov 02 01:57:01 2022
[01:57:01] 1 job(s) to process
[01:57:01] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 128,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 5,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"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": true,
"File": "E:\\Compressed Files\\Cobra S02p1.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"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": "2",
"crop-top": "0",
"height": "720",
"width": "1280"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 959,
"Den": 960
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "time",
"Start": 0,
"End": 475200000
},
"Title": 1,
"Path": "M:\\Cobra S02P1.ts"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "quality",
"Profile": "auto",
"Quality": 22,
"QSV": {
"Decode": true
}
}
}
[01:57:01] CPU: 12th Gen Intel(R) Core(TM) i9-12900K
[01:57:01] - logical processor count: 24
[01:57:01] Intel Quick Sync Video support: yes, gpu list: 0
[01:57:01] Intel Quick Sync Video integrated adapter with index 0
[01:57:01] - Intel Media SDK hardware: API 1.255 (minimum: 1.3)
[01:57:01] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[01:57:01] - H.264 encoder: yes
[01:57:01] - preferred implementation: hardware (1) via D3D11
[01:57:01] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[01:57:01] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[01:57:01] - preferred implementation: hardware (1) via D3D11
[01:57:01] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1
[01:57:01] hb_scan: path=M:\Cobra S02P1.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image M:\Cobra S02P1.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(M:\Cobra S02P1.ts\) failed
[01:57:06] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't openlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[01:57:06] dvd: not a dvd - trying as a stream/file instead
[01:57:06] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:57:06] Found the following PIDS
[01:57:06] Video PIDS :
[01:57:06] 0x30 type H.264 (0x1b) (PCR)
[01:57:06] Audio PIDS :
[01:57:06] 0x31 type MPEG2 (0x4)
[01:57:06] Subtitle PIDS :
[01:57:06] Other PIDS :
[01:57:06] stream id 0x31 (type 0x4 substream 0x0) audio 0x31
[01:57:08] scan: decoding previews for title 1
[01:57:08] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:57:08] scan: audio 0x31: mp2, rate=48000Hz, bitrate=128000 Unknown (MPEG) (2.0 ch) (128 kbps)
[01:57:09] stream: 52 good frames, 0 errors (0%)
[01:57:09] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 60/60/0/2, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[01:57:09] scan: supported video decoders: avcodec qsv
[01:57:09] libhb: scan thread found 1 valid title(s)
[01:57:09] Skipping subtitle scan. No suitable subtitle tracks.
[01:57:09] Starting Task: Encoding Pass
[01:57:09] work: track 1, dithering not supported by codec
[01:57:09] work: only 1 chapter, disabling chapter markers
[01:57:09] job configuration:
[01:57:09] * source
[01:57:09] + M:\Cobra S02P1.ts
[01:57:09] + title 1, start 00:00:0.00 stop 01:28:0.00
[01:57:09] * destination
[01:57:09] + E:\Compressed Files\Cobra S02p1.mp4
[01:57:09] + container: MPEG-4 (libavformat)
[01:57:09] + align initial A/V stream timestamps
[01:57:09] * video track
[01:57:09] + decoder: h264_qsv 8-bit (yuv420p)
[01:57:09] + bitrate 200 kbps
[01:57:09] + filters
[01:57:09] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[01:57:09] + Decomb (mode=39)
[01:57:09] + Framerate Shaper (mode=1)
[01:57:09] + frame rate: 25.000 fps -> constant 25.000 fps
[01:57:09] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[01:57:09] + source: 1920 * 1080, crop (0/0/0/2): 1918 * 1080, scale: 1280 * 720
[01:57:09] + Output geometry
[01:57:09] + storage dimensions: 1280 x 720
[01:57:09] + pixel aspect ratio: 959 : 960
[01:57:09] + display dimensions: 1278 x 720
[01:57:09] + encoder: H.265 (Intel Media SDK)
[01:57:09] + preset: quality
[01:57:09] + options: lowpower=1
[01:57:09] + profile: auto
[01:57:09] + level: auto
[01:57:09] + quality: 22.00 (ICQ)
[01:57:09] + color profile: 1-1-1
[01:57:09] + chroma location: left
[01:57:09] * audio track 1
[01:57:09] + decoder: Unknown (MPEG) (2.0 ch) (128 kbps) (track 1, id 0x31)
[01:57:09] + bitrate: 128 kbps, samplerate: 48000 Hz
[01:57:09] + mixdown: Stereo
[01:57:09] + gain: 5dB
[01:57:09] + encoder: AAC (libavcodec)
[01:57:09] + bitrate: 128 kbps, samplerate: 48000 Hz
[01:57:09] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:57:09] sync: expecting 132025 video frames
[01:57:09] qsv: integrated qsv adapter with index 0 has been selected
[01:57:09] encqsvInit: using encode-only (LowPower) path
[01:57:09] encqsvInit: H.265/HEVC Main profile @ level 4.0
[01:57:09] encqsvInit: TargetUsage 4 AsyncDepth 6
[01:57:09] encqsvInit: GopRefDist 3 GopPicSize 25 NumRefFrame 3
[01:57:09] encqsvInit: BFramesMax 2 BRefType off
[01:57:09] encqsvInit: RateControlMethod ICQ ICQQuality 22
[01:57:11] sync: first pts video is 0
[01:57:11] sync: first pts audio 0x31 is 0
[01:57:11] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 1.255
[02:06:32] sync: reached video pts 475200000, exiting early
[02:06:32] sync: reached audio 0x31 pts 475200000, exiting early
[02:06:33] work: average encoding speed for job is 234.910828 fps
[02:06:33] comb detect: heavy 1260 | light 6811 | uncombed 123929 | total 132000
[02:06:33] decomb: deinterlaced 1260 | blended 6811 | unfiltered 123929 | total 132000
[02:06:33] vfr: 132000 frames output, 0 dropped and 0 duped for CFR/PFR
[02:06:33] vfr: lost time: 0 (0 frames)
[02:06:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[02:06:33] stream: 132140 good frames, 0 errors (0%)
[02:06:33] mp2-decoder done: 220141 frames, 0 decoder errors
[02:06:33] h264_qsv-decoder done: 132082 frames, 0 decoder errors
[02:06:33] sync: got 132000 frames, 132025 expected
[02:06:33] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[aac @ 0000014c67e7e200] Ignoring attempt to flush encoder that doesn't support it
[aac @ 0000014c67e7e200] Qavg: 440.617
[02:06:33] mux: track 0, 132000 frames, 1628972018 bytes, 2468.12 kbps, fifo 2048
[02:06:33] mux: track 1, 247501 frames, 84789936 bytes, 128.47 kbps, fifo 4096
[02:06:33] Finished work at: Wed Nov 02 02:06:33 2022
[02:06:33] libhb: work result = 0
# Job Completed!