I'm trying to scale a video, and then apply an overlay keeping the aspect ration of the same.
This adds the overlay, but it stretches it to the same aspect ratio of the video which is what I'm trying to avoid:
ffmpeg -y -i video.mov -i watermark.png -filter_complex "scale=-1:1280:flags=bicubic,overlay=(main_w-overlay_w)/2:main_h-overlay_h" -crf 0 -preset ultrafast -c:v mpeg4 -qscale:v 10 -c:a: copy out.mp4
Any help will be truly appreciated!