简体   繁体   English

如何从H.264视频流中提取图像?

[英]How can I extract images from a H.264 video stream?

如何从H.264视频流中提取图像(JPEG或PNG或...),最好是在C#中?

You can use the Windows Media Foundadion .NET (link: http://sourceforge.net/projects/mfnet/ ) to decode H.264. 您可以使用Windows Media Foundadion .NET(链接: http//sourceforge.net/projects/mfnet/ )来解码H.264。 once you've done that, you can take a screencap in standard ways. 一旦你完成了这个,你可以采用标准方式进行屏幕保护。

Your can use FFMPEG Wrapper and extract all the frames from the videov via C# and save them as sequence of images. 您可以使用FFMPEG Wrapper并通过C#从videov中提取所有帧,并将它们保存为图像序列。 Do read about FFMPEG on how to extract frames and save them as images too. 请阅读有关如何提取帧并将其另存为图像的FFMPEG

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

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