Display height and width not applying.

MKV playback, recompression, remuxing, codec packs, players, howtos, etc.
Post Reply
crookedmind
Posts: 4
Joined: Wed Aug 02, 2017 10:59 am

Display height and width not applying.

Post by crookedmind »

( changing mkv display doesn't change it )

So, I have this file with the following media info:

Code: Select all

Width                             : 670 pixels
Height                            : 574 pixels
Display aspect ratio               : 5:3
Original display aspect ratio      : 5:3
edit*
These are PAL res which are/are not upscaled.
Last edited by crookedmind on Sun Oct 14, 2018 9:39 pm, edited 1 time in total.
Woodstock
Posts: 9912
Joined: Sun Jul 24, 2011 11:21 pm

Re: Display height and width not applying.

Post by Woodstock »

There are two places in an MKV file that the aspect ratio can be found - one of the headers (which you're trying to edit) and in the video stream itself. They're supposed to match.

Which one is used depends on your player - some read the stream, others look at the header. Which is why they should match....
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging
crookedmind
Posts: 4
Joined: Wed Aug 02, 2017 10:59 am

Re: Display height and width not applying.

Post by crookedmind »

[quote="Woodstock"][/quote]

I'm not sure you understand what I wrote.
Woodstock
Posts: 9912
Joined: Sun Jul 24, 2011 11:21 pm

Re: Display height and width not applying.

Post by Woodstock »

You're editing the header only, correct? Because MakeMKV isn't going to change what's in the video stream, and I don't think mkvtoolnix does that, either.
However, if I edit the headers of something I've encoded, ...
If you're re-encoding the video, then it is important that the encoding program gets the correct aspect ratio. I've found that handbrake gets the correct aspect ratio even when the header value is screwed up, because it reads the video stream. It then sets the header on the output file to match what it encoded.
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging
crookedmind
Posts: 4
Joined: Wed Aug 02, 2017 10:59 am

Re: Display height and width not applying.

Post by crookedmind »

Woodstock wrote:You're editing the header only, correct? Because MakeMKV isn't going to change what's in the video stream, and I don't think mkvtoolnix does that, either.
Last edited by crookedmind on Sun Oct 14, 2018 9:40 pm, edited 1 time in total.
crookedmind
Posts: 4
Joined: Wed Aug 02, 2017 10:59 am

Re: Display height and width not applying.

Post by crookedmind »

Edit*

See first post. You can delete this thread.
Post Reply