15,881,876 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Articles / Programming Languages / C++
Go to Tip/Trick
Stats
Revisions (9)
C++
Windows
Win7
Win8
OpenCV
VS2012
Win8-Desktop
Capturing Video from Web-camera on Windows 7 and 8 by using Media Foundation
Evgeny Pereguda
Rate me:
Please
Sign up or sign in
to vote.
4.96/5 (25 votes)
10 Apr 2013
CPOL
5 min read
280.1K
33.1K
71
Simple lib for capturing video from web-camera by using Media Foundation
videoInput-staticlib-VS2012x86.zip
videoInput.h
videoInput.lib
videoInputVS2012.zip
videoInput
Common.h
DebugPrintOut.cpp
DebugPrintOut.h
FormatReader.cpp
FormatReader.h
ImageGrabber.cpp
ImageGrabber.h
ImageGrabberThread.cpp
ImageGrabberThread.h
Media_Foundation.cpp
Media_Foundation.h
RawImage.cpp
RawImage.h
ReadMe.txt
videoDevice.cpp
videoDevice.h
videoDevices.cpp
videoDevices.h
videoInput.cpp
videoInput.h
videoInput.vcxproj
videoInput.vcxproj.filters
videoInput.vcxproj.user
TestVideoInputVS2012x86.zip
TestVideoInput
Debug
opencv_core248d.dll
opencv_highgui248d.dll
TestVideoInput.exe
TestVideoInput.ilk
TestVideoInput.pdb
ipch
testvideoinput-d1a6bc1c
testvideoinput-2a8f7f73.ipch
TestResults
TestVideoInput.sln
TestVideoInput.v11.suo
TestVideoInput
include
opencv
cv.h
cv.hpp
cvaux.h
cvaux.hpp
cvwimage.h
cxcore.h
cxcore.hpp
cxeigen.hpp
cxmisc.h
highgui.h
ml.h
opencv2
calib3d
calib3d.hpp
contrib
contrib.hpp
detection_based_tracker.hpp
hybridtracker.hpp
openfabmap.hpp
retina.hpp
core
core.hpp
core_c.h
cuda_devptrs.hpp
devmem2d.hpp
eigen.hpp
gpumat.hpp
internal.hpp
mat.hpp
opengl_interop.hpp
opengl_interop_deprecated.hpp
operations.hpp
types_c.h
version.hpp
wimage.hpp
features2d
features2d.hpp
flann
all_indices.h
allocator.h
any.h
autotuned_index.h
composite_index.h
config.h
defines.h
dist.h
dummy.h
dynamic_bitset.h
flann.hpp
flann_base.hpp
general.h
ground_truth.h
hdf5.h
heap.h
hierarchical_clustering_index.h
index_testing.h
kdtree_index.h
kdtree_single_index.h
kmeans_index.h
linear_index.h
logger.h
lsh_index.h
lsh_table.h
matrix.h
miniflann.hpp
nn_index.h
object_factory.h
params.h
random.h
result_set.h
sampling.h
saving.h
simplex_downhill.h
timer.h
gpu
device
block.hpp
border_interpolate.hpp
color.hpp
common.hpp
datamov_utils.hpp
detail
color_detail.hpp
reduce.hpp
reduce_key_val.hpp
transform_detail.hpp
type_traits_detail.hpp
vec_distance_detail.hpp
dynamic_smem.hpp
emulation.hpp
filters.hpp
funcattrib.hpp
functional.hpp
limits.hpp
reduce.hpp
saturate_cast.hpp
scan.hpp
simd_functions.hpp
static_check.hpp
transform.hpp
type_traits.hpp
utility.hpp
vec_distance.hpp
vec_math.hpp
vec_traits.hpp
warp.hpp
warp_reduce.hpp
warp_shuffle.hpp
devmem2d.hpp
gpu.hpp
gpumat.hpp
stream_accessor.hpp
highgui
cap_ios.h
highgui.hpp
highgui_c.h
ios.h
imgproc
imgproc.hpp
imgproc_c.h
types_c.h
legacy
blobtrack.hpp
compat.hpp
legacy.hpp
streams.hpp
ml
ml.hpp
nonfree
features2d.hpp
gpu.hpp
nonfree.hpp
ocl.hpp
objdetect
objdetect.hpp
ocl
matrix_operations.hpp
ocl.hpp
opencv.hpp
opencv_modules.hpp
photo
photo.hpp
photo_c.h
stitching
detail
autocalib.hpp
blenders.hpp
camera.hpp
exposure_compensate.hpp
matchers.hpp
motion_estimators.hpp
seam_finders.hpp
util.hpp
util_inl.hpp
warpers.hpp
warpers_inl.hpp
stitcher.hpp
warpers.hpp
superres
optical_flow.hpp
superres.hpp
ts
gpu_perf.hpp
gpu_test.hpp
ts.hpp
ts_gtest.h
ts_perf.hpp
video
background_segm.hpp
tracking.hpp
video.hpp
videostab
deblurring.hpp
fast_marching.hpp
fast_marching_inl.hpp
frame_source.hpp
global_motion.hpp
inpainting.hpp
log.hpp
motion_stabilizing.hpp
optical_flow.hpp
stabilizer.hpp
videostab.hpp
lib
opencv_core248d.lib
opencv_highgui248d.lib
ReadMe.txt
stdafx.cpp
stdafx.h
targetver.h
TestVideoInput.cpp
TestVideoInput.vcxproj
TestVideoInput.vcxproj.filters
videoInput
Common.h
DebugPrintOut.cpp
DebugPrintOut.h
FormatReader.cpp
FormatReader.h
ImageGrabber.cpp
ImageGrabber.h
ImageGrabberThread.cpp
ImageGrabberThread.h
Media_Foundation.cpp
Media_Foundation.h
RawImage.cpp
RawImage.h
ReadMe.txt
videoDevice.cpp
videoDevice.h
videoDevices.cpp
videoDevices.h
videoInput.cpp
videoInput.h
videoInput.vcxproj
videoInput.vcxproj.filters
videoInput.vcxproj.user
SimpleCaptureVS2012.zip
SimpleCapture
Backup
SimpleCapture.sln
Preview.cpp
Preview.h
readme.txt
resource.h
SimpleCapture.aps
SimpleCapture.rc
SimpleCapture.sln
SimpleCapture.v11.suo
SimpleCapture.vcproj
SimpleCapture.vcxproj
SimpleCapture.vcxproj.filters
SimpleCapture.vcxproj.user
TestResults
UpgradeLog.htm
UpgradeLog.XML
videoInput.h
videoInput.lib
winmain.cpp
SimpleCapture-exe.zip
Release
msvcp110.dll
msvcr110.dll
SimpleCapture.exe
TestVideoInputVS2012x86-noexe.zip
TestVideoInput.ilk
testvideoinput-2a8f7f73.ipch
TestVideoInput.sln
TestVideoInput.v11.suo
cv.h
cv.hpp
cvaux.h
cvaux.hpp
cvwimage.h
cxcore.h
cxcore.hpp
cxeigen.hpp
cxmisc.h
highgui.h
ml.h
calib3d.hpp
contrib.hpp
detection_based_tracker.hpp
hybridtracker.hpp
openfabmap.hpp
retina.hpp
core.hpp
core_c.h
cuda_devptrs.hpp
devmem2d.hpp
eigen.hpp
gpumat.hpp
internal.hpp
mat.hpp
opengl_interop.hpp
opengl_interop_deprecated.hpp
operations.hpp
types_c.h
version.hpp
wimage.hpp
features2d.hpp
all_indices.h
allocator.h
any.h
autotuned_index.h
composite_index.h
config.h
defines.h
dist.h
dummy.h
dynamic_bitset.h
flann.hpp
flann_base.hpp
general.h
ground_truth.h
hdf5.h
heap.h
hierarchical_clustering_index.h
index_testing.h
kdtree_index.h
kdtree_single_index.h
kmeans_index.h
linear_index.h
logger.h
lsh_index.h
lsh_table.h
matrix.h
miniflann.hpp
nn_index.h
object_factory.h
params.h
random.h
result_set.h
sampling.h
saving.h
simplex_downhill.h
timer.h
block.hpp
border_interpolate.hpp
color.hpp
common.hpp
datamov_utils.hpp
color_detail.hpp
reduce.hpp
reduce_key_val.hpp
transform_detail.hpp
type_traits_detail.hpp
vec_distance_detail.hpp
dynamic_smem.hpp
emulation.hpp
filters.hpp
funcattrib.hpp
functional.hpp
limits.hpp
reduce.hpp
saturate_cast.hpp
scan.hpp
simd_functions.hpp
static_check.hpp
transform.hpp
type_traits.hpp
utility.hpp
vec_distance.hpp
vec_math.hpp
vec_traits.hpp
warp.hpp
warp_reduce.hpp
warp_shuffle.hpp
devmem2d.hpp
gpu.hpp
gpumat.hpp
stream_accessor.hpp
cap_ios.h
highgui.hpp
highgui_c.h
ios.h
imgproc.hpp
imgproc_c.h
types_c.h
blobtrack.hpp
compat.hpp
legacy.hpp
streams.hpp
ml.hpp
features2d.hpp
gpu.hpp
nonfree.hpp
ocl.hpp
objdetect.hpp
matrix_operations.hpp
ocl.hpp
opencv.hpp
opencv_modules.hpp
photo.hpp
photo_c.h
autocalib.hpp
blenders.hpp
camera.hpp
exposure_compensate.hpp
matchers.hpp
motion_estimators.hpp
seam_finders.hpp
util.hpp
util_inl.hpp
warpers.hpp
warpers_inl.hpp
stitcher.hpp
warpers.hpp
optical_flow.hpp
superres.hpp
gpu_perf.hpp
gpu_test.hpp
ts.hpp
ts_gtest.h
ts_perf.hpp
background_segm.hpp
tracking.hpp
video.hpp
deblurring.hpp
fast_marching.hpp
fast_marching_inl.hpp
frame_source.hpp
global_motion.hpp
inpainting.hpp
log.hpp
motion_stabilizing.hpp
optical_flow.hpp
stabilizer.hpp
videostab.hpp
opencv_core248d.lib
opencv_highgui248d.lib
ReadMe.txt
stdafx.cpp
stdafx.h
targetver.h
TestVideoInput.cpp
TestVideoInput.vcxproj
TestVideoInput.vcxproj.filters
Common.h
DebugPrintOut.cpp
DebugPrintOut.h
FormatReader.cpp
FormatReader.h
ImageGrabber.cpp
ImageGrabber.h
ImageGrabberThread.cpp
ImageGrabberThread.h
Media_Foundation.cpp
Media_Foundation.h
RawImage.cpp
RawImage.h
ReadMe.txt
videoDevice.cpp
videoDevice.h
videoDevices.cpp
videoDevices.h
videoInput.cpp
videoInput.h
videoInput.vcxproj
videoInput.vcxproj.filters
videoInput.vcxproj.user
videoinput-staticlib-vs2012x86-noexe.zip
videoInput.h
videoInput.lib
��<