Author Topic: Display Aspect Ratio - If and how to set  (Read 915 times)

fish

  • Full Member
  • ***
  • Posts: 114
Re: Display Aspect Ratio - If and how to set
« Reply #15 on: January 14, 2019, 01:15:19 AM »
Your cropped example demonstrates why a custom setting is needed when the video is not a standard size. If the video is encoded as PAL or NTSC the pixels are non square, unlike HD video which uses square pixels. So if you crop PAL or NTSC encoded video, so that the frame height to width ratio is changed, then the standard multiples such as in Avidemux no longer give the expected results. If I remember NTSC encoded pixels are taller than they are wide, PAL wider than they are tall, HD video uses square pixels as do computer monitors. So it is not that "This DAR thing seems to be a little ... "delicate".", it is just that there are complications due to older legacy formats used in DVD's and PAL/NTSC television formats. Sorry it is not all simple, I notice even the television professionals occasionally get it wrong when mixing old footage with new.
« Last Edit: January 14, 2019, 01:17:40 AM by fish »

guju

  • Newbie
  • *
  • Posts: 38
Re: Display Aspect Ratio - If and how to set
« Reply #16 on: January 14, 2019, 09:34:05 AM »
Thank you.
Being a simple user I still hadn't the right notion of DAR.
There seem to be a lot of pitfalls one is not aware of
- even if being fallen in.
Of course Avidemux can't be blamed for that. It gives you
full freedom (= responsibility).
Still - as said - this situation will lead to worsening quality
(by the simple user, and occational even by profs).

I well understand that the devs of Avidemux have enough other
things to do, still I think a way would be to have something
like a "check option", that tests "unusual" settings.
(DAR, interlace, ...). Just an idea.
But maybe this is like asking for a navigation assistant ...
in a racing car?

... in case of cropping with DAR - a "preserve AR" option
in the filter GUI would be helpful.

Still there remains the question about interlacing (Your Post #11).
Are standard DVDs progressive although declared as interlaced?

guju

  • Newbie
  • *
  • Posts: 38
Re: Display Aspect Ratio - If and how to set
« Reply #17 on: January 14, 2019, 04:27:15 PM »
Short addendum:

If I deinterlace the movie (before AR-cropping and compressing)
the result is worse than without deinterlacing.
Although der source stream (orig from DVD) is marked as interlaced.
("What's your name?" "It is Strange" " ..."  :P)

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 2729
Re: Display Aspect Ratio - If and how to set
« Reply #18 on: January 14, 2019, 05:21:44 PM »
Quote from: guju
Croping my orig video from above to 698x448.

Don't do that. At least don't use values which are not a multiple of 16 (at worst: 8 ).

Quote from: guju
MKV output DAR 4:3.
=> Too small in width.

The logic in the MKV muxer takes the height of the picture and calculates width for the specified DAR. To keep desired pixel aspect ratio instead, you have to multiply your cropped width (698) with 16/15 with makes approx. 745 which you should enter into the field "Force display width".

Quote from: fish
Your cropped example demonstrates why a custom setting is needed when the video is not a standard size.

This custom setting for the MKV muxer is present and precedes the DAR selector by years. It is absent in the MP4 muxer.

Quote from: guju
If I deinterlace the movie (before AR-cropping and compressing) the result is worse than without deinterlacing.

Sure, but if you have already visually confirmed that video is not interlaced, what is the point to try it nevertheless?

Quote from: guju
But maybe this is like asking for a navigation assistant ...
in a racing car?

Rather electric windows in a bicycle. Look, Avidemux is what you make out of it. The source code is open, quality contributions are welcome. Make your hands dirty, reshape things.

guju

  • Newbie
  • *
  • Posts: 38
Re: Display Aspect Ratio - If and how to set
« Reply #19 on: January 14, 2019, 06:43:05 PM »

Quote from: guju
If I deinterlace the movie (before AR-cropping and compressing) the result is worse than without deinterlacing.

Sure, but if you have already visually confirmed that video is not interlaced, what is the point to try it nevertheless?

The point is ...
as I stated before in this thread, that the movie is marked as interlaced.
And so "someone" will pay attention to that (Player, decoder, ...)
and deinterlace it (Actually it looks like MPC-HC produces a worse image
playing the original (!) stream than the non-deinterlaced movie produced by Avidemux).
And we're talking about a standard commercial DVD (???).

"It looks like" - I'm not sure.
And I find it quite time observing to manually find out for every movie
one handles if interlace is set correctly.
That's the reason why I asked about motion vectors etc.


Quote from: guju
But maybe this is like asking for a navigation assistant ...
in a racing car?

Rather electric windows in a bicycle. Look, Avidemux is what you make out of it. The source code is open, quality contributions are welcome. Make your hands dirty, reshape things.

... Thankyou for your invitation.  ;)
I hope you don't take it as a pretext, if I tell you,
that I take Avidemux as a tool to "make my hands dirty" on my things.
It's not my thing to work on the tool itself.
My contribution is to give a feedback/ hopefully unobtrusive hints
of a newbie.

So I disagree with your metaphor.
A bicycle without electric windows does no harm.
In contrast to a racing car without knowing how to deal with it.
It might well be possible that the majority of the Avidemux
produces films are bad in quality because most of the users
don't know about the pitfalls, two of them we are discussing
(DAR, interlacing).

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 2729
Re: Display Aspect Ratio - If and how to set
« Reply #20 on: January 15, 2019, 12:26:58 AM »
Don't rely on interlace flag or absence thereof. Trust your eyes. It takes a few seconds with Avidemux to tell whether a video is interlaced or not, not more.

Quote from: guju
I hope you don't take it as a pretext, if I tell you,
that I take Avidemux as a tool to "make my hands dirty" on my things.
It's not my thing to work on the tool itself.
My contribution is to give a feedback/ hopefully unobtrusive hints
of a newbie.

This was exactly my attitude back then, two and a half years ago.

Quote
It might well be possible that the majority of the Avidemux
produces films are bad in quality because most of the users
don't know about the pitfalls, two of them we are discussing
(DAR, interlacing).

But now you are able to handle the tool better, aren't you? If you have a vision of helping others to get the best out of Avidemux, make it happen.

guju

  • Newbie
  • *
  • Posts: 38
Re: Display Aspect Ratio - If and how to set
« Reply #21 on: January 15, 2019, 10:36:45 AM »
Again: Thank you  :)

Well, knowbody knows what will be in the future  ;)
If I ever would contribute in Avidemux dev, I would pave it with checks/ warnings/ hints
(in the "standard user mode") if there are some suspicious settings,
or something could be made better etc.

You are right, I (!) can handle the tool better now/ know something more
(thanks to the contributers of this thread).
But this is only "by chance".
I assume that there is so much more I still do bad, because I don't know about*.
And I think most of the Avidemux' users don't take as much time as I do,
because they just want to have results, quickly.

* Small example I just stumbled about (by chance!).
It makes a great difference in quality which kind of renderer one chooses in MPC-HC.
And depending on that choice, the renderer uses Intel's graphic driver's settings or not
(which - BY DEFAULT - do smoothing, blocking, color changing. They call it "enhancement").
I just discovered that by chance, with the thorough inspection concerning this thread.
I changed the HW about a year ago, not consciously noticing since then.
This-is-mad.

fish

  • Full Member
  • ***
  • Posts: 114
Re: Display Aspect Ratio - If and how to set
« Reply #22 on: January 15, 2019, 03:04:10 PM »
If you tell us what you hope to achieve it might be easier to trying to help. One thing you should give up on is trying to make the quality of the video 'better' than the original. You can alter the look to suit different playback methods but the original will always be the best quality.
What age is the DVD? Do you have a specific reason for cropping the video from the standard height/width ratio? 
« Last Edit: January 15, 2019, 03:14:10 PM by fish »