ffmpeg-save-frames-as-image

ffmpeg -i "$vid" "${target_dir}/%03d.png"