I want to Generate Video thumbnail of .Flv format song i''m using AS3 swf player ..
if it is possible then can anyone tell me how to do this?
解决方案
Hi,
You can do this by using ffmpeg.exe file.
you can get this from this path : http://ffmpeg.org/[^]
find code to extract image.
Simple example to extract a single image:
ffmpeg -i video.flv -r 1 -an image.jpg
-i video.flv indicates the input file
-r 1 means repeat once. (You can take multiple snapshots.)
-an Disable audio recording.
image.jpg Output filename
More advanced example:
ffmpeg -i video.flv -an -s 320×240 -ss 00:00:02 -r 1 -y %d.jpg
-s 320×240 specifies the frame size of the output (Default is the size of the original video.)
-ss 00:00:02 Seek to given time position in seconds.