When uploading a video to a site, there’s definitely use for keyframe images as previews. I was thinking about using the nginx streaming-flv module to feed up individual frames of a video, but I concluded that exporting the required frames as pngs or jpegs is way more practical. Once again, I’m using ffmpeg to grab individual frames from an flv and xport as pngs. Heres the code:
ffmpeg -i awards.flv -vcodec png -vframes 1 -ss 120 -an -f rawvideo -s 320×240 testoutput.png