Skip to content

Instantly share code, notes, and snippets.

@Bioblaze
Forked from m4nh/images_to_video.sh
Created June 26, 2020 05:23
Show Gist options
  • Save Bioblaze/93ae8abfee34d2b9734e439aedca7c92 to your computer and use it in GitHub Desktop.
Save Bioblaze/93ae8abfee34d2b9734e439aedca7c92 to your computer and use it in GitHub Desktop.
#ffmpeg #video from #images
# Create from folder
ffmpeg -framerate 1 -pattern_type glob -i '/tmp/ciao/*.png' -c:v libx264 -r 30 -pix_fmt yuv420p /tmp/out.mp4
# Repeat video until CTRL+c (is very dense! )
ffmpeg -stream_loop -1 -i /tmp/out.mp4 -c copy /tmp/out_repeat.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment