Advertisement

09.28.2003 at 01:33PM PDT, ID: 20751153
[x]
Attachment Details

DirectX: Capture live video from a webcam to a compressed (WMV or AVI) file, help!

Asked by inekedg in DirectX Graphics & Game Programming

Tags: webcam, directx, capture

Hi There,

My question is simple actually. Using the microsoft DirectX SDK 8.1 and 9.0 (AmCap etc.) Visual C++ samples I am able to preview and capture video from a webcam to a uncompressed video format, but these files are HUGE.  All I want to do is preview the video while saving it to a compressed video format in an WMV or AVI file.

I have tried combining DirectX preview with ASF writer functions, but the graph always failed whatever profiles I used. Uncompressed it works in AVI format (AMCap sample)

Did anybody solve this problem? Any C++ solution (preferably with a little source code) that saves webcam live video into a compressed video format is welcome.
(I'm using both Visual Studio 6 and .net 2003)

Greetings,
inekedg@hotmail.com

Start Free Trial
 
 
[+][-]10.06.2003 at 11:58AM PDT, ID: 9500200

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: DirectX Graphics & Game Programming
Tags: webcam, directx, capture
Sign Up Now!
Solution Provided By: _corey_
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.10.2003 at 12:10AM PDT, ID: 9525881

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.28.2003 at 07:51AM PST, ID: 9838360

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.15.2004 at 10:19AM PST, ID: 10122524

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.18.2005 at 10:28AM PDT, ID: 14468250

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32