[FFmpeg-user] setdar ratio - syntax

Moritz Barsnick barsnick at gmx.net
Sun Nov 25 14:32:32 EET 2018

On Sun, Nov 25, 2018 at 11:28:32 +0000, Ben Barker wrote:
> However, "setdar=x:y" will not work, though it used to. Doesn't matter -
> it's working now!

>From a quick glance, this commit changed that behavior:


(included from ffmpeg 4.0 onwards).

The (allowed) syntax indeed used to be
$ ffmpeg [...] -vf setdar=dar_num=4:dar_den=3 [...]
which would have corresponded to

(two separate parameters, coincidentally separated by a colon).

But the latter syntax should have given a warning since ffmpeg 2.0.


More information about the ffmpeg-user mailing list