Why is the output video larger ?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Why is the output video larger ?

Post by xabobe7672 »

Description of problem or question:

How come the output video is larger after compression ? I use the HQ 1080 preset because only this preset retains the quality and Super HQ will only make the problem worse than HQ preset.


Steps to reproduce the problem (If Applicable):

HandBrake version (e.g., 1.0.0):

1.4.2

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

Windows 10

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

Code: Select all

HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Ram: 16217 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 27.20.100.8681
Screen: 1920x1080
Temp Dir: C:\Users\P\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\P\AppData\Roaming\HandBrake

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


# Starting Encode ...
[19:31:15] base preset: HQ 1080p30 Surround (Modified)
Remote Process started with Process ID: 9316 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[19:31:15] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
1:16] hb_init: starting libhb thread
[19:31:16] Starting work at: Fri Dec 03 19:31:16 2021
[19:31:16] 1 job(s) to process
[19:31:16] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0,
        "Encoder": "copy:aac",
        "Gain": 0,
        "Mixdown": -1,
        "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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\P\\Videos\\PEANUT-11.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": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "800",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\P\\Desktop\\PEANUT.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "high",
    "Quality": 20,
    "QSV": {
      "Decode": false
    }
  }
}
[19:31:16] CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
[19:31:16]  - Intel microarchitecture Kaby Lake
[19:31:16]  - logical processor count: 8
[19:31:16] Intel Quick Sync Video support: yes, gpu list: 0
[19:31:16] Intel Quick Sync Video integrated adapter with index 0
[19:31:16]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[19:31:16]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[19:31:16]  - H.264 encoder: yes
[19:31:16]     - preferred implementation: hardware (1) via D3D11
[19:31:16]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[19:31:16]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[19:31:16]     - preferred implementation: hardware (1) via D3D11
[19:31:16]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[19:31:16] hb_scan: path=C:\Users\P\Desktop\PEANUT.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\P\Desktop\PEANUT.mp4
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
src/libbluray/bluray.c:2646: nav_get_title_list(C:\Users\P\Desktop\PEANUT.mp4\) failed
[19:31:16] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[19:31:16] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\P\Desktop\PEANUT.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2014-04-12T04:50:37.000000Z
  Duration: 03:55:30.22, start: 0.000000, bitrate: 5334 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800, 4553 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2014-04-12T04:50:37.000000Z
      handler_name    : 1.h264 - Imported with GPAC 0.5.0-rev4065
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 136 kb/s (default)
    Metadata:
      creation_time   : 2014-04-12T04:58:39.000000Z
      handler_name    : GPAC ISO Audio Handler
      vendor_id       : [0][0][0][0]
  Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      creation_time   : 2014-04-12T04:58:54.000000Z
      handler_name    : 6.ac3 - Imported with GPAC 0.5.0-rev4065
      vendor_id       : [0][0][0][0]
    Side data:
      audio service type: main
[19:31:16] scan: decoding previews for title 1
[19:31:16] scan: audio 0x1: aac, rate=48000Hz, bitrate=136445 English (AAC LC) (2.0 ch) (136 kbps)
[19:31:16] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[19:31:16] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/2/6/6, aspect 2.40:1, PAR 1:1, color profile: 1-1-1
[19:31:16] scan: supported video decoders: avcodec qsv
[19:31:16] libhb: scan thread found 1 valid title(s)
[19:31:16] Skipping subtitle scan.  No suitable subtitle tracks.
[19:31:16] Starting Task: Encoding Pass
[19:31:16] Skipping vfr filter
[19:31:16] Skipping crop/scale filter
[19:31:16] work: only 1 chapter, disabling chapter markers
[19:31:16] job configuration:
[19:31:16]  * source
[19:31:16]    + C:\Users\P\Desktop\PEANUT.mp4
[19:31:16]    + title 1, chapter(s) 1 to 1
[19:31:16]    + container: mov,mp4,m4a,3gp,3g2,mj2
[19:31:16]    + data rate: 5334 kbps
[19:31:16]  * destination
[19:31:16]    + C:\Users\P\Videos\PEANUT-11.mkv
[19:31:16]    + container: Matroska (libavformat)
[19:31:16]  * video track
[19:31:16]    + decoder: h264 8-bit (yuv420p)
[19:31:16]      + bitrate 4553 kbps
[19:31:16]    + filters
[19:31:16]      + 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)
[19:31:16]      + Decomb (mode=39)
[19:31:16]    + Output geometry
[19:31:16]      + storage dimensions: 1920 x 800
[19:31:16]      + pixel aspect ratio: 1 : 1
[19:31:16]      + display dimensions: 1920 x 800
[19:31:16]    + encoder: H.264 (libx264)
[19:31:16]      + preset:  slow
[19:31:16]      + profile: high
[19:31:16]      + level:   4.0
[19:31:16]      + quality: 20.00 (RF)
[19:31:16]      + color profile: 1-1-1
[19:31:16]  * audio track 1
[19:31:16]    + decoder: English (AAC LC) (2.0 ch) (136 kbps) (track 1, id 0x1)
[19:31:16]      + bitrate: 136 kbps, samplerate: 48000 Hz
[19:31:16]    + AAC Passthru
[19:31:16] sync: expecting 338786 video frames
[19:31:16] encx264: min-keyint: 24, keyint: 240
[19:31:16] encx264: encoding at constant RF 20.000000
[19:31:16] encx264: unparsed options: level=4.0:ref=5:direct=auto:subme=8:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=50
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.0, 4:2:0, 8-bit
[19:31:16] sync: first pts audio 0x1 is 0
[19:31:16] sync: first pts video is 7507
[19:31:16] sync: "Chapter 1" (1) at frame 1 time 7507

Deleted User 11865

Re: Why is the output video larger ?

Post by Deleted User 11865 »

Because your source is already highly compressed -- in this case, it probably isn't possible to maintain the quality without the output being larger than the source.

If you want to match quality and hopefully get a smaller file, you'll have to:

(1) (definitely) go back to the original Blu-ray

(2) (possibly) need to use a preset slower than x264 slow and/or use the x264/x265 10-bit encoder
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Re: Why is the output video larger ?

Post by xabobe7672 »

Rodeo wrote: Sat Dec 04, 2021 1:01 am Because your source is already highly compressed -- in this case, it probably isn't possible to maintain the quality without the output being larger than the source.

If you want to match quality and hopefully get a smaller file, you'll have to:

(1) (definitely) go back to the original Blu-ray

(2) (possibly) need to use a preset slower than x264 slow and/or use the x264/x265 10-bit encoder
May I ask how would one know if the source file is already highly compressed? And how would I go back to original Blu-Ray from this video ?
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Why is the output video larger ?

Post by Woodstock »

For a 1920x800 video, the bit rate is VERY low, even considering that this is an animated feature.

"go back to the original" means ripping directly from the BD itself, instead of the already-compressed file you used. The "fried egg" you have cannot be "unfried" to start over.
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Re: Why is the output video larger ?

Post by xabobe7672 »

Woodstock wrote: Sat Dec 04, 2021 6:53 pm For a 1920x800 video, the bit rate is VERY low, even considering that this is an animated feature.

"go back to the original" means ripping directly from the BD itself, instead of the already-compressed file you used. The "fried egg" you have cannot be "unfried" to start over.
I do not have the source blu ray disc anymore, is there any possible way to still compress it while maintaining its quality ?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Why is the output video larger ?

Post by rollin_eng »

Not really, generally the more you compress it the more quality you will lose.
Post Reply