简体   繁体   English

如何从c#中的一组图像创建H.264编码的电影?

[英]How can I create an H.264 encoded movie from a set of images in c#?

I have been doing a lot of searching today for C# libraries which will allow me to create H.264 encoded video files. 我今天一直在搜索C#库,这将允许我创建H.264编码的视频文件。 Does anyone know if any such libraries or 3rd party components exist? 有谁知道是否存在任何此类库或第三方组件?

Use ffmpeg . 使用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/ 我建议直接运行ffmpeg进程,如下例所示: 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. 虽然样本没有处理您需要的操作,但我建议根据您的需要进行调整。

ffmpeg-sharp可能是一个很好的起点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM