1

I am using the following command to marge 2 videos side by side.

ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v:0]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w" output.mp4

How I can give a 10px white border or space (horizontaly) in between two videos?

1 Answer 1

3

enter image description here
Example with 10 pixel white padding separating the overlay. (Click for better view.)

"[0:v:0]pad=(iw*2)+10:ih:color=white[bg]; [bg][1:v:0]overlay=w+10"
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .