Advertisement

03.06.2008 at 08:21AM PST, ID: 23220064
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.2

How to read an AVI DV file WITHOUT VFW (as it is deprecated), but e.g. with DirectX

Asked by lbertacco in Multimedia Programming, DirectX Graphics & Game Programming, Video Editing

Tags: ,

Hi,

I'm writing a small program that reads an AVI DV file (captured from camcorder) and extracts metadata (timecode & timestamp). Currently I use the VfW interface (AVIFileOpen, AVIStreamRead,...) and everything works nicely. But when I tested it on real captured data (LARGE) I found out that VfW has a file size limit of 1GB (or maybe 2?). A typical DV Tape usually contains 1 hour of video which at 25mbps lead to an AVI file of about 13GB and VfW cannot handle it.
Looking for more info I found out that VfW is depecated, so what is the recommended way to read an AVI file nowadays???
Directshow seems to have been deprecated too, which leaves just DirectX but what DirectX functions should I use to read an AVI file ? Note that I don't want to read the video or audio stream but the metadata, so I either need some function to retrieve the metadata directly or a way to read the raw frames in DV format (and decode them myself).

In other words I need to: open avi file, check that it is in DV format, read some info (frame rate, number of frames,...), loop over all frames from first to last and for each frame retrieve timecode and timestamp.

An example would be very welcome.
Start Free Trial
 
Loading Advertisement...
 
[+][-]03.06.2008 at 08:22PM PST, ID: 21067329

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.

 
[+][-]03.07.2008 at 12:43AM PST, ID: 21068315

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.07.2008 at 03:38AM PST, ID: 21069072

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.

 
[+][-]03.07.2008 at 09:16AM PST, ID: 21072305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.07.2008 at 09:44AM PST, ID: 21072557

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.07.2008 at 01:56PM PST, ID: 21074449

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.

 
[+][-]03.07.2008 at 05:29PM PST, ID: 21075446

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

Zones: Multimedia Programming, DirectX Graphics & Game Programming, Video Editing
Tags: Visual C++, 2005
Sign Up Now!
Solution Provided By: Merete
Participating Experts: 2
Solution Grade: C
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628