Expression Encoder的3 SDK屏幕捕捉C#示例? [英] Expression Encoder 3 SDK screen capture C# sample?

查看:161
本文介绍了Expression Encoder的3 SDK屏幕捕捉C#示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VSTS 2008 +净3.5 + C#+微软Expression 3 SDK。我想捕捉的屏幕和输出WMV文件。我努力,但无法找到C#的样品来自谷歌。任何参考样本?

I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3 SDK. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?

在提前,
乔治

thanks in advance, George

推荐答案

一种错误的工具,Expression Encoder的是代码转换器。它需要一个视频格式输入,并将其编码为不同的输出格式。

Wrong kind of tool, Expression Encoder is a transcoder. It requires a video format as input and encodes it to a different output format.

您需要先创建屏幕的视频。捕获屏幕快照是很容易的,Graphics.CopyFromScreen()可以做到这一点。生成视频就需要多次这样做的,写的AVI一个简单的格式。该代码这里能有所帮助。

You'll need to create a video of the screen first. Capturing a screen shot is easy enough, Graphics.CopyFromScreen() can do that. Generating a video would require doing this repeatedly and writing to a simple format like AVI. The code here could help.

这样做速度不够快,让你捕捉每秒帧足够的终极挑战。如果是那么容易,出售极端爱国义和Camtasia的公司将很快被市场淘汰的。

Doing this fast enough so you capture enough frames per second is the ultimate challenge. If that was easy then the companies that sell Jingo and Camtasia would quickly be out of business.

这篇关于Expression Encoder的3 SDK屏幕捕捉C#示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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