How to rescale input video then scale and overlay watermark with Ffmpeg?
I've tried both these commands and they don't work. Can someone help me with the process?
-vf \"movie={watermarkPath}[watermark]; [in] scale=720:-1 [scale]; [scale] [watermark] overlay=main_w-overlay_w-10:10 \"
-filter_complex \"[0:v]scale={wm.Item3}:{wm.Item4}[bg];[bg][1:v]movie='{watermarkPath}'[wm];[wm][0] scale2ref={wm.Item1}:{wm.Item2}[wm] [v];[wm] setsar=1[logo];[v] [logo] overlay=main_w-overlay_w-10:10\"