Page 1 of 1

Getting video frame by frame ?

Posted: 28 Jun 2009 11:23
by Leon2009
Hi all,

Is there any simple way to access .264 video file (using libVLC) and getting single frames for display? (0, 1, 2, 3, 4....) I want to have a control over the frames display, for example to display frame 0, do some things, and then display the next frame.

I'm using C#, is there any simple way for doing this?

Thanks.

Re: Getting video frame by frame ?

Posted: 28 Jun 2009 13:17
by RĂ©mi Denis-Courmont
Grabbing frames is possible, but there is currently no API to pace the video when doing that.

Re: Getting video frame by frame ?

Posted: 28 Jun 2009 14:23
by Leon2009
Thanks very much for the answer, so when I'm using this Frame Grabbing, where is the frame going to? where is it stored? do I have access to the frame's pixels as RGB for example? (so I can draw it pixel by pixel on a PaintBox)

Thanks.