使用Windows Media Foundation进行屏幕捕获的指南 [英] Guidance on using Windows Media Foundation for screen capture

查看:496
本文介绍了使用Windows Media Foundation进行屏幕捕获的指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在研究在我们的应用程序中使用Windows Media Foundation创建H.264 MP4媒体文件.您可以提供有关如何捕获屏幕视频/音频的一些指导吗?屏幕内容将包括标准的Windows屏幕以及Flash/Silverlight 内容,我想实现约20fps的帧速率. (如何配置源的示例非常棒).

Hello, I'm looking at using Windows Media Foundation in our application for creating H.264 MP4 media files. Can you provide some guidance on how to capture screen video/audio? The screen content will include standard windows screens as well as Flash/Silverlight content and I'd like to achive a frame rate of about 20fps. (An example of how to configure the source would be fantastic)

推荐答案

媒体基金会中没有屏幕截图源.如果要在MF中进行屏幕捕获,则需要编写自己的源代码.将原始帧放入MF管道后,MF确实具有屏幕编码器.
There is no screen caputre source in media foundation.  If you want to do screen capture in MF, you would need to write your own source.  MF does have a screen encoder, once you get the raw frames into the MF pipeline.


这篇关于使用Windows Media Foundation进行屏幕捕获的指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆