rendered paste bodyfor i in *.JPGdo IFS=': ' set $(identify -format "%[EXIF:*]" "$i" | grep "exif:DateTimeOriginal" | cut -d "=" -f 2) unset IFS year=$1 month=$2 day=$3 hour=$4 minute=$5 second=$6 time="$1/$2/$3 $4:$5" convert "$i" -resize "1920x1080!" -pointsize 50 -fill white -stroke black -draw "text 50,80 \"$time\"" -sampling-factor "4:2:0" yuv:-done | ffmpeg -f rawvideo -video_size 1920x1080 -r 25 -i - -vcodec libx264 -preset ultrafast -crf 22 -y video.mkvfor i in *.JPGdo IFS=': ' set $(identify -format "%[EXIF:*]" "$i" | grep "exif:DateTimeOriginal" | cut -d "=" -f 2) unset IFS year=$1 month=$2 day=$3 hour=$4 minute=$5 second=$6 time="$1/$2/$3 $4:$5" convert "$i" -resize "1920x1080!" -resize "1920x1080!" -pointsize 50 -fill white -stroke black -draw "text 50,80 \"$time\"" -sampling-factor "4:2:0" jpeg:-done | ffmpeg -f image2pipe -vcodec mjpeg -r 25 -i - -vcodec libx264 -preset ultrafast -crf 22 -y video-jpg.mkv