[Invalid] Video cropped is greater then the same Video not cropped

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
HBGT
Posts: 22
Joined: Tue Mar 21, 2017 11:51 am

[Invalid] Video cropped is greater then the same Video not cropped

Post by HBGT »

I wrote into 'windows community support' but after 3 week and 440 views nobody answered.

This is the Scenario:
S0 - Handbrake 10.3 64bit - W10 pro 64bit - Intel I3 graphic HD4000
S1 - created a video test from Star Trek XI blu-ray (DVDFAB mkv passthrough 1920x1080 size:157MB length:30 seconds, bitare:37,0Mb/s).
S2 - compressed whit RF16 and options "ref=4:bframes=12:b-adapt=2:direct=auto:b-pyramid=strict:me=umh:subme=10:merange=64:trellis=2:aq-strength=2.0:psy-rd=0.2,0.00:no-dct-decimate=1:deblock=1,-1". Result : 1920x1080 size:133MB bitrate:36,0Mb/s
S3 - compressed whit RF16 , crop '0,140,140,0' and the options like S2. Result : 1920x800 size:156MB bitrate:39,4Mb/s.

Questions:
Q1 - same input, same option, result: cropped (S3) is greater then no-cropped (S2). It's a bug or my error?

Thanks for your help.

Log cropped phase:

Code: Select all

HandBrake 1.0.3 (2017022500) - 64bit
OS: Microsoft Windows NT 10.0.14393.0 - 64bit
CPU: Intel(R) Core(TM) i3-3225 CPU @ 3.30GHz
Ram: 7890 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.4425
Screen: 1280x800
Temp Dir: C:\Users\Gualtiero\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Gualtiero\AppData\Roaming\HandBrake Team\HandBrake\1.0.3.0

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


# Starting Encode ...

[08:48:23] hb_init: starting libhb thread
[08:48:23] 1 job(s) to process
[08:48:23] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "(01)00:00:00:000"
      },
      {
        "Name": "(02)00:11:57:216"
      },
      {
        "Name": "(03)00:19:45:100"
      },
      {
        "Name": "(04)00:28:09:104"
      },
      {
        "Name": "(05)00:35:33:506"
      },
      {
        "Name": "(06)00:44:10:397"
      },
      {
        "Name": "(07)00:52:21:721"
      },
      {
        "Name": "(08)01:01:33:606"
      },
      {
        "Name": "(09)01:11:40:087"
      },
      {
        "Name": "(10)01:20:39:501"
      },
      {
        "Name": "(11)01:27:35:291"
      },
      {
        "Name": "(12)01:36:29:575"
      },
      {
        "Name": "(13)01:44:34:268"
      },
      {
        "Name": "(14)01:53:13:411"
      },
      {
        "Name": "(15)01:58:20:551"
      },
      {
        "Name": "(16)02:06:50:019"
      }
    ],
    "ChapterMarkers": true,
    "File": "E:\\Video\\Star Trek XI.hb01crop.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "140",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "140",
          "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": 16
    },
    "Title": 1,
    "Path": "E:\\Video\\Star Trek XI.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1
      }
    ]
  },
  "Video": {
    "Encoder": 65536,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=4:bframes=12:b-adapt=2:direct=auto:b-pyramid=strict:me=umh:subme=10:merange=64:trellis=2:aq-strength=2.0:psy-rd=0.2,0.00:no-dct-decimate=1:deblock=1,-1",
    "Quality": 16.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[08:48:23] CPU: Intel(R) Core(TM) i3-3225 CPU @ 3.30GHz
[08:48:23]  - Intel microarchitecture Ivy Bridge
[08:48:23]  - logical processor count: 4
[08:48:23] Intel Quick Sync Video support: yes
[08:48:23]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[08:48:23]  - H.264 encoder: yes
[08:48:23]     - preferred implementation: hardware (any)
[08:48:23]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[08:48:23]  - H.265 encoder: no
[08:48:23] hb_scan: path=E:\Video\Star Trek XI.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image E:\Video\Star Trek XI.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[08:48:23] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[08:48:23] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\Video\Star Trek XI.mkv':
  Metadata:
    title           : Star Trek XI
  Duration: 00:00:34.82, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 34.826458
    Metadata:
      title           : (01)00:00:00:000
    Chapter #0:1: start 717.216000, end 34.826458
    Metadata:
      title           : (02)00:11:57:216
    Chapter #0:2: start 1185.099000, end 34.826458
    Metadata:
      title           : (03)00:19:45:100
    Chapter #0:3: start 1689.104000, end 34.826458
    Metadata:
      title           : (04)00:28:09:104
    Chapter #0:4: start 2133.506000, end 34.826458
    Metadata:
      title           : (05)00:35:33:506
    Chapter #0:5: start 2650.397000, end 34.826458
    Metadata:
      title           : (06)00:44:10:397
    Chapter #0:6: start 3141.721000, end 34.826458
    Metadata:
      title           : (07)00:52:21:721
    Chapter #0:7: start 3693.606000, end 34.826458
    Metadata:
      title           : (08)01:01:33:606
    Chapter #0:8: start 4300.087000, end 34.826458
    Metadata:
      title           : (09)01:11:40:087
    Chapter #0:9: start 4839.501000, end 34.826458
    Metadata:
      title           : (10)01:20:39:501
    Chapter #0:10: start 5255.291000, end 34.826458
    Metadata:
      title           : (11)01:27:35:291
    Chapter #0:11: start 5789.575000, end 34.826458
    Metadata:
      title           : (12)01:36:29:575
    Chapter #0:12: start 6274.268000, end 34.826458
    Metadata:
      title           : (13)01:44:34:268
    Chapter #0:13: start 6793.411000, end 34.826458
    Metadata:
      title           : (14)01:53:13:411
    Chapter #0:14: start 7100.551000, end 34.826458
    Metadata:
      title           : (15)01:58:20:551
    Chapter #0:15: start 7610.019000, end 34.826458
    Metadata:
      title           : (16)02:06:50:019
    Stream #0:0: Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 48003.07 tbn (default)
    Stream #0:1(eng): Audio: truehd
      48000 Hz, 5.1, s32 (default)
    Stream #0:2(ita): Subtitle: dvd_subtitle (default)
    Stream #0:3(ita): Subtitle: dvd_subtitle
[08:48:23] scan: decoding previews for title 1
[08:48:23] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (5.1 ch)
[08:48:25] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[08:48:25] scan: supported video decoders: avcodec qsv
[08:48:25] libhb: scan thread found 1 valid title(s)
[08:48:25] starting job
[08:48:25] work: track 1, dithering not supported by codec
[08:48:25] job configuration:
[08:48:25]  * source
[08:48:25]    + E:\Video\Star Trek XI.mkv
[08:48:25]    + title 1, chapter(s) 1 to 16
[08:48:25]    + container: matroska,webm
[08:48:25]  * destination
[08:48:25]    + E:\Video\Star Trek XI.hb01crop.mkv
[08:48:25]    + container: Matroska (libavformat)
[08:48:25]      + chapter markers
[08:48:25]  * video track
[08:48:25]    + decoder: h264
[08:48:25]    + filters
[08:48:25]      + Framerate Shaper (mode=0)
[08:48:25]        + frame rate: same as source (around 23.976 fps)
[08:48:25]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[08:48:25]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[08:48:25]    + Output geometry
[08:48:25]      + storage dimensions: 1920 x 800
[08:48:25]      + pixel aspect ratio: 1 : 1
[08:48:25]      + display dimensions: 1920 x 800
[08:48:25]    + encoder: H.264 (libx264)
[08:48:25]      + options: ref=4:bframes=12:b-adapt=2:direct=auto:b-pyramid=strict:me=umh:subme=10:merange=64:trellis=2:aq-strength=2.0:psy-rd=0.2,0.00:no-dct-decimate=1:deblock=1,-1
[08:48:25]      + quality: 16.00 (RF)
[08:48:25]  * subtitle track 1, Italian (track 0, id 0x2) Picture [VOBSUB] -> Passthrough
[08:48:25]  * subtitle track 2, Italian (track 1, id 0x3) Picture [VOBSUB] -> Passthrough
[08:48:25]  * audio track 1
[08:48:25]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[08:48:25]      + samplerate: 48000 Hz
[08:48:25]    + mixdown: Dolby Pro Logic II
[08:48:25]    + encoder: AAC (libavcodec)
[08:48:25]      + bitrate: 160 kbps, samplerate: 48000 Hz
[08:48:25] sync: expecting 834 video frames
[08:48:25] encx264: min-keyint: 24, keyint: 240
[08:48:25] encx264: encoding at constant RF 16.000000
[08:48:25] encx264: unparsed options: ref=4:bframes=12:dct-decimate=0:b-adapt=2:merange=64:direct=auto:b-pyramid=strict:me=umh:subme=10:trellis=2:aq-strength=2:psy-rd=0.2,0:deblock=1,-1
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0
[08:48:25] sync: first pts audio 0x1 is 0
[08:48:26] sync: first pts video is 7507
[08:48:26] sync: "(01)00:00:00:000" (1) at frame 1 time 7507
[08:54:36] reader: done. 1 scr changes
[08:56:00] work: average encoding speed for job is 2.021512 fps
[08:56:00] vfr: lost time: 0 (0 frames)
[08:56:00] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:56:01] truehd-decoder done: 41742 frames, 0 decoder errors
[08:56:01] h264-decoder done: 833 frames, 0 decoder errors
[08:56:01] sync: got 833 frames, 834 expected
[08:56:01] sync: framerate min 23.968 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:4     Avg QP:11.62  size:267016
x264 [info]: frame P:242   Avg QP:13.80  size:196159
x264 [info]: frame B:587   Avg QP:13.84  size:188590
x264 [info]: consecutive B-frames:  5.6%  7.2% 22.0% 19.2% 16.2% 28.1%  1.7%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
x264 [info]: mb I  I16..4: 56.5% 19.3% 24.1%
x264 [info]: mb P  I16..4: 51.3% 25.2% 18.8%  P16..4:  2.3%  1.9%  0.4%  0.0%  0.0%    skip: 0.1%
x264 [info]: mb B  I16..4: 48.9% 12.3% 15.8%  B16..8:  9.2%  6.5%  1.8%  direct: 4.1%  skip: 1.3%  L0:40.9% L1:31.5% BI:27.7%
x264 [info]: 8x8 transform intra:19.5% inter:42.5%
x264 [info]: direct mvs  spatial:99.5% temporal:0.5%
x264 [info]: coded y,uvDC,uvAC intra: 98.7% 88.1% 81.2% inter: 75.9% 45.7% 19.1%
x264 [info]: i16 v,h,dc,p:  3%  2% 76% 19%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 27%  6%  7%  6%  7%  8%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 26%  6%  7%  6%  6%  6%  8%
x264 [info]: i8c dc,h,v,p: 64% 13% 15%  8%
x264 [info]: Weighted P-Frames: Y:2.1% UV:2.1%
x264 [info]: ref P L0: 67.5% 16.4% 14.8%  1.4%
x264 [info]: ref B L0: 92.8%  7.2%
x264 [info]: ref B L1: 97.4%  2.6%
x264 [info]: kb/s:36667.04
[08:56:01] mux: track 0, 833 frames, 159240362 bytes, 36579.17 kbps, fifo 128
[08:56:01] mux: track 1, 1631 frames, 697105 bytes, 160.13 kbps, fifo 512
[08:56:01] mux: track 2, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[08:56:01] mux: track 3, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[08:56:01] libhb: work result = 0

# Encode Completed ...


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

Re: Video cropped is greater then the same Video not cropped

Post by rollin_eng »

Can you post your log for both encodes, thanks.

HBGT
Posts: 22
Joined: Tue Mar 21, 2017 11:51 am

Re: Video cropped is greater then the same Video not cropped

Post by HBGT »

Hi Rolling_Eng,

I have answered your question in 'windows community support' (topic 'Video h264 cropped is greater then the same Video not cropped').
You prefer that I answer in this forum?

thanks

Woodstock
Veteran User
Posts: 3680
Joined: Tue Aug 27, 2013 6:39 am

Re: Video cropped is greater then the same Video not cropped

Post by Woodstock »

It is best to keep ONE topic when you're continuing to supply information to the same problem.

HBGT
Posts: 22
Joined: Tue Mar 21, 2017 11:51 am

Re: Video cropped is greater then the same Video not cropped

Post by HBGT »

I agree.
I consider this topic closed.
Who wants to follow the discussion this is the correct link: viewtopic.php?f=11&t=36153
thanks.

Post Reply