3

How can I extract images (JPEG or PNG or ...) from a H.264 video stream preferably in C#?

Daniel Gartmann
  • 9,928
  • 12
  • 41
  • 57

3 Answers3

4

ffmpeg can do that.

You need a c# binding for ffmpeg

Community
  • 1
  • 1
Nicolas Repiquet
  • 8,727
  • 2
  • 29
  • 48
1

You can use the Windows Media Foundadion .NET (link: http://sourceforge.net/projects/mfnet/) to decode H.264. once you've done that, you can take a screencap in standard ways.

NeroS
  • 1,149
  • 1
  • 12
  • 28
0

Your can use FFMPEG Wrapper and extract all the frames from the videov via C# and save them as sequence of images. Do read about FFMPEG on how to extract frames and save them as images too.