try this
Code: 
http://moviethumbnail.sourceforge.net/