Skip to content

Instantly share code, notes, and snippets.

@azureru
Last active November 9, 2017 09:54
Show Gist options
  • Save azureru/2b9b23819bc0c4898091ad0743a7374c to your computer and use it in GitHub Desktop.
Save azureru/2b9b23819bc0c4898091ad0743a7374c to your computer and use it in GitHub Desktop.
FFMPEG Time Lapse
# concat images
ffmpeg -r 30 -f image2 -s 1920x1080 -i end%05d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p part0.mp4
# concat videos
for f in ./part*.mp4; do echo "file '$f'" >> mylist.txt; done
fmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment