bbokser / dynamic-sim-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamic-sim-tutorial

Converting Images to Video

In a separate terminal:

cd imgs/ 

The first time you run this:

cat *.png | ffmpeg -f image2pipe -i - ../out.avi && ffmpeg -i ../out.avi -pix_fmt rgb24 -loop 0 ../out.gif 

In future iterations, this helps to remove the previous files:

rm ../out.avi ../out.gif && cat *.png | ffmpeg -f image2pipe -i - ../out.avi && ffmpeg -i ../out.avi -pix_fmt rgb24 -loop 0 ../out.gif 

About

License:MIT License


Languages

Language:Python 100.0%