HandBrake v1.3.0 - encoded files now ~20% larger

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
cufinnev
Posts: 7
Joined: Fri Dec 28, 2018 2:52 pm

HandBrake v1.3.0 - encoded files now ~20% larger

Post by cufinnev » Sun Nov 10, 2019 5:18 pm

Description of problem or question:
Encoded files are now about 20% larger compared to when encoding with v1.2.2 with the same options.



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
v1.3.0



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 1903 build 18362.449 64-bit



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

Code: Select all

HandBrake 1.3.0 (2019110900)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Ram: 16326 MB, 
GPU Information:
  NVIDIA GeForce GTX 1050 Ti - 26.21.14.4097
Screen: 1680x1050
Temp Dir: C:\Users\XYZ\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\XYZ\AppData\Roaming\HandBrake

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


# Starting Encode ...

[04:13:15] base preset: Decomb test - 13-01-2019 (Modified)
[16:13:15] hb_init: starting libhb thread
[16:13:15] Starting work at: Sun Nov 10 16:13:15 2019
[16:13:15] 1 job(s) to process
[16:13:15] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 192,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "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"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\DVD\\To convert\\1.3.0\\Still Open All Hours - s06e01.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 9,
        "Settings": {
          "cb-frame-count": 2,
          "cb-origin-tune": 0.9,
          "cb-patch-size": 7,
          "cb-prefilter": 0,
          "cb-range": 3,
          "cb-strength": 2.4,
          "y-frame-count": 2,
          "y-origin-tune": 0.9,
          "y-patch-size": 7,
          "y-prefilter": 0,
          "y-range": 3,
          "y-strength": 1.5
        }
      },
      {
        "ID": 13,
        "Settings": {
          "cb-kernel": "isolap",
          "cb-strength": 0.06,
          "y-kernel": "isolap",
          "y-strength": 0.1
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "720",
          "width": "1280"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1080000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\DVD\\To convert\\Still Open All Hours - s06e01.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 25.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:13:15] CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
[16:13:15]  - Intel microarchitecture Kaby Lake
[16:13:15]  - logical processor count: 4
[16:13:15] Intel Quick Sync Video support: no
[16:13:15] hb_scan: path=D:\DVD\To convert\Still Open All Hours - s06e01.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\DVD\To convert\Still Open All Hours - s06e01.mp4
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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\DVD\To convert\Still Open All Hours - s06e01.mp4\) failed
[16:13:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[16:13:15] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\DVD\To convert\Still Open All Hours - s06e01.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    media_type      : 10
    copyright       : 2019 British Broadcasting Corporation, all rights reserved
    title           : Episode 1
    artist          : BBC One
    album_artist    : BBC TV
    album           : Still Open All Hours: Series 6
    grouping        : Comedy,Sitcoms
    composer        : BBC iPlayer
    genre           : Comedy
    comment         : Granville finds an old mangle, and Mr Newbold gets tips on how to get closer to Mrs Rossi.
    date            : 2019-10-18T20:00:00+01:00
    track           : 1
    disc            : 6
    lyrics          : David Jason stars as Granville, the grocer with the gift of the gab, as he opens the doors of the nation's favourite corner shop. Granville finds and old mangle in the yard, but what exactly can he do with it? Meanwhile, Beth is still on at Leroy to find
                    :
                    : PLAY: https://www.bbc.co.uk/iplayer/episode/m0009fdg
                    :
                    : INFO: https://www.bbc.co.uk/programmes/m0009fdg
    description     : Granville finds an old mangle, and Mr Newbold gets tips on how to get closer to Mrs Rossi.
    synopsis        : David Jason stars as Granville, the grocer with the gift of the gab, as he opens the doors of the nation's favourite corner shop. Granville finds and old mangle in the yard, but what exactly can he do with it? Meanwhile, Beth is still on at Leroy to find
                    :
                    : PLAY: https://www.bbc.co.uk/iplayer/episode/m0009fdg
                    :
                    : INFO: https://www.bbc.co.uk/programmes/m0009fdg
    hd_video        : 1
    show            : Still Open All Hours: Series 6
    episode_id      : s06e01
    season_number   : 6
    episode_sort    : 1
    network         : BBC One
  Duration: 00:28:59.12, start: 0.000000, bitrate: 5189 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 5054 kb/s, 50 fps, 50 tbr, 90k tbn, 100 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 192x108 [SAR 72:72 DAR 16:9], 90k tbr, 90k tbn, 90k tbc (attached pic)
[16:13:16] scan: decoding previews for title 1
[16:13:16] scan: audio 0x1: aac, rate=48000Hz, bitrate=127999 English (AAC LC) (2.0 ch) (127 kbps)
[16:13:16] scan: 10 previews, 1280x720, 50.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:13:16] scan: supported video decoders: avcodec qsv
[16:13:16] libhb: scan thread found 1 valid title(s)
[16:13:16] Starting Task: Encoding Pass
[16:13:16] Skipping crop/scale filter
[16:13:16] NLMeans using SSE2 optimizations
[16:13:16] NLMeans using 4 threads
[16:13:16] MTFrame thread started for segment 1
[16:13:16] work: only 1 chapter, disabling chapter markers
[16:13:16] job configuration:
[16:13:16]  * source
[16:13:16]    + D:\DVD\To convert\Still Open All Hours - s06e01.mp4
[16:13:16]    + title 1, chapter(s) 1 to 1
[16:13:16]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:13:16]    + data rate: 5189 kbps
[16:13:16]  * destination
[16:13:16]    + D:\DVD\To convert\1.3.0\Still Open All Hours - s06e01.mp4
[16:13:16]    + container: MPEG-4 (libavformat)
[16:13:16]  * video track
[16:13:16]    + decoder: h264
[16:13:16]      + bitrate 5054 kbps
[16:13:16]    + filters
[16:13:16]      + Decomb (mode=7)
[16:13:16]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[16:13:16]        + frame rate: 50.000 fps -> constant 25.000 fps
[16:13:16]      + Denoise (nlmeans) (y-strength=1.5:y-origin-tune=0.9:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=2.4:cb-origin-tune=0.9:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[16:13:16]      + Sharpen (lapsharp) (y-strength=0.1:y-kernel=isolap:cb-strength=0.06:cb-kernel=isolap)
[16:13:16]    + Output geometry
[16:13:16]      + storage dimensions: 1280 x 720
[16:13:16]      + pixel aspect ratio: 1 : 1
[16:13:16]      + display dimensions: 1280 x 720
[16:13:16]    + encoder: H.265 (libx265)
[16:13:16]      + preset:  fast
[16:13:16]      + options: strong-intra-smoothing=0:rect=0
[16:13:16]      + profile: main
[16:13:16]      + level:   auto
[16:13:16]      + quality: 25.00 (RF)
[16:13:16]      + color profile: 1-1-1
[16:13:16]  * audio track 1
[16:13:16]    + decoder: English (AAC LC) (2.0 ch) (127 kbps) (track 1, id 0x1)
[16:13:16]      + bitrate: 127 kbps, samplerate: 48000 Hz
[16:13:16]    + mixdown: Stereo
[16:13:16]    + dither: none
[16:13:16]    + encoder: AAC (libavcodec)
[16:13:16]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:13:16] MTFrame thread started for segment 0
[16:13:16] MTFrame thread started for segment 2
[16:13:16] MTFrame thread started for segment 3
[16:13:16] sync: expecting 86956 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 8.3.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 4 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         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-25.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra lslices=4
x265 [info]: tools: deblock sao
[16:13:16] sync: first pts audio 0x1 is 0
[16:13:16] sync: first pts video is 1800
[16:13:16] sync: "Chapter 1" (1) at frame 1 time 1800
[16:59:17] reader: done. 1 scr changes
[16:59:20] work: average encoding speed for job is 31.469555 fps
[16:59:20] decomb: deinterlaced 86956 | blended 0 | unfiltered 0 | total 86956
[16:59:20] vfr: 43479 frames output, 43477 dropped and 0 duped for CFR/PFR
[16:59:20] vfr: lost time: 0 (0 frames)
[16:59:20] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:59:20] aac-decoder done: 81521 frames, 0 decoder errors
[16:59:20] h264-decoder done: 86956 frames, 0 decoder errors
[16:59:20] sync: got 86956 frames, 86956 expected
[16:59:20] sync: framerate min 50.000 fps, max 50.000 fps, avg 50.000 fps
x265 [info]: frame I:    449, Avg QP:22.90  kb/s: 12149.85
x265 [info]: frame P:   8747, Avg QP:24.76  kb/s: 3021.89
x265 [info]: frame B:  34283, Avg QP:31.63  kb/s: 343.55
x265 [info]: Weighted P-Frames: Y:0.8% UV:0.6%
x265 [info]: consecutive B-frames: 5.4% 1.0% 0.9% 0.9% 91.8%
encoded 43479 frames in 2764.36s (15.73 fps), 1004.29 kb/s, Avg QP:30.16
[16:59:20] mux: track 0, 43479 frames, 218502359 bytes, 1005.07 kbps, fifo 4096
[16:59:20] mux: track 1, 81522 frames, 41981689 bytes, 193.11 kbps, fifo 8192
[16:59:20] Finished work at: Sun Nov 10 16:59:20 2019
[16:59:20] libhb: work result = 0

# Encode Completed ...

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

Re: HandBrake v1.3.0 - encoded files now ~20% larger

Post by Woodstock » Sun Nov 10, 2019 5:31 pm

Can we see a log from v1.2.2, as well? They should still be in your log directory.

If you're using the EXACT same options, the size should be close to the same. But a change in the RF level by a point or two could cause file size to jump.

User avatar
s55
HandBrake Team
Posts: 9591
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake v1.3.0 - encoded files now ~20% larger

Post by s55 » Sun Nov 10, 2019 5:39 pm

x265 is a moving target, so the engine and it's presets have changed. Thus, in effect, your settings are no longer comparable with your previous settings.

You can adjust the quality slider to compensate.

cufinnev
Posts: 7
Joined: Fri Dec 28, 2018 2:52 pm

Re: HandBrake v1.3.0 - encoded files now ~20% larger

Post by cufinnev » Sun Nov 10, 2019 6:22 pm

Woodstock wrote:
Sun Nov 10, 2019 5:31 pm
Can we see a log from v1.2.2, as well? They should still be in your log directory.

If you're using the EXACT same options, the size should be close to the same. But a change in the RF level by a point or two could cause file size to jump.
I deleted the old logs before I began my testing of v1.3.0. I can reinstall v1.2.2 and run the same task to generate a log if you wish?
s55 wrote:
Sun Nov 10, 2019 5:39 pm
x265 is a moving target, so the engine and it's presets have changed. Thus, in effect, your settings are no longer comparable with your previous settings.

You can adjust the quality slider to compensate.
I am doing that now. Encoding with CF 26 increasing the file size by about 8%, so I am hoping CF 27 will return a similar file size to v1.2.2.

cufinnev
Posts: 7
Joined: Fri Dec 28, 2018 2:52 pm

Re: HandBrake v1.3.0 - encoded files now ~20% larger

Post by cufinnev » Sun Nov 10, 2019 7:13 pm

cufinnev wrote:
Sun Nov 10, 2019 6:22 pm
I am doing that now. Encoding with CF 26 increasing the file size by about 8%, so I am hoping CF 27 will return a similar file size to v1.2.2.
After encoding with CF 27, the file size is about 3% smaller than the v1.2.2 file.The image quality seems to be about the same to me - perhaps a little worse, but not immediately noticeable in my opinion.

Post Reply