how to extract each frame image from a video file using C#

This forum is about all development around libVLC.
46gsk
New Cone
New Cone
Posts: 1
Joined: 14 Feb 2013 05:48

how to extract each frame image from a video file using C#

Postby 46gsk » 14 Feb 2013 07:34

HI,

I am using following code to play video file using axvlc lib in C#

OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = ".flv (*.flv) | *.flv*";

if (ofd.ShowDialog() == DialogResult.OK)
{
axVLCPlugin21.playlist.add(ofd.FileName, ofd.SafeFileName, null);
axVLCPlugin21.playlist.play();
}

Here video is being played successfully.


Now I want to get image for each frame in the above video file.

How Can I get it?

I tried to used axVLCPlugin21.takesnapshot(), but I couldn't succedded.

Thanks,
Srikanth

AUGE_OHR
New Cone
New Cone
Posts: 2
Joined: 11 Mar 2013 03:34

Re: how to extract each frame image from a video file using

Postby AUGE_OHR » 11 Mar 2013 04:38

takeSnapshot() is a Method of "video" so try

Code: Select all

axVLCPlugin21.video.takeSnapshot


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests