DecklinkCapture

所属分类:对话框与窗口
开发工具:Visual C++
文件大小:32KB
下载次数:5
上传日期:2007-12-25 22:36:51
上 传 者allen.hu
说明:  DecklinkCapture is a simple dialog based Microsoft Windows video capture and preview application. It can capture to a file either uncompressed, DV, Window Media encoded video. The encoding options will only be available if the encoders are present on the host computer.

文件列表:
DecklinkCapture\DecklinkCapture.cpp (2278, 2006-04-11)
DecklinkCapture\DecklinkCapture.h (812, 2006-04-11)
DecklinkCapture\DecklinkCapture.rc (7961, 2007-05-04)
DecklinkCapture\DecklinkCapture.vcproj (5772, 2007-05-08)
DecklinkCapture\DecklinkCapture80.vcproj (6995, 2007-05-07)
DecklinkCapture\DecklinkCapture.dsp (6420, 2007-05-08)
DecklinkCapture\DecklinkCaptureDlg.cpp (61823, 2007-05-04)
DecklinkCapture\DecklinkCaptureDlg.h (2997, 2006-11-21)
DecklinkCapture\resource.h (1465, 2007-05-04)
DecklinkCapture\stdafx.cpp (215, 2005-09-14)
DecklinkCapture\stdafx.h (2083, 2006-11-21)
DecklinkCapture\res\DecklinkCapture.ico (22486, 2006-02-09)
DecklinkCapture\res\DecklinkCapture.manifest (726, 2006-03-22)
DecklinkCapture\res\DecklinkCapture.rc2 (406, 2005-09-14)
DecklinkCapture\res (0, 2007-12-25)
DecklinkCapture (0, 2007-12-25)

Decklink Capture Sample The purpose of this sample is to demonstrate a very basic video capture application, programmatic setting and restoring the video and audio formats through the IAMStreamConfig interface. Capturing to a compressed format is also possible provided the encoder is available on the host. When the application starts up the system registry is queried for any previously stored state information, the last video and audio formats. A preview graph is then created, programmatically setting the video and audio formats of the Decklink capture filters. In the application a picture control is used to preview the incoming video and a few hooks are in place to process any windows messages received by the application dialog in order to update this control. Any changes to the video format, audio format or compression format results in the preview graph being rebuilt with the new user settings. When capturing to a file, the preview graph is completed by adding the extra components to write the uncompressed, or compressed steam to disk. In the case of DV capture this would involve adding the DV encoder, AVI mux and file writer filters to the preview graph. In order to build the most efficient capture graph the ICaptureGraphBuilder2 interface is NOT used. Instead a number of supplemental functions have been written that allow graph building 'by hand'. It is possible to use graphedit to attach to the capture sample application in order to view the filter graph that has been created. Blackmagic Design.

近期下载者

相关文件


收藏者