image magick: check first 48 frames of a video