-
大小: 576.86 KB文件类型: .rar金币: 1下载: 0 次发布日期: 2024-11-19
- 语言: C#
- 标签:
资源简介
DirectX.Capture
DirectX.Capture是发表在CodeProject上的一个项目,它能很方便的捕获视频和音频,在窗口预览,并将结果保存到文件。使用DirectX.Capture的示例如下:
DirectX.Capture
Capture capture = new Capture( Filters.VideoInputDevices[0],
Filters.AudioInputDevices[1] );
capture.Filename = "C:/MyVideo.avi";
capture.Start();
//...
capture.Stop();
DirectX.Capture是发表在CodeProject上的一个项目,它能很方便的捕获视频和音频,在窗口预览,并将结果保存到文件。使用DirectX.Capture的示例如下:
DirectX.Capture
Capture capture = new Capture( Filters.VideoInputDevices[0],
Filters.AudioInputDevices[1] );
capture.Filename = "C:/MyVideo.avi";
capture.Start();
//...
capture.Stop();
代码片段和文件信息
using System.Reflection;
using System.Runtime.CompilerServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: Assemblytitle(““)]
[assembly: AssemblyDescription(““)]
[assembly: AssemblyConfiguration(““)]
[assembly: AssemblyCompany(““)]
[assembly: AssemblyProduct(““)]
[assembly: AssemblyCopyright(““)]
[assembly: AssemblyTrademark(““)]
[assembly: AssemblyCulture(““)]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the ‘*‘ as shown below:
[assembly: AssemblyVersion(“1.0.*“)]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified the
// following processing occurs:
// (1) If the KeyName can be found in the CSP that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\. For example if your KeyFile is
// located in the project directory you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile(“..\\..\\mykey.snk“)]
// (*) Delay Signing is an advanced option - see the Microsoft .NET framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(““)]
[assembly: AssemblyKeyName(““)]
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1078 2003-01-25 17:10 DirectXCapture_demo vs2010\CaptureTest\App.ico
文件 2426 2003-01-25 17:10 DirectXCapture_demo vs2010\CaptureTest\AssemblyInfo.cs
文件 36864 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\CaptureTest.exe
文件 34304 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\CaptureTest.pdb
文件 11608 2014-10-11 14:43 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\CaptureTest.vshost.exe
文件 490 2010-03-17 22:39 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\CaptureTest.vshost.exe.manifest
文件 49152 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\DirectX.Capture.dll
文件 95744 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\DirectX.Capture.pdb
文件 61440 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\DShowNET.dll
文件 30208 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\bin\Debug\DShowNET.pdb
文件 36864 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\bin\Release\CaptureTest.exe
文件 11608 2014-10-11 14:32 DirectXCapture_demo vs2010\CaptureTest\bin\Release\CaptureTest.vshost.exe
文件 490 2010-03-17 22:39 DirectXCapture_demo vs2010\CaptureTest\bin\Release\CaptureTest.vshost.exe.manifest
文件 45056 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\bin\Release\DirectX.Capture.dll
文件 61070 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\bin\Release\DirectX.Capture.xm
文件 61440 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\bin\Release\DShowNET.dll
文件 39895 2014-10-11 14:22 DirectXCapture_demo vs2010\CaptureTest\CaptureTest.cs
文件 4092 2014-10-11 14:22 DirectXCapture_demo vs2010\CaptureTest\CaptureTest.csproj
文件 1875 2014-10-11 14:22 DirectXCapture_demo vs2010\CaptureTest\CaptureTest.csproj.user
文件 6010 2014-10-11 14:22 DirectXCapture_demo vs2010\CaptureTest\CaptureTest.resx
文件 180 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\CaptureTest.CaptureTest.resources
文件 1075 2014-10-11 14:43 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\CaptureTest.csproj.FileListAbsolute.txt
文件 36864 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\CaptureTest.exe
文件 34304 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\CaptureTest.pdb
文件 5543 2014-10-11 14:43 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 7636 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\obj\Debug\ResolveAssemblyReference.cache
文件 0 2014-10-11 14:35 DirectXCapture_demo vs2010\CaptureTest\obj\Release\build.force
文件 180 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\obj\Release\CaptureTest.CaptureTest.resources
文件 780 2014-10-11 14:34 DirectXCapture_demo vs2010\CaptureTest\obj\Release\CaptureTest.csproj.FileListAbsolute.txt
文件 36864 2014-10-11 14:30 DirectXCapture_demo vs2010\CaptureTest\obj\Release\CaptureTest.exe
............此处省略107个文件信息
- 上一篇:c# 实现的最大最小距离方法对鸢尾花数据进行聚类
- 下一篇:没有了
评论
共有 条评论