You'll need to open the movie with an API that understands the movie file format, and which can extract single images. You didn't say which format that is, but QuickTime can read quite a few. The JMF API from Sun may also help, but it is no longer actively maintained.
It looks like JMF can't handle the XVID file format. I don't think there's anything you can do about that, and I've no idea if QuickTime supports XVID. The easiest way to find out is probably to try and run the video through the QuickTime Player application.
that reply was helpul, i found the jmf registry supports mpg and mpv . i changed URL url = new URL("file:/home/anuja/Desktop/lion.mpg"); now im not getting previous error but it seems , returns null thoguh fpc.seek() is not null . Any thoughts on this will be appreciated? Thanks & Regards , Anuja K