Introduction - If you have any usage issues, please Google them yourself
Environment:vs2008+opencv2.0+DirectShow
Detail:
capture frame from camera or avi files,then write image to target files. Where to load image is decided by the number of the args.
PS:if you want to download DirectShow, you can surf http://www.opencv.org.cn/