- Microsoft® Video for Windows® (VFW)
- Microsoft DirectShow API
- Windows Image Acquisition (WIA)
- Microsoft Media Foundation SDK
如果想要用DirectShow API的人,可以參考Windows SDK(自行到微軟網站免費取得)中的graphedt.exe這個程式(路徑通常是C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\graphedt.exe),可以先玩玩看了解DirectShow的觀念,不過好像DirectShow較難上手,優點是效果跟效能較佳。
目前研讀的結果是這些大多以C++語言開發為主,若你是用C#語言開發,可能需要使用DllImportAttribute 類別的功能,參考
目前研讀的結果是這些大多以C++語言開發為主,若你是用C#語言開發,可能需要使用DllImportAttribute 類別的功能,參考
- DllImportAttribute Class:http://msdn.microsoft.com/zh-tw/library/system.runtime.interopservices.dllimportattribute.aspx
- Interoperating with Unmanaged Code:http://msdn.microsoft.com/en-us/library/sd10k43k.aspx
- Platform Invoke Examples:http://msdn.microsoft.com/en-us/library/42b9ea93.aspx
- Consuming Unmanaged DLL Functions:http://msdn.microsoft.com/en-us/library/26thfadc.aspx
- Platform Invoke Data Types:http://msdn.microsoft.com/en-us/library/ac7ay120.aspx
Basic Capture Operations
Capture Windows
Capture Drivers
- CAPDRIVERCAPS
- WM_CAP_DRIVER_GET_CAPS
- WM_CAP_DRIVER_GET_NAME
- WM_CAP_DRIVER_GET_VERSION
- WM_CAP_GET_AUDIOFORMAT
- WM_CAP_GET_VIDEOFORMAT
- WM_CAP_SET_AUDIOFORMAT
- WM_CAP_SET_VIDEOFORMAT
Capture Driver Preview and Overlay Modes
Capture Driver Video Dialog Boxes
Audio Format
Video Capture Settings
Capture File and Buffers
- CAPTUREPARMS
- WM_CAP_FILE_ALLOCATE
- WM_CAP_FILE_GET_CAPTURE_FILE
- WM_CAP_FILE_SAVEAS
- WM_CAP_FILE_SET_CAPTURE_FILE
Directly Using Capture Data
Capture from MCI Device
Manual Frame Capture
Still-Image Capture
Advanced Capture Options
Working with Palettes
- WM_CAP_EDIT_COPY
- WM_CAP_PAL_AUTOCREATE
- WM_CAP_PAL_MANUALCREATE
- WM_CAP_PAL_OPEN
- WM_CAP_PAL_PASTE
- WM_CAP_PAL_SAVE
Yielding to Other Applications
AVICap Callback Functions
- capControlCallback
- capErrorCallback
- capStatusCallback
- capVideoStreamCallback
- capWaveStreamCallback
- capYieldCallback
- WM_CAP_SET_CALLBACK_CAPCONTROL
- WM_CAP_SET_CALLBACK_ERROR
- WM_CAP_SET_CALLBACK_FRAME
- WM_CAP_SET_CALLBACK_STATUS
- WM_CAP_SET_CALLBACK_VIDEOSTREAM
- WM_CAP_SET_CALLBACK_WAVESTREAM
- WM_CAP_SET_CALLBACK_YIELD
另外一篇有用的資料:
沒有留言:
張貼留言