Is there any way to tell ffmpeg to preserve the aspect ratio when resizing a video by adding padding in the shorter dimension? I know that I can do it by manually adding the proper amount of padding, but I am converting many videos of arbitrary sizes, and I cannot do each one manually. I read somewhere that the -s option used to do this, but it does not any more. To clarify, I am not looking to fix the height and let the width be whatever it needs to be to preserve the ratio (as I have seen in other questions).
I havent used this command in a while so YMMV.