Im trying to scale a video so that it is always 512 wide where the height changes in proportion to the original video. Once scaled, I then want to apply a watermark/overlay
From what I understand, this might work:
-vf "movie=watermark.png [watermark]; [in] scale=512:-1,[watermark] overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 [out]"
You apply the scale filter to the input "[in]".
Unfortunately I don't have much experience with the filters on ffmpeg so I can't help further. Sorry