Advertisement
Guest User

ffmpeg No such filter woes

a guest
Jun 4th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.73 KB | None | 0 0
  1. /opt/local/bin/ffmpeg -i one.flv -i two.flv -i one.jpg -i two.jpg -filter_complex "
  2.    [0:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:0:0' [left_video];
  3.    [1:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:240:0' [right_video];
  4.    [left_video] [right_video] overlay [videos];
  5.    
  6.    [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
  7.    [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
  8.    [left_avatar] [right_avatar] overlay [avatars];
  9.    
  10.    [avatars] [videos] overlay [video];
  11.    
  12.    [0:1] [1:1] amerge;
  13.    " -acodec libfaac -ac 2 -vcodec libx264 -r 15 "$5"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement