로그인

검색

Graphic
2013.07.28 02:26

Video Preview and Frames Capture

MoA
조회 수 17747 추천 수 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 106178
338 API/MFC 후킹 링크 MoA 2013.07.28 12899
337 Python 화면 캡쳐 소스 MoA 2014.01.14 12329
336 Web 함수형 프로그래밍을 배워보자! OBG 2025.11.25 5967
335 API/MFC 프린터 출력하기 MoA 2013.10.16 16605
334 API/MFC 프로세스 - 생성과 종료 그리고 이것 저것 너울 2011.10.12 12708
333 API/MFC 프로그램 배포용으로 만드는 과정 너울 2012.01.20 12536
332 Site 프로그래밍 관련 사이트 MoA 2012.08.02 11638
331 C/C++ 파일 입출력 MoA 2013.07.28 10832
330 Python 파이썬에서 C모듈 사용하기 MoA 2014.02.10 12723
329 Deeplearning 파이썬 머신러닝 무료 강의 (7시간) OBG 2022.07.06 18113
328 Site 특정 자료형의 데이터를 binary(hex값, 2진수값)으로 변환 Naya 2012.11.15 12923
327 Tool/etc 텍스트 에디터 Sublime Text 2 너울 2012.03.30 20703
326 API/MFC 태스크 대화상자 (Task Dialog) MoA 2013.10.22 12434
325 LLM 클로드 코드로 프로덕트 팀 바이브코딩 표준화한 방법 (aka 맥도날드 시스템) OBG 2025.11.24 7450
324 Algorithm 큰 수 구하기 알고리즘 Naya 2012.08.02 10949
323 Tool/etc 쿠버네티스 클러스터 OBG 2022.11.11 12230
322 Agent 코딩 에이전트 만드는 법 OBG 2025.08.28 7699
321 C/C++ 코드 실행 시간 계산 Naya 2012.08.02 12182
320 C/C++ 코드 실행 시간 계산 Naya 2012.09.27 10650
319 Tool/etc 컨텍스트 스위칭 (Context Switching) MoA 2013.07.28 20908
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 17 Next
/ 17