Video is resized by handbrake

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
sprudel
New User
Posts: 1
Joined: Thu Sep 22, 2022 1:51 pm

Video is resized by handbrake

Post by sprudel »

Description of problem or question:
Hi

From 4 videos I have one video of size 1920x1080 which is rezised by handbrake to 1734x1012 or 1851x1080 when I "allow upscaling". I tried different custom configuration variants in "Picture" under "Resolution & Scaling". I don't see whats different with this video to the others. I want the handbrake output video also to be 1920x1080. Otherwise it's cutted on the left and rigth side.

What is wrong here?

Thank you for help.
Nick

Steps to reproduce the problem (If Applicable):

It happens everytime when I import the video. All the other videos are okay.


HandBrake version (e.g., 1.0.0):
1.5.1 (2022011000)

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.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: 12th Gen Intel(R) Core(TM) i9-12900K
Ram: 32473 MB, 
GPU Information:
  NVIDIA T1000 8GB - 30.0.15.1165
  Intel(R) UHD Graphics 770 - 30.0.101.1631
Screen: 2560x1440
Temp Dir: C:\Users\paris.WOERTZ-AG\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\paris.WOERTZ-AG\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[16:08:55] base preset: Fast 1080p30
[16:08:55] Remote Process started with Process ID: 27224 using port: 8037. Max Allowed Instances: 1
[16:08:55] Worker: Starting HandBrake Engine ...
[16:08:55] Worker: Starting Web Server on port 8037 ...
[16:08:56] Worker: Disconnected worker monitoring enabled!
[16:08:56] Compile-time hardening features are enabled
[16:08:56] hb_init: starting libhb thread
[16:08:56] Starting work at: Thu Sep 22 16:08:56 2022
[16:08:56] 1 job(s) to process
[16:08:56] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Kapitel 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\paris.WOERTZ-AG\\Videos\\Brandsicherheit.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": 13,
        "Settings": {
          "crop-bottom": "16",
          "crop-left": "90",
          "crop-right": "96",
          "crop-top": "52",
          "height": "1012",
          "width": "1734"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\_PREMIERE\\LB2022-Videos\\Brandsicherheit\\brandsicherheit.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": "fast",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[16:08:56] CPU: 12th Gen Intel(R) Core(TM) i9-12900K
[16:08:56]  - logical processor count: 24
[16:08:56] Intel Quick Sync Video support: yes, gpu list: 1
[16:08:56] Intel Quick Sync Video integrated adapter with index 1
[16:08:56]  - Intel Media SDK hardware: API 1.255 (minimum: 1.3)
[16:08:56]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[16:08:56]  - H.264 encoder: yes
[16:08:56]     - preferred implementation: hardware (2) via D3D11
[16:08:56]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:08:56]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:08:56]     - preferred implementation: hardware (2) via D3D11
[16:08:56]     - capabilities (hardware):  lowpower bpyramid icq vsinfo opt1
[16:08:56] hb_scan: path=D:\_PREMIERE\LB2022-Videos\Brandsicherheit\brandsicherheit.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\_PREMIERE\LB2022-Videos\Brandsicherheit\brandsicherheit.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(D:\_PREMIERE\LB2022-Videos\Brandsicherheit\brandsicherheit.mp4\) failed
[16:08:56] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread:libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[16:08:56] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\_PREMIERE\LB2022-Videos\Brandsicherheit\brandsicherheit.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2022-09-22T14:07:59.000000Z
  Duration: 00:02:20.80, start: 0.000000, bitrate: 13681 kb/s
  Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 13358 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
    Metadata:
      creation_time   : 2022-09-22T14:07:59.000000Z
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
      encoder         : AVC Coding
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2022-09-22T14:07:59.000000Z
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
[16:08:56] scan: decoding previews for title 1
[16:08:56] scan: audio 0x1: aac, rate=48000Hz, bitrate=317354 English (AAC LC) (2.0 ch) (317 kbps)
[16:08:56] scan: 10 previews, 1920x1080, 60.000 fps, autocrop = 52/16/90/96, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[16:08:56] scan: supported video decoders: avcodec qsv
[16:08:56] libhb: scan thread found 1 valid title(s)
[16:08:56] Skipping subtitle scan.  No suitable subtitle tracks.
[16:08:56] Starting Task: Encoding Pass
[16:08:56] work: track 1, dithering not supported by codec
[16:08:56] work: only 1 chapter, disabling chapter markers
[16:08:56] job configuration:
[16:08:56]  * source
[16:08:56]    + D:\_PREMIERE\LB2022-Videos\Brandsicherheit\brandsicherheit.mp4
[16:08:56]    + title 1, chapter(s) 1 to 1
[16:08:56]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:08:56]    + data rate: 13681 kbps
[16:08:56]  * destination
[16:08:56]    + C:\Users\paris.WOERTZ-AG\Videos\Brandsicherheit.mp4
[16:08:56]    + container: MPEG-4 (libavformat)
[16:08:56]      + align initial A/V stream timestamps
[16:08:56]  * video track
[16:08:56]    + decoder: h264 8-bit (yuv420p)
[16:08:56]      + bitrate 13358 kbps
[16:08:56]    + filters
[16:08:56]      + 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)
[16:08:56]      + Decomb (mode=39)
[16:08:56]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:08:56]        + frame rate: 60.000 fps -> peak rate limited to 30.000 fps
[16:08:56]      + Crop and Scale (width=1734:height=1012:crop-top=52:crop-bottom=16:crop-left=90:crop-right=96)
[16:08:56]        + source: 1920 * 1080, crop (52/16/90/96): 1734 * 1012, scale: 1734 * 1012
[16:08:56]    + Output geometry
[16:08:56]      + storage dimensions: 1734 x 1012
[16:08:56]      + pixel aspect ratio: 1 : 1
[16:08:56]      + display dimensions: 1734 x 1012
[16:08:56]    + encoder: H.264 (libx264)
[16:08:56]      + preset:  fast
[16:08:56]      + profile: main
[16:08:56]      + level:   4.0
[16:08:56]      + quality: 22.00 (RF)
[16:08:56]      + color profile: 1-1-1
[16:08:56]      + chroma location: left
[16:08:56]  * audio track 1
[16:08:56]    + decoder: English (AAC LC) (2.0 ch) (317 kbps) (track 1, id 0x1)
[16:08:56]      + bitrate: 317 kbps, samplerate: 48000 Hz
[16:08:56]    + mixdown: Stereo
[16:08:56]    + encoder: AAC (libavcodec)
[16:08:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:08:56] sync: expecting 8448 video frames
[16:08:56] encx264: min-keyint: 30, keyint: 300
[16:08:56] encx264: encoding at constant RF 22.000000
[16:08:56] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[16:08:56] sync: first pts video is 0
[16:08:56] sync: "Kapitel 1" (1) at frame 1 time 0
[16:08:56] sync: first pts audio 0x1 is 0
[16:09:15] reader: done. 1 scr changes
[16:09:15] work: average encoding speed for job is 461.584991 fps
[16:09:15] comb detect: heavy 1 | light 0 | uncombed 8445 | total 8446
[16:09:15] decomb: deinterlaced 1 | blended 0 | unfiltered 8445 | total 8446
[16:09:15] vfr: 4223 frames output, 4223 dropped and 0 duped for CFR/PFR
[16:09:15] vfr: lost time: 0 (0 frames)
[16:09:15] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:09:15] aac-decoder done: 6599 frames, 0 decoder errors
[16:09:15] h264-decoder done: 8446 frames, 0 decoder errors
[16:09:15] sync: got 8446 frames, 8448 expected
[16:09:15] sync: framerate min 60.000 fps, max 60.000 fps, avg 60.000 fps
x264 [info]: frame I:25    Avg QP:12.86  size:109260
x264 [info]: frame P:1171  Avg QP:17.26  size:  8494
x264 [info]: frame B:3027  Avg QP:17.99  size:  3015
x264 [info]: consecutive B-frames:  3.1%  3.1%  3.1% 90.7%
x264 [info]: mb I  I16..4: 67.0%  0.0% 33.0%
x264 [info]: mb P  I16..4:  6.2%  0.0%  1.9%  P16..4: 11.6%  3.2%  1.5%  0.0%  0.0%    skip:75.6%
x264 [info]: mb B  I16..4:  2.4%  0.0%  0.4%  B16..8:  6.2%  1.5%  0.1%  direct: 2.8%  skip:86.7%  L0:46.4% L1:48.5% BI: 5.1%
x264 [info]: coded y,uvDC,uvAC intra: 19.1% 42.7% 11.4% inter: 2.1% 5.2% 0.1%
x264 [info]: i16 v,h,dc,p: 50% 28% 11% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 23% 21%  5%  5%  5%  5%  4%  4%
x264 [info]: i8c dc,h,v,p: 62% 19% 16%  4%
x264 [info]: Weighted P-Frames: Y:2.2% UV:0.2%
x264 [info]: ref P L0: 69.8% 30.2%
x264 [info]: ref B L0: 78.0% 22.0%
x264 [info]: ref B L1: 93.1%  6.9%
x264 [info]: kb/s:1239.15
[16:09:15] mux: track 0, 4223 frames, 21802856 bytes, 1238.80 kbps, fifo 4096
[16:09:15] mux: track 1, 6600 frames, 2809212 bytes, 159.61 kbps, fifo 4096
[16:09:15] Finished work at: Thu Sep 22 16:09:15 2022
[16:09:15] libhb: work result = 0

 # Job Completed!




rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Video is resized by handbrake

Post by rollin_eng »

Handbrake is cropping black bars from your video.

Turn off auto cropping if you don’t want this.
Post Reply