#!/bin/bash

DIR=20200403

test -n "$1" && DIR="$1"

test -d $DIR || exit

ffmpeg -framerate 25 -pattern_type glob -i "${DIR}/*.jpeg" -vcodec libx264 -b:v 2000k -pix_fmt yuv420p -f mov $DIR.mov

