Why is H.265 MKV 2160p60 the smallest file size in this scenario?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
CloudyCloud
Posts: 1
Joined: Sun Aug 02, 2020 8:23 pm

Why is H.265 MKV 2160p60 the smallest file size in this scenario?

Post by CloudyCloud »

Description of problem or question:
I am in the process of encoding some old family videos to be streamed on Plex, etc.

These videos are from late 80's to 2000 mostly in 480p I believe.

I have been trying to wrap my head around why when I choose preset H.265 MKV 2160p60 it's the smallest file size for a 480p video, yet when I choose H.265 MKV 480p30 it's the biggest? See pictures below:

https://i.imgur.com/oB5eQ7e.png

Source Resolution:
https://i.imgur.com/udXodvb.png

To me it seems that this should be the opposite? 480p should be the smallest?

What would be the best options for family videos in 480p and such for Plex? MP4? Web Optimized? Not MKV?

Mainly what I'm looking for is still keeping the quality and having the smallest possible file size, when a family member viewed the H.265 MKV 2160p60 they said they could barely notice any/no difference from the original?

Any other info that would be helpful let me know.

Thanks again.

Steps to reproduce the problem (If Applicable):
N/A



HandBrake version (e.g., 1.0.0):
HandBrake 1.3.3 (2020061300)



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




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

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
Ram: 8084 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.4425
Screen: 1366x768
Temp Dir: C:\Users\greg\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\greg\AppData\Roaming\HandBrake

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


# Starting Encode ...

[04:46:06] base preset: H.265 MKV 2160p60
[04:46:06] hb_init: starting libhb thread
[04:46:06] Starting work at: Sun Aug 02 04:46:06 2020
[04:46:06] 1 job(s) to process
[04:46:06] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "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"
      },
      {
        "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "\\\\Share1\\H.265 MKV 2160p60.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "2",
          "crop-right": "0",
          "crop-top": "2",
          "height": "478",
          "width": "718"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/450000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 8,
    "Den": 9
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 2,
      "End": 2
    },
    "Title": 1,
    "Path": "\\\\Share1\\test.iso"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 24.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[04:46:06] CPU: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
[04:46:06]  - Intel microarchitecture Ivy Bridge
[04:46:06]  - logical processor count: 4
[04:46:06] Intel Quick Sync Video support: yes
[04:46:06]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[04:46:06]  - H.264 encoder: yes
[04:46:06]     - preferred implementation: hardware (any) via D3D11
[04:46:06]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[04:46:06]  - H.265 encoder: no
[04:46:06] hb_scan: path=\\Share1\test.iso, title_index=1
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((null)) failed
[04:46:06] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[04:46:06] scan: DVD has 1 title(s)
[04:46:06] scan: scanning title 1
[04:46:06] scan: duration is 00:52:21 (3141333 ms)
[04:46:06] pgc_id: 1, pgn: 1: pgc: 0000021B6BD4BCB0
[04:46:06] scan: checking audio 1
[04:46:06] scan: id=0xc0, lang=Unknown (MPEG), 3cc=und ext=0
[04:46:06] scan: title 1 has 10 chapters
[04:46:06] scan: chap 1, 378934 ms
[04:46:06] scan: chap 2, 204000 ms
[04:46:06] scan: chap 3, 244000 ms
[04:46:06] scan: chap 4, 158500 ms
[04:46:06] scan: chap 5, 555000 ms
[04:46:06] scan: chap 6, 135500 ms
[04:46:06] scan: chap 7, 68000 ms
[04:46:06] scan: chap 8, 483000 ms
[04:46:06] scan: chap 9, 231500 ms
[04:46:06] scan: chap 10, 682900 ms
[04:46:06] scan: aspect = 4:3
[04:46:06] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using '
libdvdnav: Menu Languages available:
libdvdnav: Language 'en' not found, using '
libdvdnav: Menu Languages available:
[04:46:06] scan: title angle(s) 1
[04:46:06] scan: audio 0xc0: mp2, rate=48000Hz, bitrate=128000 Unknown (MPEG) (2.0 ch) (128 kbps)
[04:46:07] scan: 10 previews, 720x480, 29.970 fps, autocrop = 2/0/2/0, aspect 4:3, PAR 8:9
[04:46:07] libhb: scan thread found 1 valid title(s)
[04:46:07] Skipping subtitle scan.  No suitable subtitle tracks.
[04:46:07] Starting Task: Encoding Pass
[04:46:07] work: only 1 chapter, disabling chapter markers
[04:46:07] job configuration:
[04:46:07]  * source
[04:46:07]    + \\Share1\test.iso
[04:46:07]    + title 1, chapter(s) 2 to 2
[04:46:07]  * destination
[04:46:07]    + \\Share1\H.265 MKV 2160p60.mkv
[04:46:07]    + container: Matroska (libavformat)
[04:46:07]  * video track
[04:46:07]    + decoder: mpeg2video
[04:46:07]      + bitrate 200 kbps
[04:46:07]    + filters
[04:46:07]      + 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)
[04:46:07]      + Decomb (mode=39)
[04:46:07]      + Framerate Shaper (mode=2:rate=27000000/450000)
[04:46:07]        + frame rate: 29.970 fps -> peak rate limited to 60.000 fps
[04:46:07]      + Crop and Scale (width=718:height=478:crop-top=2:crop-bottom=0:crop-left=2:crop-right=0)
[04:46:07]        + source: 720 * 480, crop (2/0/2/0): 718 * 478, scale: 718 * 478
[04:46:07]    + Output geometry
[04:46:07]      + storage dimensions: 718 x 478
[04:46:07]      + pixel aspect ratio: 8 : 9
[04:46:07]      + display dimensions: 638 x 478
[04:46:07]    + encoder: H.265 (libx265)
[04:46:07]      + preset:  slow
[04:46:07]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[04:46:07]      + profile: main
[04:46:07]      + level:   auto
[04:46:07]      + quality: 24.00 (RF)
[04:46:07]      + color profile: 4-4-5
[04:46:07]  * audio track 1
[04:46:07]    + decoder: Unknown (MPEG) (2.0 ch) (128 kbps) (track 1, id 0xc0)
[04:46:07]      + bitrate: 128 kbps, samplerate: 48000 Hz
[04:46:07]    + mixdown: Stereo
[04:46:07]    + dither: none
[04:46:07]    + encoder: AAC (libavcodec)
[04:46:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using '
libdvdnav: Menu Languages available:
libdvdnav: Language 'en' not found, using '
libdvdnav: Menu Languages available:
[04:46:07] sync: expecting 6113 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(8 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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: 30 / 300 / 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-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp deblock sao
[04:46:07] sync: first pts audio 0xc0 is 0
[04:46:07] sync: first pts video is 23433
[04:46:07] sync: "Chapter 2" (2) at frame 1 time 23433
[04:58:59] reader: end of chapter 2 (media 2) reached at media chapter 3
[04:58:59] reader: done. 1 scr changes
[04:59:13] work: average encoding speed for job is 7.870528 fps
[04:59:13] comb detect: heavy 333 | light 870 | uncombed 4915 | total 6118
[04:59:13] decomb: deinterlaced 333 | blended 870 | unfiltered 4915 | total 6118
[04:59:13] vfr: 6118 frames output, 0 dropped and 0 duped for CFR/PFR
[04:59:13] vfr: lost time: 0 (0 frames)
[04:59:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[04:59:13] mp2-decoder done: 8509 frames, 0 decoder errors
[04:59:13] mpeg2video-decoder done: 6118 frames, 0 decoder errors
[04:59:13] sync: got 6118 frames, 6113 expected
[04:59:13] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[aac @ 0000021b744f8f00] Qavg: 155.621
x265 [info]: frame I:     28, Avg QP:27.33  kb/s: 3661.52
x265 [info]: frame P:   1360, Avg QP:28.08  kb/s: 2470.99
x265 [info]: frame B:   4730, Avg QP:32.40  kb/s: 590.22
x265 [info]: Weighted P-Frames: Y:38.5% UV:33.1%
x265 [info]: consecutive B-frames: 1.6% 2.8% 7.9% 28.7% 59.0%
encoded 6118 frames in 786.56s (7.78 fps), 1022.36 kb/s, Avg QP:31.42
[04:59:13] mux: track 0, 6118 frames, 26112307 bytes, 1021.99 kbps, fifo 4096
[04:59:13] mux: track 1, 9573 frames, 4127249 bytes, 161.53 kbps, fifo 4096
[04:59:13] Finished work at: Sun Aug 02 04:59:13 2020
[04:59:13] libhb: work result = 0

# Encode Completed ...


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

Re: Why is H.265 MKV 2160p60 the smallest file size in this scenario?

Post by mduell »

The 4K presets have quality settings intended for 4K content, which are lower quality per pixel than something tuned for 480p.
Post Reply