Skip to content

Instantly share code, notes, and snippets.

@benlansdell
Created March 27, 2017 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benlansdell/5c0443ee017cd6d67d7074ca271a51bc to your computer and use it in GitHub Desktop.
Save benlansdell/5c0443ee017cd6d67d7074ca271a51bc to your computer and use it in GitHub Desktop.
#Combine into montage 4 videos
avconv -i octopus_resize.mp4 -i jellyfish_nosound_resize.mp4 -i monkeytool.mp4 -i celegans_resize.mp4 -filter_complex \
'[0:v]pad=iw*2:ih*2:0:0[int2];[int2][1:v]overlay=0:H/2[int3];[int3][2:v]overlay=W/2:0[int4];[int4][3:v]overlay=W/2:H/2[out]' \
-map [out] -an -c:v libx264 -crf 23 -preset veryfast nervous_noaudio.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment