Smallest video output

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
WebWeaver64
New User
Posts: 1
Joined: Sat Jan 23, 2021 4:56 pm

Smallest video output

Post by WebWeaver64 »

Description of problem or question:
I'm trying to get the smallest output file size of a video. The quality of the video is secondary to the audio and size. I'm not sure where to start with this, which preset would provide the smallest size. I've read through the documentation and quite a bit of the forum, but I'm not finding the answer to my situation where the video is the last important piece.

I've been using fast however I'm thinking maybe I need to use one of the slower presets.

Instead of just trying to find the best option, I thought I'd check-in here to see if there were suggestions.

Thanks!

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

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.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G  
Ram: 9141 MB, 
GPU Information:
  AMD Radeon(TM) R7 Graphics - 27.20.1034.6
Screen: 1920x1080
Temp Dir: C:\Users\Shari\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Shari\AppData\Roaming\HandBrake

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


# Starting Encode ...

[10:13:29] base preset: Production Standard (Modified)
[10:13:29] hb_init: starting libhb thread
[10:13:29] Starting work at: Sat Jan 23 10:13:29 2021
[10:13:29] 1 job(s) to process
[10:13:29] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 80,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.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"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "S:\\video\\Zoom-Call01-2021-0121-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "406",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "S:\video\zoom-call01-2021-0121.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "keyint=12:min-keyint=1:ref=1:bframes=0:qcomp=0.8:aq-strength=0.5:dct-decimate=0:fast-pskip=0:deblock=-2,-2",
    "Preset": "fast",
    "Profile": "high",
    "Quality": 19.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:13:29] CPU:
[10:13:29]  - logical processor count: 4
[10:13:29] Intel Quick Sync Video support: no
[10:13:29] hb_scan: path=S:\video\zoom-call01-2021-0121.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image S:\video\zoom-call01-2021-0121.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(S:\video\zoom-call01-2021-0121.mp4\) failed
[10:13:29] 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
[10:13:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S:\video\zoom-call01-2021-0121.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2021-01-21T21:22:29.000000Z
  Duration: 01:08:40.68, start: 0.000000, bitrate: 1061 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 126 kb/s (default)
    Metadata:
      creation_time   : 2021-01-21T21:22:29.000000Z
      handler_name    : AAC audio
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 933 kb/s, 25 fps, 25 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2021-01-21T21:22:29.000000Z
      handler_name    : H.264/AVC video
      encoder         : AVC Coding
[10:13:29] scan: decoding previews for title 1
[10:13:29] scan: audio 0x0: aac, rate=32000Hz, bitrate=126250 Unknown (AAC LC) (1.0 ch) (126 kbps)
[10:13:30] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[10:13:30] scan: supported video decoders: avcodec qsv
[10:13:30] libhb: scan thread found 1 valid title(s)
[10:13:30] Starting Task: Encoding Pass
[10:13:30] work: only 1 chapter, disabling chapter markers
[10:13:30] job configuration:
[10:13:30]  * source
[10:13:30]    + S:\video\zoom-call01-2021-0121.mp4
[10:13:30]    + title 1, chapter(s) 1 to 1
[10:13:30]    + container: mov,mp4,m4a,3gp,3g2,mj2
[10:13:30]    + data rate: 1061 kbps
[10:13:30]  * destination
[10:13:30]    + S:\video\Zoom-Call01-2021-0121-1.m4v
[10:13:30]    + container: MPEG-4 (libavformat)
[10:13:30]  * video track
[10:13:30]    + decoder: h264
[10:13:30]      + bitrate 933 kbps
[10:13:30]    + filters
[10:13:30]      + Framerate Shaper (mode=1)
[10:13:30]        + frame rate: 25.000 fps -> constant 25.000 fps
[10:13:30]      + Crop and Scale (width=720:height=406:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[10:13:30]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 720 * 406
[10:13:30]    + Output geometry
[10:13:30]      + storage dimensions: 720 x 406
[10:13:30]      + pixel aspect ratio: 1 : 1
[10:13:30]      + display dimensions: 720 x 406
[10:13:30]    + encoder: H.264 (libx264)
[10:13:30]      + preset:  fast
[10:13:30]      + options: keyint=12:min-keyint=1:ref=1:bframes=0:qcomp=0.8:aq-strength=0.5:dct-decimate=0:fast-pskip=0:deblock=-2,-2
[10:13:30]      + profile: high
[10:13:30]      + level:   auto
[10:13:30]      + quality: 19.00 (RF)
[10:13:30]      + color profile: 1-1-1
[10:13:30]  * audio track 1
[10:13:30]    + decoder: Unknown (AAC LC) (1.0 ch) (126 kbps) (track 1, id 0x0)
[10:13:30]      + bitrate: 126 kbps, samplerate: 32000 Hz
[10:13:30]    + mixdown: Mono
[10:13:30]    + dither: none
[10:13:30]    + encoder: AAC (libavcodec)
[10:13:30]      + bitrate: 80 kbps, samplerate: 32000 Hz
[10:13:30] sync: expecting 103017 video frames
[10:13:30] encx264: min-keyint: 1, keyint: 12
[10:13:30] encx264: encoding at constant RF 19.000000
[10:13:30] encx264: unparsed options: keyint=12:keyint-min=1:ref=1:bframes=0:qcomp=0.8:aq-strength=0.5:dct-decimate=0:fast-pskip=0:deblock=-2,-2:weightp=1:subme=6:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1
x264 [info]: profile High, level 3.0, 4:2:0, 8-bit
[10:13:30] sync: first pts video is 0
[10:13:30] sync: "Chapter 1" (1) at frame 1 time 0
[10:13:30] sync: first pts audio 0x0 is 0
[10:30:11] reader: done. 1 scr changes
[10:30:12] work: average encoding speed for job is 102.790550 fps
[10:30:12] vfr: 103017 frames output, 0 dropped and 0 duped for CFR/PFR
[10:30:12] vfr: lost time: 0 (0 frames)
[10:30:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:30:12] aac-decoder done: 128770 frames, 0 decoder errors
[10:30:12] h264-decoder done: 103017 frames, 0 decoder errors
[10:30:12] sync: got 103017 frames, 103017 expected
[10:30:12] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:8595  Avg QP:16.58  size: 88528
x264 [info]: frame P:94422 Avg QP:20.09  size:  2657
x264 [info]: mb I  I16..4:  5.0% 18.8% 76.1%
x264 [info]: mb P  I16..4:  0.0%  0.1%  0.1%  P16..4: 14.9%  3.2%  3.8%  0.0%  0.0%    skip:77.9%
x264 [info]: 8x8 transform intra:19.1% inter:34.6%
x264 [info]: coded y,uvDC,uvAC intra: 92.8% 96.7% 92.9% inter: 9.1% 9.6% 2.9%
x264 [info]: i16 v,h,dc,p: 59%  5%  1% 35%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 18%  8%  6%  6%  8%  6% 10%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 21%  6%  6%  7%  8%  6%  8%  7%
x264 [info]: i8c dc,h,v,p: 31% 24% 32% 13%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: kb/s:1964.35
[10:30:13] mux: track 0, 103017 frames, 1011447670 bytes, 1963.63 kbps, fifo 2048
[10:30:13] mux: track 1, 128771 frames, 41408536 bytes, 80.39 kbps, fifo 2048
[10:30:13] Finished work at: Sat Jan 23 10:30:13 2021
[10:30:13] libhb: work result = 0

# Encode Completed ...


musicvid
Veteran User
Posts: 3914
Joined: Sat Jun 27, 2009 1:19 am

Re: Smallest video output

Post by musicvid »

Your source video is already compressed x264 720p at only 1 Mbps.
Recompression at this point would result mainly in lower quality, not lower size.
So you may not be able to realize your expectations from a physical standpoint.
Woodstock
Veteran User
Posts: 4026
Joined: Tue Aug 27, 2013 6:39 am

Re: Smallest video output

Post by Woodstock »

If you don't care about the video, select a screen size of 320x240, and pass the audio through.
rollin_eng
Veteran User
Posts: 3836
Joined: Wed May 04, 2011 11:06 pm

Re: Smallest video output

Post by rollin_eng »

Do you want the video to be viewable?
mduell
Veteran User
Posts: 7370
Joined: Sat Apr 21, 2007 8:54 pm

Re: Smallest video output

Post by mduell »

Drop the video resolution as low as it will go, and set the quality (RF) target in the mid 40s.
Post Reply