I'm new to using ffmpeg and I want to combine two 1920x1080 videos using hstack. The output video also needs to be 1920x1080. At the same time I want to display a watermark at the bottom of the screen (outside the video area) and one in the top middle of the screen.
So far i managed to make an hstack with padding but the watermark won't display outside the video area.
Here is my first attempt:
ffmpeg -y -i input1.mp4 -i input2.mp4 -i watermark1.png -filter_complex "[0]pad=iw+5:color=black[left];[left][1]hstack=inputs=2","overlay=x=(main_w-overlay_w)*0.95:y=(main_h-overlay_h)*0.95","scale=w=1920:h=1080" Output.mp4
Here is a comparison of what i get and what i want:
Any help regarding my problem would be very much appreciated!