"similar" Preset differnces

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
k9393
Posts: 9
Joined: Tue Mar 07, 2023 1:35 am

"similar" Preset differnces

Post by k9393 »

Description of problem or question:

For presets what is the difference between the following two:
(1) Preset "Fast 720p30" + video encoder=H.265 + encoder preset=Slow + format=MKV
(2) Preset "H.265 MKV 720p30"

The only difference I see in the settings is that (2) has extra arguments of: "strong-intra-smoothing=0:rect=0:aq-mode=1".

For a small test run (trans-code of a 1080p30 file of 67 seconds in length) I found that (2) produced a slightly smaller file (8,242 KB vs 8,736 KB) and the encode is significantly faster (46 seconds vs 63 seconds). Do the extra arguments in (2) explain the differences in size and speed or are there other factors?

Of note for (1), using the default encoder preset=Fast decreases its file size slightly (8,086 KB) and decreases the encode duration significantly (27 seconds). Also of interest is that using a video encoder=H.265 10-bit decreases its file size very slightly (7,989 KB) but increases the encode duration (33 seconds).

Thanks-you.

Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.6.1



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



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

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: "similar" Preset differnces

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
k9393
Posts: 9
Joined: Tue Mar 07, 2023 1:35 am

Re: "similar" Preset differnces

Post by k9393 »

Code: Select all

***** log for encode (1):

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
Ram: 16234 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 31.0.101.2111
Screen: 2560x1440
Temp Dir: C:\Users\kotj\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\kotj\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[23:35:54] base preset: Fast 720p30 (Modified)
[23:35:54] Remote Process started with Process ID: 1420 using port: 8037. Max Allowed Instances: 1
[23:35:54] Worker: Starting HandBrake Engine ...
[23:35:54] Worker: Starting Web Server on port 8037 ...
[23:35:55] Worker: Disconnected worker monitoring enabled!
[23:35:55] Compile-time hardening features are enabled
[23:35:55] qsv: is available on this system
[23:35:55] vcn: not available on this system
Cannot load nvEncodeAPI64.dll
[23:35:55] hb_init: starting libhb thread
[23:35:55] Starting work at: Fri Mar 17 23:35:55 2023
[23:35:55] 1 job(s) to process
[23:35:55] CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
[23:35:55]  - Intel microarchitecture Kaby Lake
[23:35:55]  - logical processor count: 6
[23:35:55] Intel Quick Sync Video support: yes, gpu list: 0
[23:35:55] Intel Quick Sync Video integrated adapter with index 0
[23:35:55] Impl mfxhw64 library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_51f685305808e3a5\libmfxhw64.dll
[23:35:55]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[23:35:55]  - H.264 encoder: yes
[23:35:55]     - preferred implementation: hardware (1) via D3D11
[23:35:55]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[23:35:55]     - preferred implementation: hardware (1) via D3D11
[23:35:55]  - AV1 encoder: no
[23:35:55] hb_scan: path=C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
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
[23:35:55] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdrealibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
d: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[23:35:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv':
  Metadata:
    title           : Top Gun: Maverick (2022)
    creation_time   : 2022-10-25T17:56:40.000000Z
    ENCODER         : Lavf58.29.100
  Duration: 02:10:14.52, start: 0.000000, bitrate: 4187 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 185.560000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 185.560000, end 820.111000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 820.111000, end 1283.282000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 1283.282000, end 1959.416000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 1959.416000, end 2687.768000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 2687.768000, end 3234.940000
      Metadata:
        title           : Chapter 6
    Chapter #0:6: start 3234.940000, end 3609.856000
      Metadata:
        title           : Chapter 7
    Chapter #0:7: start 3609.856000, end 4059.305000
      Metadata:
        title           : Chapter 8
    Chapter #0:8: start 4059.305000, end 4546.250000
      Metadata:
        title           : Chapter 9
    Chapter #0:9: start 4546.250000, end 5017.721000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 5017.721000, end 5509.212000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 5509.212000, end 6092.920000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 6092.920000, end 6528.272000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 6528.272000, end 7042.410000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 7042.410000, end 7393.136000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 7393.136000, end 7814.515000
      Metadata:
        title           : Chapter 16
  Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1008 [SAR 252:253 DAR 480:253], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 02:10:14.520000000
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      title           : Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 4304 kbps / 24-bit
      DURATION        : 02:10:14.496000000
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      DURATION        : 02:00:20.094000000
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : SDH
      DURATION        : 02:03:05.175000000
[23:35:55] scan: decoding previews for title 1
[23:35:55] scan: audio 0x1: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[23:35:55] scan: 10 previews, 1920x1008, 23.976 fps, autocrop = 0/0/0/0, aspect 1.90:1, PAR 252:253, color profile: 1-1-1, chroma location: left
[23:35:55] scan: supported video decoders: avcodec qsv
[23:35:55] libhb: scan thread found 1 valid title(s)
[23:35:55] qsv: integrated qsv adapter with index 0 has been selected
[23:35:55] Starting Task: Subtitle Scan
[23:35:55] job configuration:
[23:35:55]  * source
[23:35:55]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
[23:35:55]    + title 1, start 00:25:15.00 stop 00:26:22.00
[23:35:55]    + container: matroska,webm
[23:35:55]    + data rate: 4187 kbps
[23:35:55]  * destination
[23:35:55]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022-RF21-Fast 720p30 + video encoder=H.265 + encoder preset=Slow + format=MKV.mkv
[23:35:55]    + container: Matroska (libavformat)
[23:35:55]      + chapter markers
[23:35:55]  * video track
[23:35:55]    + decoder: hevc_qsv 8-bit (yuv420p)
[23:35:55]    + filters
[23:35:55]      + 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)
[23:35:55]      + Decomb (mode=39)
[23:35:55]      + Framerate Shaper (mode=2:rate=27000000/900000)
[23:35:55]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[23:35:55]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:35:55]        + source: 1920 * 1008, crop (0/0/0/0): 1920 * 1008, scale: 1280 * 720
[23:35:55]    + Output geometry
[23:35:55]      + storage dimensions: 1280 x 720
[23:35:55]      + pixel aspect ratio: 270 : 253
[23:35:55]      + display dimensions: 1366 x 720
[23:35:55]  * Foreign Audio Search: Render/Burn-in, Forced Only
[23:35:55]    + subtitle, English [PGS] (track 0, id 0x2, Picture)
[23:35:55]    + subtitle, English [PGS] (track 1, id 0x3, Picture)
[23:35:55] sync: expecting 1630 video frames
[23:35:57] reader: done. 1 scr changes
[23:35:57] work: average encoding speed for job is 0.000000 fps
[23:35:57] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[23:35:57] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[23:35:57] vfr: lost time: 0 (0 frames)
[23:35:57] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:35:57] hevc_qsv-decoder done: 1 frames, 0 decoder errors
[23:35:57] sync: got 0 frames, 1630 expected
[23:35:57] Subtitle track 0 (id 0x2) 'English [PGS]': 1174 hits (0 forced)
[23:35:57] Subtitle track 1 (id 0x3) 'English [PGS]': 1436 hits (0 forced)
[23:35:57] No candidate detected during subtitle scan
[23:35:57] Starting Task: Encoding Pass
[23:35:57] work: track 1, dithering not supported by codec
[23:35:57] job configuration:
[23:35:57]  * source
[23:35:57]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
[23:35:57]    + title 1, start 00:25:15.00 stop 00:26:22.00
[23:35:57]    + container: matroska,webm
[23:35:57]    + data rate: 4187 kbps
[23:35:57]  * destination
[23:35:57]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022-RF21-Fast 720p30 + video encoder=H.265 + encoder preset=Slow + format=MKV.mkv
[23:35:57]    + container: Matroska (libavformat)
[23:35:57]      + chapter markers
[23:35:57]  * video track
[23:35:57]    + decoder: hevc_qsv 8-bit (yuv420p)
[23:35:57]    + filters
[23:35:57]      + 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)
[23:35:57]      + Decomb (mode=39)
[23:35:57]      + Framerate Shaper (mode=2:rate=27000000/900000)
[23:35:57]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[23:35:57]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:35:57]        + source: 1920 * 1008, crop (0/0/0/0): 1920 * 1008, scale: 1280 * 720
[23:35:57]    + Output geometry
[23:35:57]      + storage dimensions: 1280 x 720
[23:35:57]      + pixel aspect ratio: 270 : 253
[23:35:57]      + display dimensions: 1366 x 720
[23:35:57]    + encoder: H.265 (libx265)
[23:35:57]      + preset:  slow
[23:35:57]      + profile: auto
[23:35:57]      + level:   auto
[23:35:57]      + quality: 21.00 (RF)
[23:35:57]      + color profile: 1-1-1
[23:35:57]      + chroma location: left
[23:35:57]  * subtitle track 1, English [PGS] (track 0, id 0x2, Picture) -> Passthrough
[23:35:57]  * subtitle track 2, English [PGS] (track 1, id 0x3, Picture) -> Passthrough
[23:35:57]    + name: SDH
[23:35:57]  * audio track 1
[23:35:57]    + name: Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 4304 kbps / 24-bit
[23:35:57]    + decoder: English (AC3) (5.1 ch) (640 kbps) (track 1, id 0x1)
[23:35:57]      + bitrate: 640 kbps, samplerate: 48000 Hz
[23:35:57]    + mixdown: Stereo
[23:35:57]    + encoder: AAC (libavcodec)
[23:35:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
[23:35:57] sync: expecting 1630 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 6 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / 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         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-21.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
[23:35:57] sync: first pts audio 0x1 is 0
[23:35:57] sync: first pts video is 775
[23:35:57] sync: first pts subtitle 0x2 is 990
[23:35:58] sync: first pts subtitle 0x3 is 49770
[23:36:52] sync: reached audio 0x1 pts 6030720, exiting early
[23:36:52] sync: reached video pts 6033051, exiting early
[23:36:57] work: average encoding speed for job is 29.369247 fps
[23:36:57] comb detect: heavy 0 | light 28 | uncombed 1579 | total 1607
[23:36:57] decomb: deinterlaced 0 | blended 28 | unfiltered 1579 | total 1607
[23:36:57] vfr: 1607 frames output, 0 dropped and 0 duped for CFR/PFR
[23:36:57] vfr: lost time: 0 (0 frames)
[23:36:57] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:36:57] ac3-decoder done: 5572 frames, 0 decoder errors
[23:36:57] hevc_qsv-decoder done: 4261 frames, 0 decoder errors
[23:36:57] sync: got 1607 frames, 1630 expected
[23:36:57] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     29, Avg QP:18.70  kb/s: 5877.95
x265 [info]: frame P:    388, Avg QP:21.36  kb/s: 2016.63
x265 [info]: frame B:   1190, Avg QP:26.93  kb/s: 271.75
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
encoded 1607 frames in 60.07s (26.75 fps), 794.21 kb/s, Avg QP:25.44
[23:36:57] mux: track 0, 1607 frames, 6660438 bytes, 794.48 kbps, fifo 2048
[23:36:57] mux: track 1, 3142 frames, 1356830 bytes, 161.85 kbps, fifo 4096
[23:36:57] mux: track 2, 49 frames, 404800 bytes, 48.29 kbps, fifo 64
[23:36:57] mux: track 3, 55 frames, 482386 bytes, 57.54 kbps, fifo 64
[23:36:57] Finished work at: Fri Mar 17 23:36:57 2023
[23:36:57] libhb: work result = 0

 # Job Completed!


***** log for encode (2):

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
Ram: 16234 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 31.0.101.2111
Screen: 2560x1440
Temp Dir: C:\Users\kotj\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\kotj\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[23:35:06] base preset: H.265 MKV 720p30
[23:35:06] Remote Process started with Process ID: 12400 using port: 8037. Max Allowed Instances: 1
[23:35:06] Worker: Starting HandBrake Engine ...
[23:35:07] Worker: Starting Web Server on port 8037 ...
[23:35:07] Worker: Disconnected worker monitoring enabled!
[23:35:07] Compile-time hardening features are enabled
[23:35:07] qsv: is available on this system
[23:35:07] vcn: not available on this system
Cannot load nvEncodeAPI64.dll
[23:35:07] hb_init: starting libhb thread
[23:35:07] Starting work at: Fri Mar 17 23:35:07 2023
[23:35:07] 1 job(s) to process
[23:35:07] CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
[23:35:07]  - Intel microarchitecture Kaby Lake
[23:35:07]  - logical processor count: 6
[23:35:07] Intel Quick Sync Video support: yes, gpu list: 0
[23:35:07] Intel Quick Sync Video integrated adapter with index 0
[23:35:07] Impl mfxhw64 library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_51f685305808e3a5\libmfxhw64.dll
[23:35:07]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[23:35:07]  - H.264 encoder: yes
[23:35:07]     - preferred implementation: hardware (1) via D3D11
[23:35:07]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[23:35:07]     - preferred implementation: hardware (1) via D3D11
[23:35:07]  - AV1 encoder: no
[23:35:07] hb_scan: path=C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
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
[23:35:07] 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
[23:35:07] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv':
  Metadata:
    title           : Top Gun: Maverick (2022)
    creation_time   : 2022-10-25T17:56:40.000000Z
    ENCODER         : Lavf58.29.100
  Duration: 02:10:14.52, start: 0.000000, bitrate: 4187 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 185.560000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 185.560000, end 820.111000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 820.111000, end 1283.282000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 1283.282000, end 1959.416000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 1959.416000, end 2687.768000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 2687.768000, end 3234.940000
      Metadata:
        title           : Chapter 6
    Chapter #0:6: start 3234.940000, end 3609.856000
      Metadata:
        title           : Chapter 7
    Chapter #0:7: start 3609.856000, end 4059.305000
      Metadata:
        title           : Chapter 8
    Chapter #0:8: start 4059.305000, end 4546.250000
      Metadata:
        title           : Chapter 9
    Chapter #0:9: start 4546.250000, end 5017.721000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 5017.721000, end 5509.212000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 5509.212000, end 6092.920000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 6092.920000, end 6528.272000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 6528.272000, end 7042.410000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 7042.410000, end 7393.136000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 7393.136000, end 7814.515000
      Metadata:
        title           : Chapter 16
  Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1008 [SAR 252:253 DAR 480:253], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 02:10:14.520000000
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      title           : Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 4304 kbps / 24-bit
      DURATION        : 02:10:14.496000000
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      DURATION        : 02:00:20.094000000
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : SDH
      DURATION        : 02:03:05.175000000
[23:35:07] scan: decoding previews for title 1
[23:35:07] scan: audio 0x1: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[23:35:08] scan: 10 previews, 1920x1008, 23.976 fps, autocrop = 0/0/0/0, aspect 1.90:1, PAR 252:253, color profile: 1-1-1, chroma location: left
[23:35:08] scan: supported video decoders: avcodec qsv
[23:35:08] libhb: scan thread found 1 valid title(s)
[23:35:08] qsv: integrated qsv adapter with index 0 has been selected
[23:35:08] Starting Task: Subtitle Scan
[23:35:08] job configuration:
[23:35:08]  * source
[23:35:08]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
[23:35:08]    + title 1, start 00:25:15.00 stop 00:26:22.00
[23:35:08]    + container: matroska,webm
[23:35:08]    + data rate: 4187 kbps
[23:35:08]  * destination
[23:35:08]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022-RF21-H.265 MKV 720p30.mkv
[23:35:08]    + container: Matroska (libavformat)
[23:35:08]      + chapter markers
[23:35:08]  * video track
[23:35:08]    + decoder: hevc_qsv 8-bit (yuv420p)
[23:35:08]    + filters
[23:35:08]      + 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)
[23:35:08]      + Decomb (mode=39)
[23:35:08]      + Framerate Shaper (mode=2:rate=27000000/900000)
[23:35:08]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[23:35:08]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:35:08]        + source: 1920 * 1008, crop (0/0/0/0): 1920 * 1008, scale: 1280 * 720
[23:35:08]    + Output geometry
[23:35:08]      + storage dimensions: 1280 x 720
[23:35:08]      + pixel aspect ratio: 270 : 253
[23:35:08]      + display dimensions: 1366 x 720
[23:35:08]  * Foreign Audio Search: Render/Burn-in, Forced Only
[23:35:08]    + subtitle, English [PGS] (track 0, id 0x2, Picture)
[23:35:08]    + subtitle, English [PGS] (track 1, id 0x3, Picture)
[23:35:08] sync: expecting 1630 video frames
[23:35:09] reader: done. 1 scr changes
[23:35:09] work: average encoding speed for job is 0.000000 fps
[23:35:09] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[23:35:09] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[23:35:09] vfr: lost time: 0 (0 frames)
[23:35:09] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:35:09] hevc_qsv-decoder done: 1 frames, 0 decoder errors
[23:35:10] sync: got 0 frames, 1630 expected
[23:35:10] Subtitle track 0 (id 0x2) 'English [PGS]': 1174 hits (0 forced)
[23:35:10] Subtitle track 1 (id 0x3) 'English [PGS]': 1436 hits (0 forced)
[23:35:10] No candidate detected during subtitle scan
[23:35:10] Starting Task: Encoding Pass
[23:35:10] work: track 1, dithering not supported by codec
[23:35:10] job configuration:
[23:35:10]  * source
[23:35:10]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022.mkv
[23:35:10]    + title 1, start 00:25:15.00 stop 00:26:22.00
[23:35:10]    + container: matroska,webm
[23:35:10]    + data rate: 4187 kbps
[23:35:10]  * destination
[23:35:10]    + C:\Z\DV\tmp4\t4\Top.Gun.Maverick.2022-RF21-H.265 MKV 720p30.mkv
[23:35:10]    + container: Matroska (libavformat)
[23:35:10]      + chapter markers
[23:35:10]  * video track
[23:35:10]    + decoder: hevc_qsv 8-bit (yuv420p)
[23:35:10]    + filters
[23:35: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)
[23:35:10]      + Decomb (mode=39)
[23:35:10]      + Framerate Shaper (mode=2:rate=27000000/900000)
[23:35:10]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[23:35:10]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:35:10]        + source: 1920 * 1008, crop (0/0/0/0): 1920 * 1008, scale: 1280 * 720
[23:35:10]    + Output geometry
[23:35:10]      + storage dimensions: 1280 x 720
[23:35:10]      + pixel aspect ratio: 270 : 253
[23:35:10]      + display dimensions: 1366 x 720
[23:35:10]    + encoder: H.265 (libx265)
[23:35:10]      + preset:  slow
[23:35:10]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[23:35:10]      + profile: main
[23:35:10]      + level:   auto
[23:35:10]      + quality: 21.00 (RF)
[23:35:10]      + color profile: 1-1-1
[23:35:10]      + chroma location: left
[23:35:10]  * subtitle track 1, English [PGS] (track 0, id 0x2, Picture) -> Passthrough
[23:35:10]  * subtitle track 2, English [PGS] (track 1, id 0x3, Picture) -> Passthrough
[23:35:10]    + name: SDH
[23:35:10]  * audio track 1
[23:35:10]    + name: Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 4304 kbps / 24-bit
[23:35:10]    + decoder: English (AC3) (5.1 ch) (640 kbps) (track 1, id 0x1)
[23:35:10]      + bitrate: 640 kbps, samplerate: 48000 Hz
[23:35:10]    + mixdown: Stereo
[23:35:10]    + encoder: AAC (libavcodec)
[23:35:10]      + bitrate: 160 kbps, samplerate: 48000 Hz
[23:35:10] sync: expecting 1630 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 6 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / 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         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-21.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp lslices=4 deblock sao
[23:35:10] sync: first pts audio 0x1 is 0
[23:35:10] sync: first pts video is 775
[23:35:10] sync: first pts subtitle 0x2 is 990
[23:35:10] sync: first pts subtitle 0x3 is 49770
[23:35:50] sync: reached audio 0x1 pts 6030720, exiting early
[23:35:50] sync: reached video pts 6033051, exiting early
[23:35:53] work: average encoding speed for job is 40.672886 fps
[23:35:53] comb detect: heavy 0 | light 28 | uncombed 1579 | total 1607
[23:35:53] decomb: deinterlaced 0 | blended 28 | unfiltered 1579 | total 1607
[23:35:53] vfr: 1607 frames output, 0 dropped and 0 duped for CFR/PFR
[23:35:53] vfr: lost time: 0 (0 frames)
[23:35:53] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:35:53] ac3-decoder done: 4359 frames, 0 decoder errors
[23:35:53] hevc_qsv-decoder done: 3337 frames, 0 decoder errors
[23:35:53] sync: got 1607 frames, 1630 expected
[23:35:53] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     29, Avg QP:16.83  kb/s: 5388.86
x265 [info]: frame P:    388, Avg QP:20.36  kb/s: 1793.68
x265 [info]: frame B:   1190, Avg QP:26.25  kb/s: 274.93
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
encoded 1607 frames in 43.28s (37.13 fps), 733.91 kb/s, Avg QP:24.66
[23:35:53] mux: track 0, 1607 frames, 6155235 bytes, 734.22 kbps, fifo 2048
[23:35:53] mux: track 1, 3142 frames, 1356830 bytes, 161.85 kbps, fifo 4096
[23:35:53] mux: track 2, 49 frames, 404800 bytes, 48.29 kbps, fifo 64
[23:35:53] mux: track 3, 55 frames, 482386 bytes, 57.54 kbps, fifo 64
[23:35:53] Finished work at: Fri Mar 17 23:35:53 2023
[23:35:53] libhb: work result = 0

 # Job Completed!

mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: "similar" Preset differnces

Post by mduell »

The difference in size is due to different encoder settings. CRF encoding isn't constant quality across different encoder settings.

rect=0 is probably the biggest influence on the speed difference.
k9393
Posts: 9
Joined: Tue Mar 07, 2023 1:35 am

Re: "similar" Preset differnces

Post by k9393 »

The quality was set to "Constant Quality: 21 RF" for both.

I cannot find anything on "rect=" in the Handbrake documentation .
Deleted User 11865

Re: "similar" Preset differnces

Post by Deleted User 11865 »

k9393 wrote: Sat Mar 18, 2023 7:49 pmI cannot find anything on "rect=" in the Handbrake documentation .
https://x265.readthedocs.io/en/3.4/cli.html
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: "similar" Preset differnces

Post by mduell »

k9393 wrote: Sat Mar 18, 2023 7:49 pmThe quality was set to "Constant Quality: 21 RF" for both.
Which is not the same output quality across different encoder settings.
Post Reply