Handbrake creates larger file than sorce with RF set at 18

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
zorin1
Posts: 15
Joined: Sat Jul 14, 2018 7:04 pm

Handbrake creates larger file than sorce with RF set at 18

Post by zorin1 »

Description of problem or question:
I have ripped The Girl Who Played with Fire (2009) with makemkv.
My handbrake settings are:
Video Codec: H.264 (x264)
Framerate: same as source
Constant Quality: 18 RF
Constant Framerate
Encoder Preset: Slower
Encoder Tune: Film
Encoder Profile: High
Encoder Level: 4.1
Extra Options: ref=5:bframes=5

Original File info with MediaInfo:

Code: Select all

General
Unique ID                                : 133574414964817107002235122126789314162 (0x647D7F1E74C9B89E7F5BCDB76AC48672)
Complete name                            : D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 17.3 GiB
Duration                                 : 2 h 9 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 19.1 Mb/s
Encoded date                             : UTC 2019-03-24 20:14:17
Writing application                      : MakeMKV v1.14.3 win(x64-release)
Writing library                          : libmakemkv v1.14.3 (1.3.5/1.4.7) win(x64-release)

Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 2 frames
Format settings, GOP                     : M=1, N=10
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 9 min
Bit rate mode                            : Variable
Bit rate                                 : 18.4 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.370
Stream size                              : 16.7 GiB (96%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio
ID                                       : 2
ID in the original source medium         : 4353 (0x1101)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 9 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 593 MiB (3%)
Title                                    : Surround 5.1
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Original source medium                   : Blu-ray

Text
ID                                       : 3
ID in the original source medium         : 4608 (0x1200)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 3 min
Bit rate                                 : 31.3 kb/s
Count of elements                        : 1676
Stream size                              : 27.5 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Menu
00:00:00.000                             : en:Chapter 00
00:08:40.937                             : en:Chapter 01
00:15:20.294                             : en:Chapter 02
00:21:24.324                             : en:Chapter 03
00:28:59.612                             : en:Chapter 04
00:36:42.783                             : en:Chapter 05
00:44:26.497                             : en:Chapter 06
00:52:33.275                             : en:Chapter 07
01:02:15.648                             : en:Chapter 08
01:10:00.029                             : en:Chapter 09
01:19:29.431                             : en:Chapter 10
01:29:07.300                             : en:Chapter 11
01:39:40.641                             : en:Chapter 12
01:47:42.873                             : en:Chapter 13
01:56:53.965                             : en:Chapter 14
02:05:18.093                             : en:Chapter 15
The produced file with HandBrake:

Code: Select all

General
Complete name                            : \\nas2\Volume_1\Media\Movies\Dragon Tattoo Trilogy\The Girl Who Played with Fire (2009)\The Girl Who Played with Fire (2009).mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/iso2/avc1/mp41)
File size                                : 20.7 GiB
Duration                                 : 2 h 9 min
Overall bit rate                         : 22.9 Mb/s
Encoded date                             : UTC 2019-03-25 03:11:36
Tagged date                              : UTC 2019-03-25 03:11:36
Writing application                      : HandBrake 1.2.2 2019022300

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2 h 9 min
Bit rate                                 : 22.1 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.445
Stream size                              : 20.0 GiB (96%)
Writing library                          : x264 core 157 r2935 545de2f
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2019-03-25 03:11:36
Tagged date                              : UTC 2019-03-25 03:11:36
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Menus                                    : 4
Codec configuration box                  : avcC

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 2 h 9 min
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 149 MiB (1%)
Title                                    : Stereo
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2019-03-25 03:11:36
Tagged date                              : UTC 2019-03-25 03:11:36
Fallback From                            : 3
Menus                                    : 4

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : ac-3
Duration                                 : 2 h 9 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 593 MiB (3%)
Title                                    : Surround
Language                                 : English
Service kind                             : Complete Main
Default                                  : Inherited From: 2
Alternate group                          : 1
Encoded date                             : UTC 2019-03-25 03:11:36
Tagged date                              : UTC 2019-03-25 03:11:36
Fallback To                              : 2

Menu
ID                                       : 4
Codec ID                                 : text
Duration                                 : 2 h 9 min
Language                                 : English
Encoded date                             : UTC 2019-03-25 03:11:36
Tagged date                              : UTC 2019-03-25 03:11:36
Menu For                                 : 1,2
00:00:00.000                             : Chapter 1
00:08:41.021                             : Chapter 2
00:15:20.378                             : Chapter 3
00:21:24.325                             : Chapter 4
00:28:59.613                             : Chapter 5
00:36:42.784                             : Chapter 6
00:44:26.581                             : Chapter 7
00:52:33.359                             : Chapter 8
01:02:15.649                             : Chapter 9
01:10:00.113                             : Chapter 10
01:19:29.515                             : Chapter 11
01:29:07.384                             : Chapter 12
01:39:40.683                             : Chapter 13
01:47:42.957                             : Chapter 14
01:56:54.049                             : Chapter 15
02:05:18.094                             : Chapter 16
Bit rate mode                            : VBR



Steps to reproduce the problem (If Applicable):

See the difference in file size: 17.3 GBs vs 20.7 GBs.

This is the first time that I have ever had a file get bigger than the source. I have tried uninstalling Handbrake and reinstalling. Right now, I'm re-encoding another movie that I have done previously to see if I get the same file size. Just trying to rule out something weird like a Windows Update or something that I have installed is messing this up. This has happened on two files so far, but since both of the movies are from the same box set might have something to do with the original format. I just don't know enough about the file format or what I'm looking to make any sense out it. There must be a reason why the file size is larger. At first, I thought that maybe the original was set to a variable frame rate and when I selected the same as source, maybe it got confused and used the higher Frame rate. I don't know, I'm confused, any help is appreciated.

HandBrake version (e.g., 1.0.0):

1.2.2


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


Windows 10 Version 1809 (OS build 17763.379)

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

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Ram: 16325 MB, 
GPU Information:
  Radeon RX 580 Series - 25.20.15027.9004
Screen: 2560x1440
Temp Dir: C:\Users\zorin\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\zorin\AppData\Roaming\HandBrake

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


# Starting Encode ...

[23:09:33] hb_init: starting libhb thread
[23:09:33] 1 job(s) to process
[23:09:33] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": "copy:ac3",
        "Gain": 0.0,
        "Mixdown": -1,
        "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"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "G:\\Media\\Movies\\Dragon Tattoo Trilogy\\The Girl Who Played with Fire (2009)\\The Girl Who Played with Fire (2009).mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "D:\\video\\mkv\\THE_GIRL_WHO_PLAYED_WITH_FIRE\\title_t02.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=5:bframes=5",
    "Preset": "slower",
    "Profile": "high",
    "Quality": 18.0,
    "Tune": "film",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[23:09:33] CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
[23:09:33]  - Intel microarchitecture Haswell
[23:09:33]  - logical processor count: 8
[23:09:33] Intel Quick Sync Video support: no
[23:09:33] hb_scan: path=D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[23:09:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[23:09:33] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv':
  Metadata:
    encoder         : libmakemkv v1.14.3 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2019-03-24T20:14:17.000000Z
  Duration: 02:09:32.60, start: 0.000000, bitrate: 19086 kb/s
    Chapter #0:0: start 0.000000, end 520.937083
    Metadata:
      title           : Chapter 00
    Chapter #0:1: start 520.937083, end 920.294375
    Metadata:
      title           : Chapter 01
    Chapter #0:2: start 920.294375, end 1284.324708
    Metadata:
      title           : Chapter 02
    Chapter #0:3: start 1284.324708, end 1739.612875
    Metadata:
      title           : Chapter 03
    Chapter #0:4: start 1739.612875, end 2202.783917
    Metadata:
      title           : Chapter 04
    Chapter #0:5: start 2202.783917, end 2666.497167
    Metadata:
      title           : Chapter 05
    Chapter #0:6: start 2666.497167, end 3153.275125
    Metadata:
      title           : Chapter 06
    Chapter #0:7: start 3153.275125, end 3735.648583
    Metadata:
      title           : Chapter 07
    Chapter #0:8: start 3735.648583, end 4200.029167
    Metadata:
      title           : Chapter 08
    Chapter #0:9: start 4200.029167, end 4769.431333
    Metadata:
      title           : Chapter 09
    Chapter #0:10: start 4769.431333, end 5347.300292
    Metadata:
      title           : Chapter 10
    Chapter #0:11: start 5347.300292, end 5980.641333
    Metadata:
      title           : Chapter 11
    Chapter #0:12: start 5980.641333, end 6462.873083
    Metadata:
      title           : Chapter 12
    Chapter #0:13: start 6462.873083, end 7013.965292
    Metadata:
      title           : Chapter 13
    Chapter #0:14: start 7013.965292, end 7518.093917
    Metadata:
      title           : Chapter 14
    Chapter #0:15: start 7518.093917, end 7772.598167
    Metadata:
      title           : Chapter 15
    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         : 18414098
      DURATION-eng    : 02:09:32.598166666
      NUMBER_OF_FRAMES-eng: 186356
      NUMBER_OF_BYTES-eng: 17890673400
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-24 20:14:17
      _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, 640 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 02:09:32.512000000
      NUMBER_OF_FRAMES-eng: 242891
      NUMBER_OF_BYTES-eng: 621800960
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-24 20:14:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 31266
      DURATION-eng    : 02:03:01.228020833
      NUMBER_OF_FRAMES-eng: 1676
      NUMBER_OF_BYTES-eng: 28848576
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-24 20:14:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[23:09:33] scan: decoding previews for title 1
[23:09:33] scan: audio 0x1: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[23:09:33] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:09:33] scan: supported video decoders: avcodec qsv
[23:09:33] libhb: scan thread found 1 valid title(s)
[23:09:33] starting job
[23:09:33] decomb filter thread started for segment 0
[23:09:33] decomb filter thread started for segment 2
[23:09:33] decomb filter thread started for segment 3
[23:09:33] decomb filter thread started for segment 1
[23:09:33] decomb filter thread started for segment 4
[23:09:33] decomb filter thread started for segment 5
[23:09:33] decomb filter thread started for segment 6
[23:09:33] decomb filter thread started for segment 7
[23:09:33] decomb check thread started for segment 0
[23:09:33] decomb check thread started for segment 1
[23:09:33] decomb check thread started for segment 3
[23:09:33] decomb check thread started for segment 2
[23:09:33] decomb check thread started for segment 4
[23:09:33] decomb check thread started for segment 5
[23:09:33] decomb check thread started for segment 6
[23:09:33] decomb check thread started for segment 7
[23:09:33] mask filter thread started for segment 0
[23:09:33] mask filter thread started for segment 1
[23:09:33] mask filter thread started for segment 2
[23:09:33] mask filter thread started for segment 3
[23:09:33] mask filter thread started for segment 4
[23:09:33] mask filter thread started for segment 5
[23:09:33] mask filter thread started for segment 6
[23:09:33] mask filter thread started for segment 7
[23:09:33] mask erode thread started for segment 0
[23:09:33] mask erode thread started for segment 1
[23:09:33] mask erode thread started for segment 2
[23:09:33] mask erode thread started for segment 3
[23:09:33] mask erode thread started for segment 4
[23:09:33] mask erode thread started for segment 5
[23:09:33] mask erode thread started for segment 6
[23:09:33] mask erode thread started for segment 7
[23:09:33] mask dilate thread started for segment 0
[23:09:33] mask dilate thread started for segment 1
[23:09:33] mask dilate thread started for segment 2
[23:09:33] mask dilate thread started for segment 3
[23:09:33] mask dilate thread started for segment 4
[23:09:33] mask dilate thread started for segment 5
[23:09:33] yadif thread started for segment 0
[23:09:33] mask dilate thread started for segment 7
[23:09:33] mask dilate thread started for segment 6
[23:09:33] yadif thread started for segment 1
[23:09:33] yadif thread started for segment 2
[23:09:33] yadif thread started for segment 3
[23:09:33] job configuration:
[23:09:33]  * source
[23:09:33]    + D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv
[23:09:33]    + title 1, chapter(s) 1 to 16
[23:09:33]    + container: matroska,webm
[23:09:33]    + data rate: 19086 kbps
[23:09:33]  * destination
[23:09:33]    + G:\Media\Movies\Dragon Tattoo Trilogy\The Girl Who Played with Fire (2009)\The Girl Who Played with Fire (2009).mp4
[23:09:33]    + container: MPEG-4 (libavformat)
[23:09:33]      + chapter markers
[23:09:33]  * video track
[23:09:33]    + decoder: h264
[23:09:33]    + filters
[23:09:33] yadif thread started for segment 4
[23:09:33]      + 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:09:33]      + Decomb (mode=39)
[23:09:33]      + Framerate Shaper (mode=1)
[23:09:33]        + frame rate: 23.976 fps -> constant 23.976 fps
[23:09:33]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:09:33]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[23:09:33]    + Output geometry
[23:09:33]      + storage dimensions: 1920 x 1080
[23:09:33]      + pixel aspect ratio: 1 : 1
[23:09:33]      + display dimensions: 1920 x 1080
[23:09:33]  * Foreign Audio Search: Render/Burn-in, Forced Only
[23:09:33]    + subtitle, English [PGS] (track 0, id 0x2, Picture)
[23:09:33] yadif thread started for segment 5
[23:09:33] yadif thread started for segment 6
[23:09:33] yadif thread started for segment 7
[23:09:33] sync: expecting 186355 video frames
[23:11:36] reader: done. 1 scr changes
[23:11:36] work: average encoding speed for job is 0.000000 fps
[23:11:36] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[23:11:36] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[23:11:36] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[23:11:36] vfr: lost time: 0 (0 frames)
[23:11:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:11:36] h264-decoder done: 0 frames, 0 decoder errors
[23:11:36] sync: got 0 frames, 186355 expected
[23:11:36] Subtitle track 0 (id 0x2) 'English [PGS]': 838 hits (0 forced)
[23:11:36] No candidate detected during subtitle scan
[23:11:36] starting job
[23:11:36] decomb filter thread started for segment 0
[23:11:36] decomb filter thread started for segment 1
[23:11:36] decomb filter thread started for segment 3
[23:11:36] decomb filter thread started for segment 2
[23:11:36] decomb filter thread started for segment 4
[23:11:36] decomb filter thread started for segment 5
[23:11:36] decomb filter thread started for segment 6
[23:11:36] decomb filter thread started for segment 7
[23:11:36] decomb check thread started for segment 0
[23:11:36] decomb check thread started for segment 1
[23:11:36] decomb check thread started for segment 2
[23:11:36] decomb check thread started for segment 3
[23:11:36] decomb check thread started for segment 4
[23:11:36] decomb check thread started for segment 5
[23:11:36] decomb check thread started for segment 6
[23:11:36] decomb check thread started for segment 7
[23:11:36] mask filter thread started for segment 0
[23:11:36] mask filter thread started for segment 1
[23:11:36] mask filter thread started for segment 2
[23:11:36] mask filter thread started for segment 3
[23:11:36] mask filter thread started for segment 4
[23:11:36] mask filter thread started for segment 5
[23:11:36] mask filter thread started for segment 6
[23:11:36] mask filter thread started for segment 7
[23:11:36] mask erode thread started for segment 0
[23:11:36] mask erode thread started for segment 1
[23:11:36] mask erode thread started for segment 2
[23:11:36] mask erode thread started for segment 3
[23:11:36] mask erode thread started for segment 4
[23:11:36] mask erode thread started for segment 5
[23:11:36] mask erode thread started for segment 6
[23:11:36] mask erode thread started for segment 7
[23:11:36] mask dilate thread started for segment 0
[23:11:36] mask dilate thread started for segment 1
[23:11:36] mask dilate thread started for segment 2
[23:11:36] mask dilate thread started for segment 3
[23:11:36] mask dilate thread started for segment 4
[23:11:36] mask dilate thread started for segment 5
[23:11:36] mask dilate thread started for segment 6
[23:11:36] mask dilate thread started for segment 7
[23:11:36] yadif thread started for segment 0
[23:11:36] yadif thread started for segment 1
[23:11:36] yadif thread started for segment 2
[23:11:36] yadif thread started for segment 3
[23:11:36] yadif thread started for segment 4
[23:11:36] yadif thread started for segment 5
[23:11:36] yadif thread started for segment 6
[23:11:36] yadif thread started for segment 7
[23:11:36] job configuration:
[23:11:36]  * source
[23:11:36]    + D:\video\mkv\THE_GIRL_WHO_PLAYED_WITH_FIRE\title_t02.mkv
[23:11:36]    + title 1, chapter(s) 1 to 16
[23:11:36]    + container: matroska,webm
[23:11:36]    + data rate: 19086 kbps
[23:11:36]  * destination
[23:11:36]    + G:\Media\Movies\Dragon Tattoo Trilogy\The Girl Who Played with Fire (2009)\The Girl Who Played with Fire (2009).mp4
[23:11:36]    + container: MPEG-4 (libavformat)
[23:11:36]      + chapter markers
[23:11:36]  * video track
[23:11:36]    + decoder: h264
[23:11:36]    + filters
[23:11:36]      + 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:11:36]      + Decomb (mode=39)
[23:11:36]      + Framerate Shaper (mode=1)
[23:11:36]        + frame rate: 23.976 fps -> constant 23.976 fps
[23:11:36]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:11:36]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[23:11:36]    + Output geometry
[23:11:36]      + storage dimensions: 1920 x 1080
[23:11:36]      + pixel aspect ratio: 1 : 1
[23:11:36]      + display dimensions: 1920 x 1080
[23:11:36]    + encoder: H.264 (libx264)
[23:11:36]      + preset:  slower
[23:11:36]      + tune:    film
[23:11:36]      + options: ref=5:bframes=5
[23:11:36]      + profile: high
[23:11:36]      + level:   4.1
[23:11:36]      + quality: 18.00 (RF)
[23:11:36]      + color profile: 1-1-1
[23:11:36]  * audio track 1
[23:11:36]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[23:11:36]      + bitrate: 640 kbps, samplerate: 48000 Hz
[23:11:36]    + mixdown: Dolby Pro Logic II
[23:11:36]    + dither: none
[23:11:36]    + encoder: AAC (libavcodec)
[23:11:36]      + bitrate: 160 kbps, samplerate: 48000 Hz
[23:11:36]  * audio track 2
[23:11:36]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[23:11:36]      + bitrate: 640 kbps, samplerate: 48000 Hz
[23:11:36]    + AC3 Passthru
[23:11:36] sync: expecting 186355 video frames
[23:11:36] encx264: min-keyint: 24, keyint: 240
[23:11:36] encx264: encoding at constant RF 18.000000
[23:11:36] encx264: unparsed options: ref=4:bframes=5:level=4.1:b-adapt=2:direct=auto:deblock=-1,-1:analyse=all:me=umh:subme=9:trellis=2:psy-rd=1,0.15: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 FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[23:11:36] sync: first pts video is 0
[23:11:36] sync: "Chapter 1" (1) at frame 1 time 0
[23:11:36] sync: first pts audio 0x1 is 0
[23:11:36] sync: first pts audio 0x1 is 0
[23:35:59] sync: "Chapter 2" (2) at frame 12493 time 46891845
[23:58:36] sync: "Chapter 3" (3) at frame 22068 time 82834001
[00:16:24] sync: "Chapter 4" (4) at frame 30794 time 115589223
[00:37:25] sync: "Chapter 5" (5) at frame 41710 time 156565158
[01:01:21] sync: "Chapter 6" (6) at frame 52815 time 198250552
[01:24:35] sync: "Chapter 7" (7) at frame 63935 time 239992252
[01:49:45] sync: "Chapter 8" (8) at frame 75606 time 283802268
[02:17:50] sync: "Chapter 9" (9) at frame 89567 time 336208372
[02:43:04] sync: "Chapter 10" (10) at frame 100703 time 378010132
[03:12:46] sync: "Chapter 11" (11) at frame 114355 time 429256327
[03:41:45] sync: "Chapter 12" (12) at frame 128210 time 481264533
[04:14:39] sync: "Chapter 13" (13) at frame 143394 time 538261473
[04:37:35] sync: "Chapter 14" (14) at frame 154957 time 581666085
[05:02:44] sync: "Chapter 15" (15) at frame 168170 time 631264383
[05:27:50] sync: "Chapter 16" (16) at frame 180255 time 676628452
[05:31:12] reader: done. 1 scr changes
[05:31:13] work: average encoding speed for job is 8.178875 fps
[05:31:14] comb detect: heavy 29592 | light 79266 | uncombed 77498 | total 186356
[05:31:14] decomb: deinterlaced 29592 | blended 79266 | unfiltered 77498 | total 186356
[05:31:14] vfr: 186356 frames output, 0 dropped and 0 duped for CFR/PFR
[05:31:14] vfr: lost time: 0 (0 frames)
[05:31:14] vfr: gained time: 0 (0 frames) (0 not accounted for)
[05:31:14] ac3-decoder done: 242891 frames, 0 decoder errors
[05:31:14] ac3-decoder done: 242891 frames, 0 decoder errors
[05:31:14] h264-decoder done: 186356 frames, 0 decoder errors
[05:31:14] sync: got 186356 frames, 186355 expected
[05:31:14] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:1231  Avg QP:15.95  size:280520
x264 [info]: frame P:47605 Avg QP:19.07  size:171860
x264 [info]: frame B:137520 Avg QP:20.55  size: 94251
x264 [info]: consecutive B-frames:  1.2%  2.9%  5.6% 76.5%  7.4%  6.3%
x264 [info]: mb I  I16..4:  7.6% 75.6% 16.8%
x264 [info]: mb P  I16..4:  1.5% 44.7%  3.2%  P16..4: 22.6% 16.6%  7.6%  0.6%  0.1%    skip: 3.1%
x264 [info]: mb B  I16..4:  0.4% 16.1%  0.7%  B16..8: 29.9% 14.2%  4.1%  direct:23.8%  skip:10.8%  L0:51.8% L1:26.4% BI:21.8%
x264 [info]: 8x8 transform intra:91.6% inter:71.0%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 96.7% 84.5% 52.5% inter: 67.1% 42.0% 8.6%
x264 [info]: i16 v,h,dc,p: 24% 14% 34% 28%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11%  9% 34%  7%  7%  7%  7%  8% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 12% 12%  7% 10% 10% 10%  8% 10%
x264 [info]: i8c dc,h,v,p: 47% 22% 21% 10%
x264 [info]: Weighted P-Frames: Y:2.5% UV:1.4%
x264 [info]: ref P L0: 60.5% 13.8% 18.1%  7.4%  0.2%  0.0%
x264 [info]: ref B L0: 91.3%  7.4%  1.4%
x264 [info]: ref B L1: 97.3%  2.7%
x264 [info]: kb/s:22116.73
[05:31:14] mux: track 0, 186356 frames, 21488009057 bytes, 22116.68 kbps, fifo 2048
[05:31:14] mux: track 1, 364337 frames, 155869213 bytes, 160.43 kbps, fifo 4096
[05:31:14] mux: track 2, 242891 frames, 621800960 bytes, 639.99 kbps, fifo 2048
[05:31:14] libhb: work result = 0

# Encode Completed ...


Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake creates larger file than sorce with RF set at 18

Post by Woodstock »

You're asking handbrake to store more detail than the original video had, so it's taking up more space. If you're starting with a Bluray source, RF=20 will still be overkill.

Remember, the SMALLER the RF number, the BIGGER the output file, and lower RF values will not get you better resolution than was in the source.
zorin1
Posts: 15
Joined: Sat Jul 14, 2018 7:04 pm

Re: Handbrake creates larger file than sorce with RF set at 18

Post by zorin1 »

Woodstock wrote: Tue Mar 26, 2019 11:22 pm You're asking handbrake to store more detail than the original video had, so it's taking up more space. If you're starting with a Bluray source, RF=20 will still be overkill.

Remember, the SMALLER the RF number, the BIGGER the output file, and lower RF values will not get you better resolution than was in the source.
I know how the RF numbers work and how it is related to the size of the output. The issue is that with RF=18 is creating a bigger file than the original. I have use the same setting on about 50 movies so far and I have never had this issue before. So what is it about the original file that is so special to make the output so much bigger?

And I don't like RF=20 because it does leave some blocking in dark scenes.
Deleted User 11865

Re: Handbrake creates larger file than sorce with RF set at 18

Post by Deleted User 11865 »

Source must be super-grainy is all.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Handbrake creates larger file than sorce with RF set at 18

Post by BradleyS »

Try using NLMeans Light High Motion to clean up the noise and make the video less complex, thus more compressible.
zorin1
Posts: 15
Joined: Sat Jul 14, 2018 7:04 pm

Re: Handbrake creates larger file than sorce with RF set at 18

Post by zorin1 »

BradleyS wrote: Wed Mar 27, 2019 9:48 am Try using NLMeans Light High Motion to clean up the noise and make the video less complex, thus more compressible.
The movie is kind of grainy, so I will try the Filter setting that you suggested.
Post Reply