GithubHelp home page GithubHelp logo

mailbyms / avcapturestream Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12.95 MB

使用Directshow获取摄像头/话筒设备列表,使用 FFMPEG 捕捉摄像头、话筒,保存到文件

C++ 93.60% C 6.40%

avcapturestream's Introduction

一、项目来源

二、项目建立

Visual Studio 2017, Windows 10,Thinkpad X13 自带摄像头/话筒,台式机+罗技c270 USB 摄像头, 正常运行

  • 项目原来自带的 ffmpeg 库是 32 位的,版本为 December 5, 2014, FFmpeg 2.5 https://ffmpeg.org/index.html#news 。现改为 64 位 FFmpeg 4.3.2,编译会有函数过旧的警告,可忽略。(RTP分支已更换过时的API调用)

  • 下载 FFMPEG 64位 SDK (https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.2-full_build-shared.7z),并解压到 C 盘根目录下

  • IDE 添加 FFMPEG SDK:

    • 项目属性,切换到 Debug - x64
      C/C++
          常规->附加目录:增加 ffmpeg 的 include 目录,例如"C:\ffmpeg-4.3.2\include"
      链接器
          常规->附加库目录:增加 ffmpeg 的 lib 目录,例如"C:\ffmpeg-4.3.2\lib"
      调试
          环境:PATH=%PATH%;C:\ffmpeg-4.3.2\bin
      

avcapturestream's People

Contributors

mailbyms avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.