Fixd2v 1.3.0
------------

by Donald Graft

Fixd2v is a command line program that corrects illegal D2V files.
Due either to bugs in DVD2AVI or to malformed streams, it is
possible to encounter D2V files that have illegal flag
sequences, such that a request is made for two consecutive
top or bottom fields. Top and bottom fields must strictly
alternate! When such an illegal transition occurs, the
Avisynth mpeg2source() filter (and other decoders that read
the D2V file) will generate field inverted video from the point
of error (and until a subsequent illegal transition cancels
the first one!). When you view the clip, the field order appears
to change at the illegal transition.

Standalone and some software players are able to ignore/correct
the illegal requests on the fly, but currently DVD2AVI/mpeg2source()
cannot. Therefore, this program can be used to fix the D2V file
before it is sourced into mpeg2source().

This program works with DVD2AVI 1.76 and 1.86 and all versions
of DVD2AVIdg.

Usage: To use the program, type:

fixd2v file.d2v

The program will create a fixed D2V file called file.d2v.fixed.
The program will report the errors and corrections to the
command window.

(C) Donald A. Graft 2004
