로그인

검색

Graphic
2013.07.28 02:26

Video Preview and Frames Capture

MoA
조회 수 14198 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄

http://www.codeproject.com/KB/audio-video/video_capture.aspx?display=Print


Introduction


I looked around for a project capturing incoming video from external video devices to memory buffer for image processing applications and could not find the one I needed. The existing articles on The Code Project, An Easy Video Processing Framework by Grabbing Frames as Bitmaps using DirectShow, CAviCap and CFrameGrabber - Wrappers for AVICap Window, Real-time Video Image Processing / Frame Grabber using a Minimalistic Approach, Simultaneous Previewing & Video Capture using DirectShow do not provide the preferred buffering mode for capturing raw data from the stream. Some of them were tested only on WinXP and Windows 2000, pretty outdated, the latest one goes back to 1999 or captures samples from video files and so on.


I have Vista on my computer and installed Windows SDK for Vista and DirectX SDK 2007. Now Direct Show is a part of Windows SDK and if you want to use ISampleGrabber for raw data capture, you need to install DirectX SDK too. I developed a simple MFC application supporting enumeration of existing video devices, preview of the video stream, capture raw image data in buffered mode with the desired frame rate, display it to the window with GDI+, taking snap shots to JPEG files. With that application as a skeleton, you can easily start with image/video processing tasks (video codecs development, motion estimation, edge detection). I use that one in my face detection program I'm going to post later.

?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 Tool/etc Programming 게시판 관련 2 MoA 2014.11.01 87326
332 API/MFC 후킹 링크 MoA 2013.07.28 10541
331 Python 화면 캡쳐 소스 MoA 2014.01.14 10165
330 Web 함수형 프로그래밍을 배워보자! OBG 2025.11.25 4436
329 API/MFC 프린터 출력하기 MoA 2013.10.16 14113
328 API/MFC 프로세스 - 생성과 종료 그리고 이것 저것 너울 2011.10.12 10690
327 API/MFC 프로그램 배포용으로 만드는 과정 너울 2012.01.20 10374
326 Site 프로그래밍 관련 사이트 MoA 2012.08.02 9166
325 C/C++ 파일 입출력 MoA 2013.07.28 8743
324 Python 파이썬에서 C모듈 사용하기 MoA 2014.02.10 10813
323 Deeplearning 파이썬 머신러닝 무료 강의 (7시간) OBG 2022.07.06 14548
322 Site 특정 자료형의 데이터를 binary(hex값, 2진수값)으로 변환 Naya 2012.11.15 10503
321 Tool/etc 텍스트 에디터 Sublime Text 2 너울 2012.03.30 16625
320 API/MFC 태스크 대화상자 (Task Dialog) MoA 2013.10.22 10217
319 LLM 클로드 코드로 프로덕트 팀 바이브코딩 표준화한 방법 (aka 맥도날드 시스템) OBG 2025.11.24 5192
318 Algorithm 큰 수 구하기 알고리즘 Naya 2012.08.02 9027
317 Tool/etc 쿠버네티스 클러스터 OBG 2022.11.11 9743
316 Agent 코딩 에이전트 만드는 법 OBG 2025.08.28 6070
315 C/C++ 코드 실행 시간 계산 Naya 2012.08.02 9548
314 C/C++ 코드 실행 시간 계산 Naya 2012.09.27 8665
313 Tool/etc 컨텍스트 스위칭 (Context Switching) MoA 2013.07.28 16624
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 17 Next
/ 17