Movie size differences

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
bnormal
Posts: 1
Joined: Sun Mar 22, 2020 7:24 pm

Movie size differences

Post by bnormal »

Description of problem or question:
Using the Super HQ 1080p preset on 2 bluray movies ripped using the same version of makemkv, the finished sizes are incredibly different. I expect a bit of a difference but the movie "1917" finished at 5gb while the 2nd movie, "Knives Out", finished at 18gb. Initially, both movies were over 30gb. Does anything in the logs indicate why such a huge difference in the finished sizes? BTW, both finished movies look great. Also, if by looking at the logs anyone sees a spec that could be improved it would be appreciated. I'm looking for the highest video quality at a reasonable size. And 18gb's is fine. Just curious about the different sizes. 1st post so I apologize in advance for any errors. thanks

Steps to reproduce the problem (If Applicable):

rip 2 movies using the super hq 1080p preset


HandBrake version (e.g., 1.0.0):

HandBrake 1.3.1 (2020010400)


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

Win 8.1


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

Code: Select all



    title           : 1917
    encoder         : libmakemkv v1.15.0 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-03-21T17:08:44.000000Z
  Duration: 01:58:58.13, start: 0.000000, bitrate: 37536 kb/s
    Chapter #0:0: start 0.000000, end 299.424125
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 299.424125, end 499.373875
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 499.373875, end 806.639167
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 806.639167, end 998.789458
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 998.789458, end 1412.494417
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1412.494417, end 1828.660167
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1828.660167, end 2134.549083
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2134.549083, end 2545.376167
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2545.376167, end 3094.091000
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 3094.091000, end 3396.309583
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3396.309583, end 3749.078667
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3749.078667, end 3993.572917
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3993.572917, end 4324.320000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 4324.320000, end 4785.197083
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 4785.197083, end 5327.822500
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 5327.822500, end 5623.451167
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 5623.451167, end 5891.594042
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 5891.594042, end 6103.680917
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 6103.680917, end 6586.580000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 6586.580000, end 7138.131000
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 33240084
      DURATION-eng    : 01:58:58.131000000
      NUMBER_OF_FRAMES-eng: 171144
      NUMBER_OF_BYTES-eng: 29659009505
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-21 17:08:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 3810087
      DURATION-eng    : 01:58:58.131666666
      NUMBER_OF_FRAMES-eng: 8565758
      NUMBER_OF_BYTES-eng: 3399613018
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-21 17:08:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 01:58:58.144000000
      NUMBER_OF_FRAMES-eng: 223067
      NUMBER_OF_BYTES-eng: 399736064
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-21 17:08:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 27959
      DURATION-eng    : 01:45:49.488979166
      NUMBER_OF_FRAMES-eng: 2202
      NUMBER_OF_BYTES-eng: 22191030
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-21 17:08:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[14:16:49] scan: decoding previews for title 1
[14:16:49] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[14:16:49] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[14:16:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/138/0/0, aspect 16:9, PAR 1:1
[14:16:51] scan: supported video decoders: avcodec qsv
[14:16:51] libhb: scan thread found 1 valid title(s)
[14:16:51] Starting Task: Encoding Pass
[14:16:51] Skipping crop/scale filter
[14:16:51] job configuration:
[14:16:51]  * source
[14:16:51]    + I:\MKV\1917.mkv
[14:16:51]    + title 1, chapter(s) 1 to 20
[14:16:51]    + container: matroska,webm
[14:16:51]    + data rate: 37536 kbps
[14:16:51]  * destination
[14:16:51]    + J:\Bluray\1917.mkv
[14:16:51]    + container: Matroska (libavformat)
[14:16:51]  * video track
[14:16:51]    + decoder: h264
[14:16:51]    + filter
[14:16:51]      + Framerate Shaper (mode=1)
[14:16:51]        + frame rate: 23.976 fps -> constant 23.976 fps
[14:16:51]    + Output geometry
[14:16:51]      + storage dimensions: 1920 x 1080
[14:16:51]      + pixel aspect ratio: 1 : 1
[14:16:51]      + display dimensions: 1920 x 1080
[14:16:51]    + encoder: H.264 (libx264)
[14:16:51]      + preset:  veryslow
[14:16:51]      + options: ref=5:bframes=5
[14:16:51]      + profile: high
[14:16:51]      + level:   4.1
[14:16:51]      + quality: 18.00 (RF)
[14:16:51]      + color profile: 1-1-1
[14:16:51]  * audio track 1
[14:16:51]    + name: Surround 5.1
[14:16:51]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 2, id 0x2)
[14:16:51]      + bitrate: 448 kbps, samplerate: 48000 Hz
[14:16:51]    + AC3 Passthru
[14:16:51] sync: expecting 171144 video frames
[14:16:51] encx264: min-keyint: 24, keyint: 240
[14:16:51] encx264: encoding at constant RF 18.000000
[14:16:51] encx264: unparsed options: ref=4:bframes=5:level=4.1:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[14:16:51] sync: first pts video is 0
[14:16:51] sync: "Chapter 1" (1) at frame 1 time 0
[14:16:51] sync: first pts audio 0x2 is 0
[14:28:59] sync: "Chapter 2" (2) at frame 7183 time 26959432
[14:35:44] sync: "Chapter 3" (3) at frame 11974 time 44943648
[14:50:19] sync: "Chapter 4" (4) at frame 19343 time 72605032
[14:57:22] sync: "Chapter 5" (5) at frame 23951 time 89902312
[15:14:37] sync: "Chapter 6" (6) at frame 33870 time 127135758
[15:31:45] sync: "Chapter 7" (7) at frame 43848 time 164590676
[15:42:51] sync: "Chapter 8" (8) at frame 51182 time 192120678
[16:00:27] sync: "Chapter 9" (9) at frame 61032 time 229095116
[16:20:45] sync: "Chapter 10" (10) at frame 74185 time 278468190
[16:31:53] sync: "Chapter 11" (11) at frame 81431 time 305667862
[16:45:00] sync: "Chapter 12" (12) at frame 89889 time 337417080
[16:54:06] sync: "Chapter 13" (13) at frame 95751 time 359421562
[17:07:47] sync: "Chapter 14" (14) at frame 103681 time 389188800
[17:27:29] sync: "Chapter 15" (15) at frame 114734 time 430678998
[17:55:30] sync: "Chapter 16" (16) at frame 127741 time 479504025
[18:07:45] sync: "Chapter 17" (17) at frame 134832 time 506121866
[18:21:43] sync: "Chapter 18" (18) at frame 141261 time 530254725
[18:28:50] sync: "Chapter 19" (19) at frame 146343 time 549331282
[18:46:46] sync: "Chapter 20" (20) at frame 157921 time 592792200
[18:56:00] reader: done. 1 scr changes
[18:56:02] work: average encoding speed for job is 10.214889 fps
[18:56:02] vfr: 171144 frames output, 0 dropped and 0 duped for CFR/PFR
[18:56:02] vfr: lost time: 0 (0 frames)
[18:56:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:56:02] ac3-decoder done: 223067 frames, 0 decoder errors
[18:56:02] h264-decoder done: 171144 frames, 0 decoder errors
[18:56:02] sync: got 171144 frames, 171144 expected
[18:56:02] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:722   Avg QP:11.62  size:183253
x264 [info]: frame P:42842 Avg QP:15.99  size: 60972
x264 [info]: frame B:127580 Avg QP:19.44  size: 17012
x264 [info]: consecutive B-frames:  1.6%  3.0% 21.6% 26.0% 20.3% 27.5%
x264 [info]: mb I  I16..4: 34.2% 55.0% 10.7%
x264 [info]: mb P  I16..4:  1.6%  7.1%  1.0%  P16..4: 32.3% 13.5% 10.4%  0.5%  0.1%    skip:33.4%
x264 [info]: mb B  I16..4:  0.2%  0.7%  0.1%  B16..8: 33.1%  6.1%  1.6%  direct: 3.1%  skip:55.2%  L0:43.3% L1:45.0% BI:11.7%
x264 [info]: 8x8 transform intra:70.4% inter:71.5%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 78.4% 73.2% 37.3% inter: 15.7% 12.6% 1.0%
x264 [info]: i16 v,h,dc,p: 37% 24% 16% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 12%  6%  9% 13% 12% 16% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6% 14%  6%  8% 14% 12% 17%  9% 14%
x264 [info]: i8c dc,h,v,p: 41% 30% 16% 13%
x264 [info]: Weighted P-Frames: Y:5.4% UV:3.6%
x264 [info]: ref P L0: 60.1% 14.2% 16.6%  8.4%  0.7%  0.0%
x264 [info]: ref B L0: 87.4% 10.3%  2.3%
x264 [info]: ref B L1: 95.8%  4.2%
x264 [info]: kb/s:5508.36
[18:56:02] mux: track 0, 171144 frames, 4914893199 bytes, 5508.29 kbps, fifo 4096
[18:56:02] mux: track 1, 223067 frames, 399736064 bytes, 448.00 kbps, fifo 8192
[18:56:02] Finished work at: Sat Mar 21 18:56:02 2020
[18:56:02] libhb: work result = 0

# Encode Completed ...
title           : Knives Out
    encoder         : libmakemkv v1.15.0 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-03-22T15:01:37.000000Z
  Duration: 02:10:13.86, start: 0.000000, bitrate: 23782 kb/s
    Chapter #0:0: start 0.000000, end 328.036042
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 328.036042, end 1283.115167
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1283.115167, end 1908.698458
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1908.698458, end 2670.959958
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 2670.959958, end 2992.364375
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2992.364375, end 3293.581958
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3293.581958, end 3519.766250
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3519.766250, end 4029.775750
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 4029.775750, end 4363.942917
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4363.942917, end 4950.278667
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4950.278667, end 5329.741083
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5329.741083, end 5684.428750
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5684.428750, end 6047.458083
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 6047.458083, end 6223.634083
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 6223.634083, end 7305.131167
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7305.131167, end 7813.856000
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 23332072
      DURATION-eng    : 02:10:13.847708333
      NUMBER_OF_FRAMES-eng: 187345
      NUMBER_OF_BYTES-eng: 22789155245
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-22 15:01:37
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:10:13.856000000
      NUMBER_OF_FRAMES-eng: 244183
      NUMBER_OF_BYTES-eng: 437575936
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-03-22 15:01:37
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[11:39:29] scan: decoding previews for title 1
[11:39:29] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (Dolby Digital EX) (448 kbps)
[11:39:31] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 22/22/0/0, aspect 16:9, PAR 1:1
[11:39:31] scan: supported video decoders: avcodec qsv
[11:39:31] libhb: scan thread found 1 valid title(s)
[11:39:31] Starting Task: Encoding Pass
[11:39:31] job configuration:
[11:39:31]  * source
[11:39:31]    + I:\MKV\Knives Out_t184.mkv
[11:39:31]    + title 1, chapter(s) 1 to 16
[11:39:31]    + container: matroska,webm
[11:39:31]    + data rate: 23782 kbps
[11:39:31]  * destination
[11:39:31]    + D:\Downloads\Knives Out.mp4
[11:39:31]    + container: Matroska (libavformat)
[11:39:31]  * video track
[11:39:31]    + decoder: h264
[11:39:31]    + filters
[11:39:31]      + Framerate Shaper (mode=1)
[11:39:31]        + frame rate: 23.976 fps -> constant 23.976 fps
[11:39:31]      + Crop and Scale (width=1920:height=1036:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:39:31]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1036
[11:39:31]    + Output geometry
[11:39:31]      + storage dimensions: 1920 x 1036
[11:39:31]      + pixel aspect ratio: 259 : 270
[11:39:31]      + display dimensions: 1841 x 1036
[11:39:31]    + encoder: H.264 (libx264)
[11:39:31]      + preset:  veryslow
[11:39:31]      + options: ref=5:bframes=5
[11:39:31]      + profile: high
[11:39:31]      + level:   4.1
[11:39:31]      + quality: 18.00 (RF)
[11:39:31]      + color profile: 1-1-1
[11:39:31]  * audio track 1
[11:39:31]    + name: Surround 5.1
[11:39:31]    + decoder: English (AC3) (5.1 ch) (Dolby Digital EX) (448 kbps) (track 1, id 0x1)
[11:39:31]      + bitrate: 448 kbps, samplerate: 48000 Hz
[11:39:31]    + AC3 Passthru
[11:39:31] sync: expecting 187345 video frames
[11:39:31] encx264: min-keyint: 24, keyint: 240
[11:39:31] encx264: encoding at constant RF 18.000000
[11:39:31] encx264: unparsed options: ref=4:bframes=5:level=4.1:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60
x264 [info]: using SAR=259/270
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[11:39:31] sync: first pts video is 0
[11:39:31] sync: "Chapter 1" (1) at frame 1 time 0
[11:39:31] sync: first pts audio 0x1 is 0
[11:41:02] work: average encoding speed for job is 6.032899 fps
[11:41:02] vfr: 530 frames output, 0 dropped and 0 duped for CFR/PFR
[11:41:02] vfr: lost time: 0 (0 frames)
[11:41:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:41:02] ac3-decoder done: 793 frames, 0 decoder errors
[11:41:02] h264-decoder done: 601 frames, 0 decoder errors
[11:41:02] sync: got 560 frames, 187345 expected
[11:41:02] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:2     Avg QP: 9.60  size:133376
x264 [info]: frame P:106   Avg QP:18.28  size:141254
x264 [info]: frame B:334   Avg QP:19.06  size:123153
x264 [info]: consecutive B-frames:  2.5%  2.7%  3.4% 29.7% 48.3% 13.5%
x264 [info]: mb I  I16..4: 54.8% 32.0% 13.2%
x264 [info]: mb P  I16..4:  7.0% 43.3%  4.7%  P16..4: 18.5%  8.4%  3.5%  0.2%  0.0%    skip:14.3%
x264 [info]: mb B  I16..4:  3.5% 19.5%  2.0%  B16..8: 26.9% 12.3%  3.1%  direct:10.8%  skip:21.9%  L0:43.6% L1:40.0% BI:16.4%
x264 [info]: 8x8 transform intra:77.7% inter:53.3%
x264 [info]: direct mvs  spatial:92.2% temporal:7.8%
x264 [info]: coded y,uvDC,uvAC intra: 87.7% 68.1% 22.7% inter: 43.8% 35.7% 3.6%
x264 [info]: i16 v,h,dc,p: 22% 13% 24% 41%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8%  8% 21% 10% 10%  9% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6%  7% 15% 11% 13% 11% 12% 11% 14%
x264 [info]: i8c dc,h,v,p: 38% 31% 19% 13%
x264 [info]: Weighted P-Frames: Y:6.6% UV:4.7%
x264 [info]: ref P L0: 55.0%  6.9% 23.5% 13.2%  1.4%
x264 [info]: ref B L0: 79.9% 16.7%  3.4%
x264 [info]: ref B L1: 94.2%  5.8%
x264 [info]: kb/s:24463.28
[11:41:03] mux: track 0, 441 frames, 56231802 bytes, 19225.88 kbps, fifo 256
[11:41:03] mux: track 1, 730 frames, 1308160 bytes, 447.27 kbps, fifo 512
[11:41:03] Finished work at: Sun Mar 22 11:41:03 2020
[11:41:03] libhb: work result = 1

# Encode Completed ...




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

Re: Movie size differences

Post by mduell »

That's what quality based encoding does. Umpteen threads on this.

User avatar
JohnAStebbins
HandBrake Team
Posts: 5532
Joined: Sat Feb 09, 2008 7:21 pm

Re: Movie size differences

Post by JohnAStebbins »

There are many things the affect final file size when using quality based encoding. Duration, grain and other types of video noise, complex scenery and motion. It's completely normal to have file size differences of this magnitude. But if the difference is due to some type of noise, I usually apply the NLMeans filter to reduce the noise and reduce the file size.

Post Reply