• 大小: 7.03M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 学习  AForge  

资源简介


资源截图

代码片段和文件信息

using AForge.Video;
using AForge.Video.DirectShow;
using AForge.Video.FFMPEG;
using System;
using System.Drawing;
using System.Windows.Forms;

namespace CameraCapture
{
    public partial class Form1 : Form
    {
        private FilterInfoCollection filterInfoCollection;
        private VideoCaptureDevice captureDevice;

        //AForge.Video.FFMPEG 提供的视频写入类
        private VideoFileWriter videoFileWriter = new VideoFileWriter();

        private VideoCapabilities[] videoCapabilities;
        private string fileName;
        private Size frameSize;
        private int framRate;

        public Form1()
        {
            InitializeComponent();
            filterInfoCollection = new FilterInfoCollection(FilterCategory.VideoInputDevice);
            foreach (Filt

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-05-25 21:10  CameraCapture\
     目录           0  2014-05-25 21:08  CameraCapture\CameraCapture\
     文件        1008  2014-05-25 12:01  CameraCapture\CameraCapture.sln
     文件       21504  2014-05-25 15:24  CameraCapture\CameraCapture.v11.suo
     文件       45056  2014-05-25 21:01  CameraCapture\CameraCapture.v12.suo
     文件       57856  2014-05-25 12:14  CameraCapture\CameraCapture\AForge.Video.DirectShow.dll
     文件      179440  2014-05-25 12:14  CameraCapture\CameraCapture\AForge.Video.DirectShow.xml
     文件       18944  2014-05-25 12:14  CameraCapture\CameraCapture\AForge.Video.dll
     文件       61952  2014-05-25 13:24  CameraCapture\CameraCapture\AForge.Video.FFMPEG.dll
     文件      225785  2014-05-25 13:24  CameraCapture\CameraCapture\AForge.Video.FFMPEG.xml
     文件         229  2014-05-25 13:54  CameraCapture\CameraCapture\App.config
     目录           0  2014-05-25 12:51  CameraCapture\CameraCapture\bin\
     目录           0  2014-05-25 21:08  CameraCapture\CameraCapture\bin\Debug\
     文件       57856  2014-05-25 12:14  CameraCapture\CameraCapture\bin\Debug\AForge.Video.DirectShow.dll
     文件      179440  2014-05-25 12:14  CameraCapture\CameraCapture\bin\Debug\AForge.Video.DirectShow.xml
     文件       18944  2014-05-25 12:14  CameraCapture\CameraCapture\bin\Debug\AForge.Video.dll
     文件       61952  2014-05-25 13:24  CameraCapture\CameraCapture\bin\Debug\AForge.Video.FFMPEG.dll
     文件      225785  2014-05-25 13:24  CameraCapture\CameraCapture\bin\Debug\AForge.Video.FFMPEG.xml
     文件    13496832  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\avcodec-53.dll
     文件      349696  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\avdevice-53.dll
     文件      890880  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\avfilter-2.dll
     文件     2462208  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\avformat-53.dll
     文件      137728  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\avutil-51.dll
     文件       13312  2014-05-25 21:08  CameraCapture\CameraCapture\bin\Debug\CameraCapture.exe
     文件         229  2014-05-25 13:54  CameraCapture\CameraCapture\bin\Debug\CameraCapture.exe.config
     文件       24064  2014-05-25 21:08  CameraCapture\CameraCapture\bin\Debug\CameraCapture.pdb
     文件       24224  2014-05-25 20:57  CameraCapture\CameraCapture\bin\Debug\CameraCapture.vshost.exe
     文件         229  2014-05-25 13:54  CameraCapture\CameraCapture\bin\Debug\CameraCapture.vshost.exe.config
     文件         490  2010-03-17 22:39  CameraCapture\CameraCapture\bin\Debug\CameraCapture.vshost.exe.manifest
     文件      296960  2011-12-11 20:33  CameraCapture\CameraCapture\bin\Debug\swscale-2.dll
     文件        5296  2014-05-25 13:34  CameraCapture\CameraCapture\CameraCapture.csproj
............此处省略24个文件信息

评论

共有 条评论