lastframe.shon commit add webp-convert.sh, fix quotes in lastframe.sh (f77f899)
   1#!/bin/bash
   2
   3input_fn="input.mov"
   4
   5image_fn='output.png'
   6
   7frame_count=`ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 "$input_fn"`
   8
   9ffmpeg -i "$input_fn" -vf "select='eq(n,$frame_count-1)'" -vframes 1 "$image_fn" 2> /dev/null