Skip to content

Instantly share code, notes, and snippets.

@mvasilenko
Created October 17, 2024 15:51
Show Gist options
  • Save mvasilenko/04634a031bf7f94dc6c356ff11ea2607 to your computer and use it in GitHub Desktop.
Save mvasilenko/04634a031bf7f94dc6c356ff11ea2607 to your computer and use it in GitHub Desktop.
create movie from multiple jpg pictures with rotation clockwise and x264 encoding for instagram
ffmpeg -pattern_type glob -i '*.jpg' -filter_complex "[0:v]transpose=1,crop=1280:1280:0:0[v]" \
-map "[v]" -c:v libx264 -r 30 -crf 23 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72:ref=4 output.mp4 -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment