Why is my video cropped ?

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 my video cropped ?

Post by xabobe7672 »

Description of problem or question:

Why does HandBrake crop my video ? How do I create one thats the exact copy ?


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 ...
[23:21:46] base preset: HQ 1080p30 Surround (Modified)
Remote Process started with Process ID: 8752 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[23:21:46] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[23:21:47] hb_init: starting libhb thread
[23:21:47] Starting work at: Thu Dec 02 23:21:47 2021
[23:21:47] 1 job(s) to process
[23:21:47] 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\\Mewtwo-1.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": "2",
          "crop-left": "100",
          "crop-right": "0",
          "crop-top": "2",
          "height": "1036",
          "width": "1820"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 255,
    "Den": 254
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\P\\Desktop\\MEWTWO.mkv"
  },
  "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
    }
  }
}
[23:21:47] CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
[23:21:47]  - Intel microarchitecture Kaby Lake
[23:21:47]  - logical processor count: 8
[23:21:47] Intel Quick Sync Video support: yes, gpu list: 0
[23:21:47] Intel Quick Sync Video integrated adapter with index 0
[23:21:47]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[23:21:47]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[23:21:47]  - H.264 encoder: yes
[23:21:47]     - preferred implementation: hardware (1) via D3D11
[23:21:47]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[23:21:47]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[23:21:47]     - preferred implementation: hardware (1) via D3D11
[23:21:47]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[23:21:47] hb_scan: path=C:\Users\P\Desktop\MEWTWO.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\P\Desktop\MEWTWO.mkv
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\MEWTWO.mkv\) failed
[23:21:47] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open file Vlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
IDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[23:21:47] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\P\Desktop\MEWTWO.mkv':
  Metadata:
    encoder         : libebml v1.4.0 + libmatroska v1.6.2
    creation_time   : 2021-12-01T17:11:46.000000Z
    Encoded by      : Pahe.inƒ,› Team
  Duration: 01:37:33.81, start: 0.000000, bitrate: 2487 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1040 [SAR 255:254 DAR 3060:1651], SAR 241:240 DAR 241:130, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 2203521
      DURATION-eng    : 01:37:33.765000000
      NUMBER_OF_FRAMES-eng: 140350
      NUMBER_OF_BYTES-eng: 1612362256
      _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-01 17:11:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
    Metadata:
      BPS-eng         : 281429
      DURATION-eng    : 01:37:33.802000000
      NUMBER_OF_FRAMES-eng: 274397
      NUMBER_OF_BYTES-eng: 205929338
      _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-01 17:11:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[23:21:47] scan: decoding previews for title 1
[23:21:47] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC) (5.1 ch)
[23:21:47] WARNING: Video PAR 255:254 != container PAR 241:240
[23:21:47] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1
[23:21:47] scan: supported video decoders: avcodec qsv
[23:21:47] libhb: scan thread found 1 valid title(s)
[23:21:47] Skipping subtitle scan.  No suitable subtitle tracks.
[23:21:47] Starting Task: Encoding Pass
[23:21:47] Skipping vfr filter
[23:21:47] work: only 1 chapter, disabling chapter markers
[23:21:47] job configuration:
[23:21:47]  * source
[23:21:47]    + C:\Users\P\Desktop\MEWTWO.mkv
[23:21:47]    + title 1, chapter(s) 1 to 1
[23:21:47]    + container: matroska,webm
[23:21:47]    + data rate: 2487 kbps
[23:21:47]  * destination
[23:21:47]    + C:\Users\P\Videos\Mewtwo-1.mkv
[23:21:47]    + container: Matroska (libavformat)
[23:21:47]  * video track
[23:21:47]    + decoder: h264 8-bit (yuv420p)
[23:21:47]    + filters
[23:21:47]      + 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)
[23:21:47]      + Decomb (mode=39)
[23:21:47]      + Crop and Scale (width=1820:height=1036:crop-top=2:crop-bottom=2:crop-left=100:crop-right=0)
[23:21:47]        + source: 1920 * 1040, crop (2/2/100/0): 1820 * 1036, scale: 1820 * 1036
[23:21:47]    + Output geometry
[23:21:47]      + storage dimensions: 1820 x 1036
[23:21:47]      + pixel aspect ratio: 255 : 254
[23:21:47]      + display dimensions: 1827 x 1036
[23:21:47]    + encoder: H.264 (libx264)
[23:21:47]      + preset:  slow
[23:21:47]      + profile: high
[23:21:47]      + level:   4.0
[23:21:47]      + quality: 20.00 (RF)
[23:21:47]      + color profile: 1-1-1
[23:21:47]  * audio track 1
[23:21:47]    + decoder: English (AAC LC) (5.1 ch) (track 1, id 0x1)
[23:21:47]      + samplerate: 48000 Hz
[23:21:47]    + AAC Passthru
[23:21:47] sync: expecting 140351 video frames
[23:21:47] encx264: min-keyint: 24, keyint: 240
[23:21:47] encx264: encoding at constant RF 20.000000
[23:21:47] encx264: unparsed options: level=4.0:ref=4:direct=auto:subme=8:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=50
x264 [info]: using SAR=255/254
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
[23:21:47] sync: first pts video is 0
[23:21:47] sync: "Chapter 1" (1) at frame 1 time 0
[23:21:47] sync: first pts audio 0x1 is 810

# Encode Stopped
[23:22:04] work: average encoding speed for job is 62.896534 fps
[23:22:04] comb detect: heavy 49 | light 111 | uncombed 866 | total 1026
[23:22:04] decomb: deinterlaced 48 | blended 108 | unfiltered 861 | total 1017
[23:22:04] aac-decoder done: 2179 frames, 0 decoder errors
[23:22:04] h264-decoder done: 1088 frames, 0 decoder errors
[23:22:04] sync: got 1051 frames, 140351 expected
[23:22:04] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:47    Avg QP:16.12  size:122249
x264 [info]: frame P:350   Avg QP:16.41  size: 24594
x264 [info]: frame B:546   Avg QP:17.83  size:  5739
x264 [info]: consecutive B-frames: 15.0% 19.9% 10.8% 54.3%
x264 [info]: mb I  I16..4: 17.8% 68.6% 13.6%
x264 [info]: mb P  I16..4: 11.0% 20.9%  1.1%  P16..4: 25.6%  6.1%  2.5%  0.0%  0.0%    skip:32.7%
x264 [info]: mb B  I16..4:  1.7%  1.3%  0.1%  B16..8: 20.8%  1.1%  0.1%  direct: 6.0%  skip:68.9%  L0:38.2% L1:58.4% BI: 3.4%
x264 [info]: 8x8 transform intra:62.8% inter:69.5%
x264 [info]: direct mvs  spatial:96.0% temporal:4.0%
x264 [info]: coded y,uvDC,uvAC intra: 32.2% 45.2% 25.4% inter: 6.5% 15.2% 0.6%
x264 [info]: i16 v,h,dc,p: 45% 31%  5% 18%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 14% 25%  5%  6%  5%  6%  5%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 11% 10%  8% 11% 10% 10%  9% 11%
x264 [info]: i8c dc,h,v,p: 49% 28% 16%  8%
x264 [info]: Weighted P-Frames: Y:27.1% UV:19.7%
x264 [info]: ref P L0: 66.7% 14.1% 15.0%  3.5%  0.5%  0.1%
x264 [info]: ref B L0: 89.6%  9.1%  1.3%
x264 [info]: ref B L1: 98.0%  2.0%
x264 [info]: kb/s:3556.90
[23:22:04] mux: track 0, 942 frames, 17388616 bytes, 3173.43 kbps, fifo 1024
[23:22:04] mux: track 1, 2053 frames, 1304897 bytes, 238.14 kbps, fifo 2048
[23:22:04] Finished work at: Thu Dec 02 23:22:04 2021
[23:22:04] libhb: work result = 1

# Job Cancelled!

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

Re: Why is my video cropped ?

Post by mduell »

Code: Select all

[23:21:47] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1

[23:21:47]        + source: 1920 * 1040, crop (2/2/100/0): 1820 * 1036, scale: 1820 * 1036
Autocrop found bars on 3 sides.

You chose to leave autocrop on.

Crop happened.

Set crop to 0 on all sides to preserve origin resolution, including any black bars.
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Re: Why is my video cropped ?

Post by xabobe7672 »

mduell wrote: Fri Dec 03, 2021 4:44 am

Code: Select all

[23:21:47] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1

[23:21:47]        + source: 1920 * 1040, crop (2/2/100/0): 1820 * 1036, scale: 1820 * 1036
Autocrop found bars on 3 sides.

You chose to leave autocrop on.

Crop happened.

Set crop to 0 on all sides to preserve origin resolution, including any black bars.
Thankyou for your reply. I have set all crops to 0 but there is still a slight crop. How do I fix that ?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Why is my video cropped ?

Post by rollin_eng »

Can you please post your new log, thanks.
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Re: Why is my video cropped ?

Post by xabobe7672 »

rollin_eng wrote: Fri Dec 03, 2021 2:29 pm Can you please post your new log, thanks.

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 ...
[09:54:55] base preset: HQ 1080p30 Surround (Modified)
Remote Process started with Process ID: 3492 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[09:54:56] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
t: starting libhb thread
[09:54:56] Starting work at: Fri Dec 03 09:54:56 2021
[09:54:56] 1 job(s) to process
[09:54:56] 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\\Mewtwo-1.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": "1040",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 255,
    "Den": 254
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\P\\Desktop\\MEWTWO.mkv"
  },
  "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
    }
  }
}
[09:54:56] CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
[09:54:56]  - Intel microarchitecture Kaby Lake
[09:54:56]  - logical processor count: 8
[09:54:56] Intel Quick Sync Video support: yes, gpu list: 0
[09:54:56] Intel Quick Sync Video integrated adapter with index 0
[09:54:56]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[09:54:56]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[09:54:56]  - H.264 encoder: yes
[09:54:56]     - preferred implementation: hardware (1) via D3D11
[09:54:56]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[09:54:56]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[09:54:56]     - preferred implementation: hardware (1) via D3D11
[09:54:56]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[09:54:56] hb_scan: path=C:\Users\P\Desktop\MEWTWO.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\P\Desktop\MEWTWO.mkv
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\MEWTWO.mkv\) failed
[09:54:56] 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
[09:54:56] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\P\Desktop\MEWTWO.mkv':
  Metadata:
    encoder         : libebml v1.4.0 + libmatroska v1.6.2
    creation_time   : 2021-12-01T17:11:46.000000Z
    Encoded by      : Pahe.inƒ,› Team
  Duration: 01:37:33.81, start: 0.000000, bitrate: 2487 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1040 [SAR 255:254 DAR 3060:1651], SAR 241:240 DAR 241:130, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 2203521
      DURATION-eng    : 01:37:33.765000000
      NUMBER_OF_FRAMES-eng: 140350
      NUMBER_OF_BYTES-eng: 1612362256
      _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-01 17:11:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
    Metadata:
      BPS-eng         : 281429
      DURATION-eng    : 01:37:33.802000000
      NUMBER_OF_FRAMES-eng: 274397
      NUMBER_OF_BYTES-eng: 205929338
      _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-01 17:11:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[09:54:56] scan: decoding previews for title 1
[09:54:56] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC) (5.1 ch)
[09:54:56] WARNING: Video PAR 255:254 != container PAR 241:240
[09:54:56] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1
[09:54:56] scan: supported video decoders: avcodec qsv
[09:54:56] libhb: scan thread found 1 valid title(s)
[09:54:56] Skipping subtitle scan.  No suitable subtitle tracks.
[09:54:56] Starting Task: Encoding Pass
[09:54:56] Skipping vfr filter
[09:54:56] Skipping crop/scale filter
[09:54:56] work: only 1 chapter, disabling chapter markers
[09:54:56] job configuration:
[09:54:56]  * source
[09:54:56]    + C:\Users\P\Desktop\MEWTWO.mkv
[09:54:56]    + title 1, chapter(s) 1 to 1
[09:54:56]    + container: matroska,webm
[09:54:56]    + data rate: 2487 kbps
[09:54:56]  * destination
[09:54:56]    + C:\Users\P\Videos\Mewtwo-1.mkv
[09:54:56]    + container: Matroska (libavformat)
[09:54:56]  * video track
[09:54:56]    + decoder: h264 8-bit (yuv420p)
[09:54:56]    + filters
[09:54: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)
[09:54:56]      + Decomb (mode=39)
[09:54:56]    + Output geometry
[09:54:56]      + storage dimensions: 1920 x 1040
[09:54:56]      + pixel aspect ratio: 255 : 254
[09:54:56]      + display dimensions: 1927 x 1040
[09:54:56]    + encoder: H.264 (libx264)
[09:54:56]      + preset:  slow
[09:54:56]      + profile: high
[09:54:56]      + level:   4.0
[09:54:56]      + quality: 20.00 (RF)
[09:54:56]      + color profile: 1-1-1
[09:54:56]  * audio track 1
[09:54:56]    + decoder: English (AAC LC) (5.1 ch) (track 1, id 0x1)
[09:54:56]      + samplerate: 48000 Hz
[09:54:56]    + AAC Passthru
[09:54:56] sync: expecting 140351 video frames
[09:54:56] encx264: min-keyint: 24, keyint: 240
[09:54:56] encx264: encoding at constant RF 20.000000
[09:54:56] encx264: unparsed options: level=4.0:ref=4:direct=auto:subme=8:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=50
x264 [info]: using SAR=255/254
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
[09:54:56] sync: first pts video is 0
[09:54:56] sync: "Chapter 1" (1) at frame 1 time 0
[09:54:56] sync: first pts audio 0x1 is 810

# Encode Stopped
[09:55:04] work: average encoding speed for job is 83.278687 fps
[09:55:04] comb detect: heavy 6 | light 39 | uncombed 599 | total 644
[09:55:04] decomb: deinterlaced 6 | blended 39 | unfiltered 590 | total 635
[09:55:04] aac-decoder done: 1429 frames, 0 decoder errors
[09:55:04] h264-decoder done: 707 frames, 0 decoder errors
[09:55:04] sync: got 670 frames, 140351 expected
[09:55:04] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:7     Avg QP:10.82  size: 18259
x264 [info]: frame P:185   Avg QP:14.53  size: 14883
x264 [info]: frame B:374   Avg QP:16.35  size:  5700
x264 [info]: consecutive B-frames:  6.7%  8.8% 20.1% 64.3%
x264 [info]: mb I  I16..4: 44.8% 51.8%  3.3%
x264 [info]: mb P  I16..4: 10.6% 22.7%  0.5%  P16..4: 20.2%  3.8%  1.4%  0.0%  0.0%    skip:40.8%
x264 [info]: mb B  I16..4:  2.4%  1.7%  0.0%  B16..8: 21.6%  1.5%  0.1%  direct: 7.8%  skip:64.9%  L0:44.8% L1:51.2% BI: 4.0%
x264 [info]: 8x8 transform intra:61.1% inter:70.2%
x264 [info]: direct mvs  spatial:93.6% temporal:6.4%
x264 [info]: coded y,uvDC,uvAC intra: 9.4% 26.7% 3.8% inter: 2.7% 15.2% 0.1%
x264 [info]: i16 v,h,dc,p: 40% 30%  6% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 12% 34%  3%  3%  3%  3%  3%  3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 27%  5%  7%  5%  5%  3%  4%
x264 [info]: i8c dc,h,v,p: 63% 20% 14%  3%
x264 [info]: Weighted P-Frames: Y:28.1% UV:18.4%
x264 [info]: ref P L0: 66.4% 15.8% 13.8%  3.4%  0.6%  0.0%
x264 [info]: ref B L0: 91.0%  7.7%  1.4%
x264 [info]: ref B L1: 98.1%  1.9%
x264 [info]: kb/s:1698.77
[09:55:05] mux: track 0, 565 frames, 5009708 bytes, 1434.18 kbps, fifo 1024
[09:55:05] mux: track 1, 1308 frames, 742718 bytes, 212.63 kbps, fifo 2048
[09:55:05] Finished work at: Fri Dec 03 09:55:05 2021
[09:55:05] libhb: work result = 1

# Job Cancelled!
Silent_Strider
Enlightened
Posts: 100
Joined: Tue Dec 17, 2019 9:31 pm

Re: Why is my video cropped ?

Post by Silent_Strider »

[09:55:04] sync: got 670 frames, 140351 expected

There seems to be quite something wrong anyway?
xabobe7672
Posts: 16
Joined: Sun Nov 28, 2021 2:32 am

Re: Why is my video cropped ?

Post by xabobe7672 »

Silent_Strider wrote: Fri Dec 03, 2021 4:00 pm [09:55:04] sync: got 670 frames, 140351 expected

There seems to be quite something wrong anyway?
Thankyou for reply. Yes, the new video is not identical to the source. There is still some cropping. I have set all to 0 already.
Silent_Strider
Enlightened
Posts: 100
Joined: Tue Dec 17, 2019 9:31 pm

Re: Why is my video cropped ?

Post by Silent_Strider »

[09:54:56] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1

There's still a cropping happen. Where did you set things to 0? After setting everything to 0 at the dimension tab, did you rechange the "Scaled Size" in the middle? If you click on Optimal Size (in the newest version) the pixel sizes should be set automatically.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Why is my video cropped ?

Post by rollin_eng »

There is no cropping in your second log, why do you think there is?
Deleted User 11865

Re: Why is my video cropped ?

Post by Deleted User 11865 »

Silent_Strider wrote: Fri Dec 03, 2021 4:24 pm [09:54:56] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/100/0, aspect 16:9, PAR 255:254, color profile: 1-1-1

There's still a cropping happen. Where did you set things to 0? After setting everything to 0 at the dimension tab, did you rechange the "Scaled Size" in the middle? If you click on Optimal Size (in the newest version) the pixel sizes should be set automatically.
That's the values detected during scan. Why are you not looking at the job configuration instead?
Silent_Strider
Enlightened
Posts: 100
Joined: Tue Dec 17, 2019 9:31 pm

Re: Why is my video cropped ?

Post by Silent_Strider »

I've been corrected then, sorry for that.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Why is my video cropped ?

Post by mduell »

Autocrop is still doing the same detection, but there's no cropping applied to the above encode:

Code: Select all

  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1040 [SAR 255:254 DAR 3060:1651], SAR 241:240 DAR 241:130, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

[09:54:56]    + filters
[09:54: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)
[09:54:56]      + Decomb (mode=39)
[09:54:56]    + Output geometry
[09:54:56]      + storage dimensions: 1920 x 1040
[09:54:56]      + pixel aspect ratio: 255 : 254
[09:54:56]      + display dimensions: 1927 x 1040
The resolution and anamorphic of the input is the same as the output.
Post Reply