Getting/generating an image from embedded flash video
So what I am curious about is if it is possible and how, to have an embedded video and capture the thumbnail. There are other sites that share video and I'd like to get the thumbnails from the embedded videos, but they use flash video players to show the video and likely use flashvars to pull up the开发者_运维问答 right video.
I appreciate any help here. I've been trying to automate some of the capture of thumbnails and embedded videos but have no clue how to get remote thumbnails from these videos.
JWPlayer has a "snapshot" plugin that can be set up to take snapshots in the movie, and send them to a server side script.
within flash is pretty easy, since the Video object implements IBitmapDrawable, you can have a snapshot of it using BitmapData.draw() ;-)
you can use some tool to extract the FLV from swf, it lays in DefineVideoStream, and VideoFrame tags.You can write it yourself using some library for managing swf content.After that use FFMPEG for getting the right frame.
精彩评论