需要捕获屏幕并使用C#将其保存为视频 [英] Need to capture the screen and save it as video using C#
本文介绍了需要捕获屏幕并使用C#将其保存为视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要捕获屏幕并将其保存为视频。我希望在C#类中进行,或者建议我捕捉屏幕的简单方法。
请帮忙。
提前谢谢
I need the capture the screen and save it as video. I wish to do it in C# class or else suggest me the simple way to capture the screen.
Please help with this.
Thanks in advance
推荐答案
如果一个相当简单的事情,捕获屏幕。请查看我过去的答案:
使用WPF:
WPF矩形捕获 [ ^ ],
WPF中的远程屏幕捕获 [ ^ ];
使用System.Windows.Forms
:
捕捉焦点形式 [ ^ ],
C#Screen Shot表格中有什么内容 [ ^ ]。
将一组捕获图像放入视频中的最佳工具是FFMpeg或libavcodec实用程序。您可以通过手动,批处理文件或以编程方式,以某种不同的方式使用它。我在过去的答案解释它:
如何将图像转换成视频在C# [ ^ ]。
您还可以查看专为您的目的而设计的开源产品: http://camstudio.org/ [ ^ ]。
-SA
Capturing the screen if a fairly simple thing. Please see my past answers:
With WPF:
WPF Rectangle capture[^],
Remote Screen Capture in WPF[^];
WithSystem.Windows.Forms
:
Capture an in-focus form[^],
C# Screen Shot whats in the pael[^].
The best tool to put a set of captures images in a video is FFMpeg or libavcodec utility. You can use it manually, via a batch file, or programmatically, in some different way. I explained it in my past answer:
how to convert image to video in C#[^].
You can also look at this open-source product designed exactly for your purpose: http://camstudio.org/[^].
—SA
这篇关于需要捕获屏幕并使用C#将其保存为视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文