[FFmpeg-user] Marge 2 videos (side by side)

Masud Rana masud.indeed at gmail.com
Thu Nov 26 21:34:38 CET 2015

Dear support,
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"

Now my question is, how i can give a 10px white border or
space(horizontaly) in between 2 videos?

Please help me, would be appreciated.

*Best Regards,*

*Masud Rana*

More information about the ffmpeg-user mailing list