Screenshot flv in PHP?

Is there anyway to create a screenshot when someone upload an flv video?
If yes, then we can put a video gallery with thumbnails.