credits
## images from a list (crops first five chars)
while IFS="\d*_" read id text; do convert -size 1920x1080 xc:black -font Unifont -fill white -pointsize 36 -gravity center -draw "text 0,0 '$text'" $id.png; done < list.txt
Make a 5 second h264 mp4 video from static images with resize
for i in *.*; do ffmpeg -loop 1 -t 5 -i $i -pix_fmt yuv420p -vf "scale=-2:1080" -q:v 0 $i.mp4 -y; done #static_resize
Make a 5 second h264 mp4 video from static images no resize (fix if width / height aren't divisible by 2)
for i in *.*; do ffmpeg -loop 1 -t 5 -i $i -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -q:v 0 $i.mp4 -y; done; #static_trunc