6

I have been doing a lot of searching today for C# libraries which will allow me to create H.264 encoded video files. Does anyone know if any such libraries or 3rd party components exist?

jessegavin
  • 74,067
  • 28
  • 136
  • 164
  • Just curious, what software are you writing that requires H.264 encoding? – mafu Mar 24 '10 at 20:19
  • Basically I need the ability to combine a set of radar images into a 'flip-book' style animation on-the-fly from a web server. I am currently using SWFMill to create a flash movie, but I need to be able to support H.264 now. – jessegavin May 10 '10 at 19:20

2 Answers2

5

Use ffmpeg. I suggest to run a ffmpeg process directly, like in this sample: http://jasonjano.wordpress.com/2010/02/09/a-simple-c-wrapper-for-ffmpeg/

While the sample doesn't deal with the operation you need, I suggest to adapt it to your needs.

eglasius
  • 35,831
  • 5
  • 65
  • 110
  • Thanks. This is the closet thing to an answer here. – jessegavin Jun 14 '10 at 03:02
  • yes, I also struggled figuring out what to use in a different scenario. Once I got my mind set on modifying the sample to support the operations that I needed, it all went nicely for me. – eglasius Jun 14 '10 at 15:05
  • @eglasius: Is there a way to get a progress of the current ffmpeg process action so I can notify user asynchronously with each progress change? – Shimmy Weitzhandler Sep 04 '11 at 04:07
1

ffmpeg-sharp is probably a good starting point.

Diego Mijelshon
  • 52,548
  • 16
  • 116
  • 154