Getting video frame by frame ?

This forum is about all development around libVLC.
Leon2009
New Cone
New Cone
Posts: 2
Joined: 28 Jun 2009 11:02

Getting video frame by frame ?

Postby Leon2009 » 28 Jun 2009 11:23

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15279
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Getting video frame by frame ?

Postby Rémi Denis-Courmont » 28 Jun 2009 13:17

Grabbing frames is possible, but there is currently no API to pace the video when doing that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Leon2009
New Cone
New Cone
Posts: 2
Joined: 28 Jun 2009 11:02

Re: Getting video frame by frame ?

Postby Leon2009 » 28 Jun 2009 14:23

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 27 guests