DirectShow DirectShow 샘플 비디오 편집 샘플 GrabBitmaps 샘플 [목차열람] [주소복사] [슬롯비우기] |
Microsoft DirectX 9.0 |
설명
이 C++ 콘솔 프로그램은,샘플 grabber 필터를 사용해 비디오 파일로부터 프레임을 캡춰 하는 방법을 나타낸 것이다.
이하의 스텝을 실행한다.
패스
소스 : (SDK 루트) \Samples\C++\DirectShow\Editing\GrabBitmaps\
사용 방법
커멘드 라인에 다음과 같이 입력한다.
GrabBitmaps <filename>
샘플 출력
Grabbing bitmaps from c:\movie.avi.
Found a sample at time 0 ms [Bitmap00000.bmp]
Found a sample at time 998 ms [Bitmap00998.bmp]
Found a sample at time 1996 ms [Bitmap01996.bmp]
Found a sample at time 2994 ms [Bitmap02994.bmp]
Found a sample at time 3992 ms [Bitmap03992.bmp]
Sample grabbing complete.
참조