Hi, Is there any way to get individual frames of a video and render it as an image file?

What I want to do is a video preview image(a jpg file for example) which gives an idea of what the video is about, like youtube preview.

I'm pretty new to Qt Jambi and Phonon videoplayer, I have searched the API docs but still can't figure it out , any help will be appreciated, thanks ...