Skip to content

Instantly share code, notes, and snippets.

@vene
Created June 17, 2020 16:21
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 vene/513aba3070c0ea695fbb5028f2381184 to your computer and use it in GitHub Desktop.
Save vene/513aba3070c0ea695fbb5028f2381184 to your computer and use it in GitHub Desktop.
merge slideslive
ffmpeg \
-i slideslive-recorder_[...].364Z_user.webm \
-i slideslive-recorder_[...].364Z_display.webm \
-filter_complex \
'[0:v]scale=640:360,pad=640:720[left];[1:v]crop=1680:945:0:0,scale=1280:720[right];[left][right]hstack[v]' \
-map [v] \
-map 0:a \
-c:v libx264 \
-preset veryslow \
-crf 18 \
-c:a copy -strict -2 \
output.mp4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment