Skip to content

Instantly share code, notes, and snippets.

@clungzta
Last active March 21, 2019 03:34
Show Gist options
  • Save clungzta/bdcf76924db5835f8a00a636d0a0cdab to your computer and use it in GitHub Desktop.
Save clungzta/bdcf76924db5835f8a00a636d0a0cdab to your computer and use it in GitHub Desktop.
Loop a sequence of images into a back and forth with ffmpeg (1080p, high quality output)
ffmpeg -pattern_type glob -i "*.jpg" -filter_complex "[0]reverse[r];[0][r]concat,loop=5:250,setpts=N/25/TB,scale=1920:1080" -vcodec mpeg4 -q:v 1 output_looped.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment