3

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

Daniel Gartmann
  • 11,678
  • 12
  • 45
  • 60

3 Answers3

4

ffmpeg can do that.

You need a c# binding for ffmpeg

Community
  • 1
  • 1
Nicolas Repiquet
  • 9,097
  • 2
  • 31
  • 53
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,179
  • 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.