• 大小: 1.78M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 视频  C#  音频  录制  

资源简介

C#实现语音视频录制


代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ESBasic;
using Oraycn.MCapture;

namespace MCaptureDemo
{
    /*
    * 本demo采用的是 语音视频采集组件MCapture 的免费版本。若想获取MCapture其它版本,请联系 www.oraycn.com 。
    * 
    */
    public partial class Form1 : Form
    {
        private ICapturer capturer;
        public Form1()
        {
            InitializeComponent();
            this.comboBox1.SelectedIndex = 0;

            Oraycn.MCapture.GlobalUtil.SetAuthorizedUser(“FreeUser“ ““);
        }

        private void button1_Click(object sender EventArgs e)
        {
            try
            {       
                //根据选择创建对应的采集器
                if (

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        117  2014-12-29 20:01  Oraycn.MCaptureDemo\app.config

     文件     435712  2018-06-01 14:44  Oraycn.MCaptureDemo\bin\Debug\ESBasic.dll

     文件     215220  2018-06-01 14:44  Oraycn.MCaptureDemo\bin\Debug\ESBasic.xml

     文件      13824  2018-06-01 15:25  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.exe

     文件        117  2014-12-29 20:01  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.exe.config

     文件      24064  2018-06-01 15:25  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.pdb

     文件      11608  2018-06-01 15:25  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.vshost.exe

     文件        117  2014-12-29 20:01  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.vshost.exe.config

     文件        490  2010-03-17 22:39  Oraycn.MCaptureDemo\bin\Debug\MCaptureDemo.vshost.exe.manifest

     文件    1226752  2018-06-01 14:42  Oraycn.MCaptureDemo\bin\Debug\Oraycn.MCapture.dll

     文件    1026906  2018-06-01 14:38  Oraycn.MCaptureDemo\bin\Debug\Oraycn.MCapture.xml

     文件     435712  2018-06-01 14:44  Oraycn.MCaptureDemo\dlls\ESBasic.dll

     文件     215220  2018-06-01 14:44  Oraycn.MCaptureDemo\dlls\ESBasic.xml

     文件    1226752  2018-06-01 14:42  Oraycn.MCaptureDemo\dlls\Oraycn.MCapture.dll

     文件    1026906  2018-06-01 14:38  Oraycn.MCaptureDemo\dlls\Oraycn.MCapture.xml

     文件       5255  2016-12-08 14:56  Oraycn.MCaptureDemo\Form1.cs

     文件      11013  2014-12-29 18:01  Oraycn.MCaptureDemo\Form1.Designer.cs

     文件       5817  2014-12-29 18:01  Oraycn.MCaptureDemo\Form1.resx

     文件       3890  2014-12-29 20:01  Oraycn.MCaptureDemo\MCaptureDemo.csproj

     文件       1970  2017-06-05 11:43  Oraycn.MCaptureDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       5663  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件      10446  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.csproj.FileListAbsolute.txt

     文件        975  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.csproj.GenerateResource.Cache

     文件      14518  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.csprojResolveAssemblyReference.cache

     文件      13824  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.exe

     文件        180  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.Form1.resources

     文件      24064  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.pdb

     文件        180  2018-06-01 15:25  Oraycn.MCaptureDemo\obj\x86\Debug\MCaptureDemo.Properties.Resources.resources

     文件       1478  2015-12-23 15:52  Oraycn.MCaptureDemo\obj\x86\Debug\ResGen.read.1.tlog

     文件       1322  2015-12-23 15:52  Oraycn.MCaptureDemo\obj\x86\Debug\ResGen.write.1.tlog

............此处省略23个文件信息

评论

共有 条评论