put size. fails
ffmpeg -i red.jpg -vf pad=iw:ih:0:0 pad1.png
# input at bottom right of output. fails
ffmpeg -i red.jpg -vf pad=iw+16:ih+16:ow-iw:oh-ih pad2.png
Ivan
From 52030219e09b5f9611ca6232b1f24197363fc23b Mon Sep 17 00:00:00 2001
From: Ivan Middleton
Date: Sun, 26 Jan 2020 20:25:59 -0700
Hoping someone can review this and apply it if it looks good.
> The pad filter is currently broken for cases where all of the following hold:
>
> (1) chroma subsampling exists (very common),
>
> (2) an input dimension is odd (uncommon), and
>
> (3) the corresponding output dimension is either t