Video Blogging using Django and Flash(tm) Video (FLV) » DRM - Daniel’s Random Mutterings
Adding a video thumbnail
Blog entries in trogger.de can include pictures uploaded by the users. One of these pictures is displayed as a small preview when showing the blog posting (e.g. in the blog overview, or in the list of the latest blog submissions). Wouldn’t it be nice if we could also add a thumbnail for a video submission, so that the blog’s reader can get a first idea of what to expect? I think it would. And, again, ffmpeg comes to the rescue.
ffmpeg can extract single frames from a video stream, storing them in still image format. The command for doing this is:
ffmpeg -y -i [videofile] -vframes 1 -ss 00:00:02 -an -vcodec png -f rawvideo -s 320×240 [thumbnailimage.png]
動画からサムネイル抽出。ffmpeg すごい




