Height changes from 480 to 478

Discuss encoding for devices and presets.
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
jmagaram
Posts: 3
Joined: Thu Sep 19, 2019 8:13 pm

Height changes from 480 to 478

Post by jmagaram » Thu Sep 19, 2019 8:27 pm

Description of problem or question:
When I open an old VOB file Handbrake shows the Source size of 720x480 BUT by default recommends a Width of 720 and Height of 478. I find this confusing. I don't want to lose any data. Should I just change the Height to 480? Or is there some smart reason why Handbrake is recommending 478?
Cropping is set to Automatic but if I were to choose Custom, the Top crop is set to 2 and is disabled. I wonder if this is related. If cropping was activated then indeed the output Height would probably be 478 not 480.

Steps to reproduce the problem (If Applicable):
Just open one of my old VOB files. Windows, Adobe Premiere, etc. all see the resolution of these files as 720x480, which is probably correct.



HandBrake version (e.g., 1.0.0):
HandBrake 1.2.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.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Ram: 16308 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 - 23.21.13.9140
  Intel(R) UHD Graphics 620 - 24.20.100.6293
Screen: 2560x1440
Temp Dir: C:\Users\justi\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\justi\AppData\Roaming\HandBrake

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

[13:19:33] hb_init: starting libhb thread

 # Starting Scan ...

[13:19:33] CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
[13:19:33]  - Intel microarchitecture Kaby Lake
[13:19:33]  - logical processor count: 8
[13:19:33] Intel Quick Sync Video support: yes
[13:19:33]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[13:19:33]  - H.264 encoder: yes
[13:19:33]     - preferred implementation: hardware (any) via D3D11
[13:19:33]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:19:33]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:19:33]     - preferred implementation: hardware (any) via D3D11
[13:19:33]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[13:19:33] hb_scan: path=C:\Users\justi\Videos\Mini DV Transfers\Unlabeled 2 Disk 7\VIDEO_TS\VTS_01_1.VOB, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\justi\Videos\Mini DV Transfers\Unlabeled 2 Disk 7\VIDEO_TS\VTS_01_1.VOB
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
[13:19:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[13:19:33] dvd: not a dvd - trying as a stream/file instead
[13:19:33] file is MPEG Program Stream
[13:19:33] Probing 1 unknown stream
[13:19:33]     Probe: Found stream mpegvideo. stream id 0xe0-0x0
[13:19:33] Found the following streams
[13:19:33]     Video Streams :
[13:19:33]       0xe0-0x0 type MPEG2 (0x2)
[13:19:33]     Audio Streams :
[13:19:33]       0xbd-0x80 type AC3 (0x81)
[13:19:33]     Subtitle Streams :
[13:19:33]     Other Streams :
[13:19:33] stream id 0xbd (type 0x81 substream 0x80) audio 0x8000bd
[13:19:33] scan: decoding previews for title 1
[13:19:33] file is MPEG Program Stream
[13:19:33] Probing 1 unknown stream
[13:19:33]     Probe: Found stream mpegvideo. stream id 0xe0-0x0
[13:19:33] scan: audio 0x8000bd: ac3, rate=48000Hz, bitrate=384000 Unknown (AC3) (2.0 ch)
[13:19:34] stream: 40 good frames, 0 errors (0%)
[13:19:34] scan: 10 previews, 720x480, 29.970 fps, autocrop = 2/0/0/0, aspect 16:9, PAR 32:27
[13:19:34] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...

[swscaler @ 0000021362f15fc0] Warning: data is not aligned! This can lead to a speed loss

 # Scan Finished ...



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

Re: Height changes from 480 to 478

Post by Woodstock » Thu Sep 19, 2019 10:03 pm

During the scan, handbrake looked at 40 frames, and found black lines at the top of them. It then cropped the image to remove the black lines.

If you MUST retain the black lines, you can disable auto-crop and set the cropping values to zeros. Handbrake will then encode the black lines into the output.

jmagaram
Posts: 3
Joined: Thu Sep 19, 2019 8:13 pm

Re: Height changes from 480 to 478

Post by jmagaram » Thu Sep 19, 2019 10:44 pm

Wow thanks for that helpful answer. Makes sense! Good to know I can trust the defaults.

Post Reply