Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Type-1 vs. Type-2 DV AVI Files

  • 2023-07-27
Feedback

In this article

[The feature associated with this page,DirectShow, is a legacy feature. It has been superseded byMediaPlayer,IMFMediaEngine, andAudio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code useMediaPlayer,IMFMediaEngine andAudio/Video Capture in Media Foundation instead ofDirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

DV cameras produce interleaved audio-video; each frame of video also contains the audio information. If you save DV data to an AVI file, you have a choice:

  • Store the interleaved data as one stream in the AVI file. This is known as a type-1 file.
  • Split the interleaved data into separate audio and video streams. This is known as a type-2 file.

For video capture, where maximum throughput is crucial, it is better to use a type-1 file, because type-2 files carry redundant audio data. (The video stream still has the audio data. The audio is simply hidden by labeling the stream as video.) Also, writing a type-2 file requires some additional processor time to split the interleaved stream.

On the other hand, type-1 files are less efficient for real-time editing. The application must extract the audio from the interleaved stream, make the edits, and interleave the data again. Also, the type-1 format is not compatible with Microsoft® Video for Windows® (VFW). DirectShow can handle both types of files.

A type-2 file can be converted to type-1 using theDV Muxer filter. A type-1 file can be converted to type-2 using theDV Splitter filter. The following diagram illustrates the difference between the two formats.

conversion between type-1 and type-2 dv

Related topics

Digital Video in DirectShow

DV Data in the AVI File Format

 

 


Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo