Source dimensions of video wrong

HandBrake for Mac 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
irax
Posts: 2
Joined: Tue Apr 10, 2018 7:43 pm

Source dimensions of video wrong

Post by irax »

Description of problem or question:

Hello — I have a 375 x 667 px MOV and upon importing into Handbrake, it shows the Source as 374 x 666. I have no idea why it's off by 1px on both sides. I have actually made a series of videos in Principle of my interaction work and the 375 x 667 is the iPhone screen.

Activity Log code is below. I can see both sets of dimensions in there.



Steps to reproduce the problem (If Applicable):

Create source MOV video at 375 x 667. Click "Open Source" in Handbrake, and choose MOV video. Then click "Picture" tab and see "Source".

I also tried a custom screen capture of the screen in Principle set to an area of exactly 375 x 667 and still the same issue.

It's interesting to note that I have desktop screens as well, which are 1800 x 1100 and upon import, they are correctly shown as 1800 x 1100 as the "Source".



HandBrake version (e.g., 1.0.0):

1.0.7


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Mac Sierra 10.12.6



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[15:57:24] macgui: Handbrake Version: 1.0.7  (2017040900)
[15:57:24] hb_init: starting libhb thread
[15:57:24] hb_init: starting libhb thread
[15:57:37] macgui: trying to open a folder or file
[15:57:37] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[15:57:37] CPU: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
[15:57:37]  - Intel microarchitecture Haswell
[15:57:37]  - logical processor count: 4
[15:57:37] hb_scan: path=/Users/ira/Dropbox (Ira)/Dropbox (Personal)/PROJECTS/IRABRONSON/-2018/designs-prototypes/endeavor/carson-phone-1.mov, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/ira/Dropbox (Ira)/Dropbox (Personal)/PROJECTS/IRABRONSON/-2018/designs-prototypes/endeavor/carson-phone-1.mov
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[15:57:37] 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
[15:57:37] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ira/Dropbox (Ira)/Dropbox (Personal)/PROJECTS/IRABRONSON/-2018/designs-prototypes/endeavor/carson-phone-1.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2018-04-10 18:57:01
  Duration: 00:00:08.95, start: -1.000000, bitrate: 3258 kb/s
    Stream #0:0(und): Video: h264 (Main) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      375x667 [PAR 1:1 DAR 375:667], 3231 kb/s, PAR 1:1 DAR 375:667
      60 fps, 6k tbn (default)
    Metadata:
      creation_time   : 2018-04-10 18:57:01
      handler_name    : Core Media Data Handler
      encoder         : H.264
[15:57:37] scan: decoding previews for title 1
error: avformat_seek_file failed
[15:57:37] scan: 10 previews, 374x666, 60.000 fps, autocrop = 0/0/0/0, aspect 1:1.78, PAR 1:1
[15:57:37] libhb: scan thread found 1 valid title(s)
[15:57:37] macgui: ScanCore scan done
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Source dimensions of video wrong

Post by Woodstock »

Odd dimensions don't work in handbrake. They're going to be "corrected" to even dimensions.
irax
Posts: 2
Joined: Tue Apr 10, 2018 7:43 pm

Re: Source dimensions of video wrong

Post by irax »

Wow that's crazy. Good to know. Luckily you can change all artboards at once in Principle which are just containers so I can easily make the MOVs at 374 x 666.

Thank you the quick response!!!
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Source dimensions of video wrong

Post by mduell »

Is your source YUV 4:2:0? Your output will be, which needs even dimensions.
Deleted User 13735

Re: Source dimensions of video wrong

Post by Deleted User 13735 »

No it's not weird. Modulus 2 is a godsend for us old timers who had only mod 4 and mod 8 to work with back when.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Source dimensions of video wrong

Post by BradleyS »

@musicvid You’re welcome. :P

(I was the one who implemented mod < 16 in HandBrake ages ago.)
Post Reply