Avidemux Forum

Participate => User interface and Usability => Topic started by: guju on September 26, 2025, 07:12:52 PM

Title: Allow arbitrary DAR for containers
Post by: guju on September 26, 2025, 07:12:52 PM
See https://avidemux.org/smif/index.php?msg=98289 (https://avidemux.org/smif/index.php?msg=98289)

DAR:
Some typical values,
arbitrary value,
"keep" (orig DAR).
Title: Re: Allow arbitrary DAR for containers
Post by: therube on August 12, 2026, 05:04:14 PM
Well you can do that, in a round about way - perhaps*.

*Perhaps, depending on Output Format.  Like mp4, mkv, but not flv...


Output Format
Configure -> Force aspect ratio --> Derived from display width


At that point, you need to set the Display Width to a number that "works".

In a recent video, output A/R was coming out wrong, & that had to do with the (oh, I'll probably get the terminology wrong, but...) DAR.
The DAR was weird.  So I took the expected Display Width, then divided that by the DAR (as reported by MediaInfo).

(I think that was the deal.)

So lets say Media Info showed DAR to be 1.3 (non-square pixels or whatnot).
So I took the expected Display Width, say 480, then divided that by 1.3, & used that value, 369, as the Display Width setting in Avidemux.

With that the output file A/R was as wanted (or at least close enough, given rounding).


(Again, I may have terminology wrong, or my numbers could be wrong, but the basic premise did work out.)

Title: Re: Allow arbitrary DAR for containers
Post by: therube on August 12, 2026, 05:07:09 PM
And in that respect, I was thinking of a setting in Avidemux, something like:

Derived from display width, adjust by DAR

That would go out, see that non-square pixels exist, & do the computation automatically...
Title: Re: Allow arbitrary DAR for containers
Post by: therube on August 13, 2026, 04:09:46 PM
Above, I believe I meant to say, "PAR", Pixel Aspect Ratio.

so (something more along the lines of) ...

So lets say Media Info showed ...PAR... to be 1.3 (non-square pixels or whatnot).

Derived from display width, adjust by ...PAR...