Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ffmpeg -loop 1 -i background.png -i video1.mp4 -i video2.mp4 -filter_complex \
  2. "[1:v]scale=(iw/2)-20:-1[a]; \
  3. [2:v]scale=(iw/2)-20:-1[b]; \
  4. [0:v][a]overlay=10:(main_h/2)-(overlay_h/2):shortest=1[c]; \
  5. [c][b]overlay=main_w-overlay_w-10:(main_h/2)-(overlay_h/2)[video]" \
  6. -map "[video]" output.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement