Skip to content

Instantly share code, notes, and snippets.

@henriquegogo
Created September 11, 2017 03:10
Show Gist options
  • Save henriquegogo/5ccd28e0e695900c349b80ae0e0891bf to your computer and use it in GitHub Desktop.
Save henriquegogo/5ccd28e0e695900c349b80ae0e0891bf to your computer and use it in GitHub Desktop.
How to edit video (merging into video grid) using ffmpeg command line
ffmpeg \
-ss 00:00:00.537 -i "GUITARRA HUMANA (Na Gaita - Sanfona) - Bruna Scopel.mp4" \
-ss 00:00:14.456 -i "Guitarra Humana vs Contrabaixo no Forró.mp4" \
-ss 00:00:00.164 -i "Guitarra humana - Veja como fica na guitarra de VERDADE kkkkkkkk.mp4" \
-ss 00:00:00.433 -i "TOCA A PISADINHA 'BOKA ESTÚDIO'.mp4" \
\
-filter_complex \
"[0:v][1:v]hstack[t]; \
[2:v][3:v]hstack[b]; \
[t][b]vstack[v]; \
[0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \
-map "[v]" -map "[a]" -ac 2 -shortest \
\
pisadinha.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment