CAPTURE FIRST/non-black FRAME OF A MPEG(VIDEO).to convert it to a metadata thumbnail

hi,

i am facing problem in achieving the THUMBNAIL of an uploaded “mpg” or “avi” or any video media types.

The aim is to provide the metadata knowledge of the huge file into a small glimse of the content rather than viewing video completely which gives unnecessary load on server.

i am trying it with java too. but i preferably wanted to use the lotus script to do so ;;;;but java wud do either.

somebody please respond .

thnx for the concern though,