Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1080 MPEG-2 Aspect Ratio Wrong #5658

Open
HrdcorECW1637 opened this issue Jan 4, 2024 · 7 comments
Open

1080 MPEG-2 Aspect Ratio Wrong #5658

HrdcorECW1637 opened this issue Jan 4, 2024 · 7 comments

Comments

@HrdcorECW1637
Copy link

Problem Description

I've been noticing the past couple versions that if I have a file that's 1920x1080 MPEG-2, the aspect ratio shows up in Handbrake as 1.1. It says the storage size is 1920x1080, but the display size is 1080x1080. These files have been ripped from Blus using MakeMKV. It's ONLY for files that are MPEG-2. Don't know if anyone has had this issue as well or if it's me!

Activity Log, Crash Log or any other details

[20:11:45] macgui: Handbrake Version: 1.7.2 (2023122400)
[20:11:45] Compile-time hardening features are enabled
[20:11:45] hb_init: starting libhb thread
[20:12:26] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[20:12:26] CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
[20:12:26]  - Intel microarchitecture Kaby Lake
[20:12:26]  - logical processor count: 16
[20:12:26] hb_scan: path=/Users/luke_mbp19/Desktop/HandBrake Me/HD REDO/Burbs, The (1989) - Workprint.mkv, title_index=0
Input #0, matroska,webm, from '/Users/luke_mbp19/Desktop/HandBrake Me/HD REDO/Burbs, The (1989) - Workprint.mkv':
  Metadata:
    title           : The 'Burbs
    encoder         : libmakemkv v1.17.5 (1.3.10/1.5.2) darwin(x64-release)
    creation_time   : 2023-12-02T05:06:04.000000Z
  Duration: 01:45:57.28, start: 0.000000, bitrate: 12502 kb/s
  Chapters:
    Chapter #0:0: start 0.083417, end 600.683417
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 600.683417, end 1201.283417
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1201.283417, end 1801.883417
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1801.883417, end 2402.483417
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2402.483417, end 3003.083417
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 3003.083417, end 3603.683417
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3603.683417, end 4204.283417
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 4204.283417, end 4804.883417
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 4804.883417, end 5405.483417
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 5405.483417, end 6006.083417
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 6006.083417, end 6357.280000
      Metadata:
        title           : Chapter 11
  Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], SAR 9:16 DAR 1:1, 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      BPS-eng         : 12241762
      DURATION-eng    : 01:45:57.225875000
      NUMBER_OF_FRAMES-eng: 152421
      NUMBER_OF_BYTES-eng: 9727955053
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-12-02 05:06:04
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Side data:
      cpb: bitrate max/min/avg: 25805600/0/0 buffer size: 9781248 vbv_delay: N/A
  Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 256000
      DURATION-eng    : 01:45:57.280000000
      NUMBER_OF_FRAMES-eng: 198665
      NUMBER_OF_BYTES-eng: 203432960
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-12-02 05:06:04
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[20:12:26] scan: decoding previews for title 1
[20:12:26] scan: audio 0x1: ac3, rate=48000Hz, bitrate=256000 English (AC3, 2.0 ch, 256 kbps)
[20:12:27] WARNING: bitstream PAR 1:1 != container PAR 9:16
[20:12:27] using container PAR 9:16
[20:12:27] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/6/6, aspect 1.00:1, PAR 9:16, color profile: 1-1-1, chroma location: left
[20:12:27] libhb: scan thread found 1 valid title(s)
[20:12:27] macgui: ScanCore scan done

What Operating System are you running?

macOS12

What version of HandBrake are you running?

1.7.2

Where did you download HandBrake from?

handbrake.fr

@cubicibo
Copy link

cubicibo commented Jan 4, 2024

1440x1080 storage and 1920x1080 display you mean? The Blu-ray format defines a strict list of compatible storage and display sizes. For 1080p, only 1920 and 1440 are permitted.

@galad87
Copy link
Contributor

galad87 commented Jan 4, 2024

Your file has the PAR 9:16 set in the container, so the end result will be square. The current version of HandBrake prefers container values to bitstream values. You can use mkvtoolninx header editor to fix the PAR.

@HrdcorECW1637
Copy link
Author

It's possible that this is a MakeMKV issue, but I don't know how since it just copies. I'm currently re-ripping my Blus so I can use different HandBrake settings than the first time. The two movies giving me issues are movies I ripped and HandBraked years ago without issue. It's also weird that VLC has no issue playing them back at all. I've attached a screengrab to show you the numbers I'm getting.
BURBS

@galad87
Copy link
Contributor

galad87 commented Jan 4, 2024

MakeMKV sets the pixel aspect ratio in the container when it copies from the m2ts files to a mkv file, and it seems it's setting it wrong. VLC probably ignores the pixel aspect ratio set in the container.

@HrdcorECW1637
Copy link
Author

Thanks! Didn't think about VLC possibly ignoring that. I'll hop on over to the MakeMKV forum and see if anyone's seen this.

@galad87
Copy link
Contributor

galad87 commented Jan 13, 2024

Any joy from the MakeMKV forum?

@HrdcorECW1637
Copy link
Author

HrdcorECW1637 commented Jan 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants