I would like to capture video files from a camera. I captured image files from a camera using sample grabber, but I don't know how to capture video files and save it to avi format. When I call renderstream
function, an error occurs.
Windows SDK 7.x comes with AMCap Sample which is a classic sample demonstrating preview and capture capabilities.
Video capture application.
This sample application demonstrates the following tasks related to audio and video capture:
- Capture to a file
- Live preview
- Allocation of the capture file
- Display of device property pages
- Device enumeration
- Stream control
If you have a narrower problem, please post your code to get an advice specific to your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.