two-usb-camera-video-capture

所属分类:USB编程
开发工具:Visual C++
文件大小:918KB
下载次数:15
上传日期:2013-12-12 23:31:16
上 传 者dongfeng1023
说明:  可以实现两个usb摄像头的同步视频捕捉,注意两个摄像头不能插在同一个根hub下,否则带宽不够,无法实现
(Can realize the synchronization of two usb camera video capture, pay attention to the two cameras can be inserted in the same root hub, or bandwidth is not enough, can not be achieved)

文件列表:
StillCap (0, 2007-01-07)
StillCap\DShow.h (3214, 2002-11-12)
StillCap\dshowutil.h (2500, 2002-11-12)
StillCap\graybitmap.cpp (24082, 2004-02-11)
StillCap\graybitmap.h (1946, 2004-02-11)
StillCap\MemAlloc.h (774, 1998-05-10)
StillCap\memBitmap.cpp (20460, 2004-02-09)
StillCap\StillCap.opt (183808, 2008-01-13)
StillCap\StdAfx.cpp (461, 2002-11-12)
StillCap\StillCapDlg.cpp (40327, 2008-01-13)
StillCap\StillCap.cpp (2882, 2002-11-12)
StillCap\StillCap.dsw (541, 2004-02-16)
StillCap\StillCap.h (1658, 2002-11-12)
StillCap\stillcap.jpg (14730, 2002-11-12)
StillCap\StillCap.plg (1696, 2008-01-13)
StillCap\StillCap.sln (1338, 2002-11-12)
StillCap\StillCap.vcproj (10014, 2002-11-12)
StillCap\StillCap0000.bmp (54, 2008-01-12)
StillCap\StillCap0001.bmp (230454, 2008-01-12)
StillCap\strmbasd.lib (1909176, 2007-01-07)
StillCap\Res (0, 2007-01-07)
StillCap\Res\StillCap.ico (25214, 2002-12-03)
StillCap\Res\StillCap.rc2 (400, 2002-11-12)
StillCap\Res\Thumbs.db (3072, 2005-09-02)
StillCap\Debug (0, 2007-01-07)
StillCap\StdAfx.h (1118, 2007-01-07)
StillCap\dshowutil.cpp (20588, 2007-01-07)
StillCap\Release (0, 2007-01-07)
StillCap\memBitmap.h (1414, 2007-01-07)
StillCap\strmbase.lib (1088806, 2007-01-07)
StillCap\StillCap0002.bmp (54, 2008-01-08)
StillCap\StillCap0003.bmp (230454, 2008-01-08)
StillCap\StillCap0004.bmp (54, 2008-01-08)
StillCap\StillCap0005.bmp (230454, 2008-01-08)
StillCap\StillCap.clw (2142, 2008-01-13)
StillCap\StillCap0006.bmp (54, 2008-01-08)
StillCap\StillCap0007.bmp (230454, 2008-01-08)
StillCap\StillCap0008.bmp (54, 2007-01-07)
StillCap\StillCap0009.bmp (230454, 2007-01-07)
... ...

//----------------------------------------------------------------------------- // Name: DirectShow Editing Sample - Still Frame Capture // // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- Description =========== This C++ app uses the ISampleGrabber interface to capture still images to a .bmp file on disk from a live capture stream. It demonstrates how to put the sample grabber into the graph, and how to get the bits back from it in real time via the callback. StillCap starts in preview mode, displaying input from the system's default video capture device. Normally, this will be an attached video camera, like a USB WebCam. When you click the "Snap Still" button, a bitmap will be captured and written to disk at the location specified in the Capture Directory field. If you enable the "Increment filename" option, then a new file will be written each time with a new name. Otherwise, the same filename will be used for each captured bitmap. You may also capture video files to disk if you select Video Capture on the Capture Type group box. Note that video capture will start automatically when you select this option. Click "Start Playback" to end the capture session. The recorded file will automatically be played back to the screen. NOTE: For simplicity, this sample uses RGB24 format for capturing data and writing bitmaps. If your video driver is at 16-bit depth, you may notice flicker when running this application. To resolve this problem, set your display's bit depth to 24-bit or 32-bit with the Display Properties control panel application. NOTE: This application is designed for use with video cameras and does not support TV tuners or devices which use the DirectShow Video Port. If you need this functionality, you must use the ICaptureGraphBuilder2 interface to properly build the filter graph in InitStillGraph().

近期下载者

相关文件


收藏者