Can Not Change Aspect Ratio

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
Aeio
Posts: 2
Joined: Tue Sep 20, 2022 2:40 pm

Can Not Change Aspect Ratio

Post by Aeio »

Description of problem or question:

I am trying to change the aspect ration of a widescreen video that was compressed to 640 x 480 (should be 720 x 480, I think). The settings on the Dimensions Tab do not appear to work as expected.

Steps to reproduce the problem (If Applicable):

No matter what options I choose for Anamorphic, Optimal Size or Allow Upscaling (As well as Final Dimension - Automatic) when I change the Scaled Size height or width it changes the other to maintain the aspect ration. If I change Pixel aspect (by setting Anamorphic to Custom) it just resets to 1 to 1. Maybe something else needs to be modified but I am following instructions from here: https://handbrake.fr/docs/en/1.5.0/adva ... video.html


HandBrake version (e.g., 1.0.0):

Version 1.5.1 (But the same behavior happened on 1.4.1 before I upgraded)


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

macOS Monterey on an M1 MacMini. (I do have an Intel Mac as well, if that is the problem or if I need to run an older version of Handbreak)

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

Code: Select all

[10:50:40] macgui: Handbrake Version: 1.5.1 (2022011000)
[10:50:40] Compile-time hardening features are enabled
[10:50:41] hb_init: starting libhb thread
[10:51:04] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[10:51:04] CPU: 
[10:51:04]  - logical processor count: 8
[10:51:04] hb_scan: path=/Volumes/Video Drive/Working/DVD/Dirty Dancing (1987)/Dirty Dancing (1987) - 640x480.m4v, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/Video Drive/Working/DVD/Dirty Dancing (1987)/Dirty Dancing (1987) - 640x480.m4v
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Volumes/Video Drive/Working/DVD/Dirty Dancing (1987)/Dirty Dancing (1987) - 640x480.m4v/) failed
[10:51:04] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[10:51:04] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Video Drive/Working/DVD/Dirty Dancing (1987)/Dirty Dancing (1987) - 640x480.m4v':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: mp41
    creation_time   : 2022-09-19T01:19:57.000000Z
  Duration: 01:40:23.95, start: 0.000000, bitrate: 2708 kb/s
  Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 2606 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 58 tbc (default)
    Metadata:
      creation_time   : 2022-09-19T01:19:57.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : h264
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2022-09-19T01:19:57.000000Z
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
[10:51:04] scan: decoding previews for title 1
[10:51:04] scan: audio 0x1: aac, rate=44100Hz, bitrate=95962 English (AAC LC) (2.0 ch) (95 kbps)
[10:51:04] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/4, aspect 4:3, PAR 1:1, color profile: 6-1-6, chroma location: left
[10:51:04] libhb: scan thread found 1 valid title(s)
[10:51:04] macgui: ScanCore scan done
[10:51:05] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[10:55:21] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[10:55:28] hb_init: starting libhb thread
[10:55:28] macgui: PreviewCore started encoding preview_temp.mp4
[10:55:28] macgui: PreviewCore with preset Fast 1080p30 (Modified)
[10:55:28] Starting work at: Tue Sep 20 10:55:28 2022

[10:55:28] 1 job(s) to process
[10:55:28] Starting Task: Encoding Pass
[10:55:28] work: only 1 chapter, disabling chapter markers
[10:55:28] job configuration:
[10:55:28]  * source
[10:55:28]    + /Volumes/Video Drive/Working/DVD/Dirty Dancing (1987)/Dirty Dancing (1987) - 640x480.m4v
[10:55:28]    + title 1, start 00:00:0.00 stop 00:00:15.00
[10:55:28]    + container: mov,mp4,m4a,3gp,3g2,mj2
[10:55:28]    + data rate: 2708 kbps
[10:55:28]  * destination
[10:55:28]    + /Volumes/MyMiniDrive/Users/michaelrichie/Library/Containers/fr.handbrake.HandBrake/Data/Library/Application Support/HandBrake//Previews/27445/preview_temp.mp4
[10:55:28]    + container: MPEG-4 (libavformat)
[10:55:28]      + align initial A/V stream timestamps
[10:55:28]  * video track
[10:55:28]    + decoder: h264 8-bit (yuv420p)
[10:55:28]      + bitrate 2606 kbps
[10:55:28]    + filters
[10:55:28]      + 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)
[10:55:28]      + Decomb (mode=39)
[10:55:28]      + Framerate Shaper (mode=2:rate=27000000/900000)
[10:55:28]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[10:55:28]      + Crop and Scale (width=720:height=544:crop-top=0:crop-bottom=0:crop-left=0:crop-right=4)
[10:55:28]        + source: 640 * 480, crop (0/0/0/4): 636 * 480, scale: 720 * 544
[10:55:28]    + Output geometry
[10:55:28]      + storage dimensions: 720 x 544
[10:55:28]      + pixel aspect ratio: 1 : 1
[10:55:28]      + display dimensions: 720 x 544
[10:55:28]    + encoder: H.264 (libx264)
[10:55:28]      + preset:  fast
[10:55:28]      + profile: main
[10:55:28]      + level:   4.0
[10:55:28]      + quality: 22.00 (RF)
[10:55:28]      + color profile: 6-1-6
[10:55:28]      + chroma location: left
[10:55:28]  * audio track 1
[10:55:28]    + decoder: English (AAC LC) (2.0 ch) (95 kbps) (track 1, id 0x1)
[10:55:28]      + bitrate: 95 kbps, samplerate: 44100 Hz
[10:55:28]    + mixdown: Stereo
[10:55:28]    + encoder: AAC (Apple AudioToolbox)
[10:55:28]      + bitrate: 160 kbps, samplerate: 44100 Hz
[10:55:28] sync: expecting 479 video frames
[10:55:28] encx264: min-keyint: 30, keyint: 300
[10:55:28] encx264: encoding at constant RF 22.000000
[10:55:28] 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: ARMv8 NEON
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[10:55:28] sync: first pts video is 0
[10:55:28] sync: "Chapter 1" (1) at frame 1 time 0
[10:55:28] sync: first pts audio 0x1 is 0
[10:55:29] sync: reached audio 0x1 pts 1350008, exiting early
[10:55:29] sync: reached video pts 1351350, exiting early
[10:55:30] work: average encoding speed for job is 0.000000 fps
[10:55:30] comb detect: heavy 108 | light 52 | uncombed 290 | total 450
[10:55:30] decomb: deinterlaced 108 | blended 52 | unfiltered 290 | total 450
[10:55:30] vfr: 450 frames output, 0 dropped and 0 duped for CFR/PFR
[10:55:30] vfr: lost time: 0 (0 frames)
[10:55:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:55:30] aac-decoder done: 1035 frames, 0 decoder errors
[10:55:30] h264-decoder done: 707 frames, 0 decoder errors
[10:55:30] sync: got 450 frames, 479 expected
[10:55:30] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:10    Avg QP:15.61  size:  4229
x264 [info]: frame P:132   Avg QP:17.46  size:  2608
x264 [info]: frame B:308   Avg QP:19.62  size:  1075
x264 [info]: consecutive B-frames:  6.2%  4.9%  8.0% 80.9%
x264 [info]: mb I  I16..4: 93.0%  0.0%  7.0%
x264 [info]: mb P  I16..4: 16.9%  0.0%  2.1%  P16..4: 21.4%  4.4%  2.0%  0.0%  0.0%    skip:53.2%
x264 [info]: mb B  I16..4:  2.2%  0.0%  0.1%  B16..8: 14.5%  2.9%  0.1%  direct: 9.4%  skip:70.9%  L0:44.7% L1:48.9% BI: 6.4%
x264 [info]: coded y,uvDC,uvAC intra: 11.6% 28.3% 6.8% inter: 3.0% 12.1% 0.1%
x264 [info]: i16 v,h,dc,p: 68% 24%  6%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 35% 25%  3%  3% 12%  2%  6%  1%
x264 [info]: i8c dc,h,v,p: 71% 15% 13%  1%
x264 [info]: Weighted P-Frames: Y:9.8% UV:5.3%
x264 [info]: ref P L0: 62.4% 37.6%
x264 [info]: ref B L0: 80.9% 19.1%
x264 [info]: ref B L1: 94.8%  5.2%
x264 [info]: kb/s:382.41
[10:55:30] mux: track 0, 450 frames, 717576 bytes, 381.48 kbps, fifo 512
[10:55:30] mux: track 1, 649 frames, 191380 bytes, 101.74 kbps, fifo 1024
[10:55:30] Finished work at: Tue Sep 20 10:55:30 2022

[10:55:30] libhb: work result = 0
[10:55:30] macgui: PreviewCore work done
[10:56:01] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
User avatar
Ritsuka
HandBrake Team
Posts: 1426
Joined: Fri Jan 12, 2007 11:29 am

Re: Can Not Change Aspect Ratio

Post by Ritsuka »

640x480 is the right size for a 4:3 dvd, but if it needs to be 16:9 then you should uncheck the "automatic" checkbox in "Final dimension" section and set the display width to 853 or something similar.
Aeio
Posts: 2
Joined: Tue Sep 20, 2022 2:40 pm

Re: Can Not Change Aspect Ratio

Post by Aeio »

I thought I had tried that before. But just now with Anamorphic set to Custom, Allow Upscaling checked and Optimal Size unchecked I can change the width value (height is grayed) and I was able to convert the file. However, I think the documentation is unclear and no amount of settings allow you to change the Scaled Size or Pixel Aspect setting and not have the aspect the same. Regardless, thank you for your help and I am a Happy Camper ;>{)
Post Reply