---
| **`Windows`** |
|---------------------|
|[![Build status](https://ci.appveyor.com/api/projects/status/opebwjf0j8ssiq2j/branch/master?svg=true)](https://ci.appveyor.com/project/5455945/videocapture/branch/master)|
传统方式编译
---
Windows Video Audio Capture, Save BMP file
by QQ:39539883 2016-12-04
VideoCapture 是使用 DirectShow 开发的 windows视频、音频捕获demo。
重点是视频捕获截图功能。
build目录提供了vs2005 vs2008 vs2010 vs2012 vs2013 vs2015 的项目文件
提供了 ISampleGrabberCB接口,ISampleGrabber接口的定义头文件 qedit.h。
在win10下,win32/x64的各个版本测试通过,截图文件保存在%temp%\CaptureBmp\目录下面。
因为DirectShow需要对应的sdk,所以vs2010(含以下)需要正确安装sdk。我使用的vs2005的sdk。
vs2015是不需要单独安装sdk的。直接可以编译调试。
cmake编译
---
1. Download VideoCapture(https://github.com/5455945/VideoCapture.git)
```bash
git clone --recursive https://github.com/5455945/VideoCapture.git
```
2. Build VideoCapture.
on windows
```bash
cd VideoCapture
mkdir build1 & cd build1
cmake -G "Visual Studio 14 2015 Win64" ..
# cmake --build . --config Release
cmake --build . --config Debug
```
3. run
```
# Release\VideoCapture.exe
Debug\VideoCapture.exe
```
没有合适的资源?快使用搜索试试~ 我知道了~
VS2015 桌面抓屏桌面抓屏
共39个文件
h:7个
cpp:6个
sln:6个
需积分: 0 4 下载量 198 浏览量
2018-08-27
10:47:11
上传
评论
收藏 97KB ZIP 举报
温馨提示
Direct show 实现桌面抓屏,包含鼠标,声音,用户可选择
资源推荐
资源详情
资源评论
收起资源包目录
DesktopCapture.zip (39个子文件)
VideoCapture-master
cmake
ALL_BUILD.vcxproj.user.in 3KB
install_vs_runtime.cmake 39KB
VideoCapture.vcxproj.user.in 2KB
res
VideoCapture.ico 75KB
VideoCapture.rc 4KB
inc
CaptureVideo.h 1KB
common.h 488B
qedit.h 3KB
resource.h 1KB
ImageFormatConversion.h 878B
CaptureAudio.h 975B
SampleGrabberCallback.h 869B
LICENSE 1KB
appveyor.yml 612B
src
ImageFormatConversion.cpp 6KB
common.cpp 1KB
SampleGrabberCallback.cpp 3KB
Main.cpp 8KB
CaptrueAudio.cpp 9KB
CaptureVideo.cpp 8KB
.gitignore 249B
CMakeLists.txt 1KB
README.md 1KB
build
VideoCapture2015.vcxproj.filters 2KB
VideoCapture2015.sln 1KB
VideoCapture2008.sln 1KB
VideoCapture2005.vcproj 8KB
VideoCapture2013.vcxproj.filters 2KB
VideoCapture2012.vcxproj 8KB
VideoCapture2010.vcxproj 8KB
VideoCapture2008.vcproj 8KB
VideoCapture2015.vcxproj 8KB
VideoCapture2013.sln 1KB
VideoCapture2005.sln 1KB
VideoCapture2010.sln 1KB
VideoCapture2012.sln 1KB
VideoCapture2012.vcxproj.filters 2KB
VideoCapture2013.vcxproj 8KB
VideoCapture2010.vcxproj.filters 2KB
共 39 条
- 1
资源评论
zning2013
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功