DGMPGDec Quick Start Guide
DGMPGDec Version History
Version 1.5.8 is the latest full released version. Note that binaries are no longer provided due to potential MPEGLA licensing liabilities. You'll have to build it yourself, or find binaries elsewhere. One place where the binaries can be found is (scroll down to the bottom): http://hank315.nl/.
DGMPGDec Version 1.5.8 Source Code
DGMPGDec Version 1.5.6 Source Code
DGMPGDec Version 1.5.4 Source Code
DGMPGDec Version 1.4.9 Source Code
DGMPGDec Version 1.4.8 Source Code
DGMPGDec Version 1.4.7 Source Code
DGMPGDec Version 1.4.6 Source Code
DGMPGDec Version 1.4.5 Source Code
DGMPGDec Version 1.4.3 Source Code
DGMPGDec Version 1.4.0 Source Code
DGMPGDec Version 1.3.0 Source Code
DGMPGDec Version 1.2.1 Source Code
DGMPGDec Version 1.1.0 Source Code
DGMPGDec Version 1.0.12 Source Code
Additionally, the original DVD2AVI project was not updated in some time, and it stood in need of some fixes and upgrades. My version addresses a lot of the irritating features of the original project, as well as adds many new and useful features. Refer to the 'Changes' text files for details. Notable is support for MPEG1, PVA, and transport streams.
There are three causes for the frame loss in the faulty versions.
So, for example, if you process a VOB that has an IBBPBBP... opening GOP, you will lose a total of 5 frames, with 2 lost at the start and 3 lost at the end.
In addition to the lost frames, MPEG2DEC does not implement random frame access correctly. In fact, it always throws away the first B frames in the GOP prior to the first P frame. If they are (say) frames 12 and 13 (in display order) and you try to seek to 12, MPEG2DEC will toss them and return frame 14 to you, without any warning or indication about it.
Finally, when 3 above applies the TFF/RFF flags in the D2V file are misaligned to the frames.
I have created fixed versions of DVD2AVI and MPEG2DEC3 that solve these problems, as well as provide a lot of very useful new features. To avoid confusion, these are renamed as DGIndex and DGDecode respectively.
I engineered DGIndex to create fully correct D2V files containing all the input frames. I engineered DGDecode to not truncate B frames prior to the first P frame and to not unconditionally reduce the frame count by two. I rewrote the decoding and random access code to work correctly with the D2V files generated by the fixed DGIndex.
For DGIndex, if your input stream starts with an open GOP, a message box will pop up warning you that the first few frames may not be decoded properly, but the frames will be retained (they are output as copies of the first decodable frame so as not to output corrupted frames). To avoid this problem, always cut your VOBs on cell boundaries. Do not make arbitrary VOB cuts with a binary splitter (such as VOBSplit).
These fixes currently apply only when Save Project is used in DGIndex and then DGDecode or DGVfapi (VFAPI frame server) is used for decoding. Future versions may add support for DGIndex's Preview feature.
DGIndex and DGDecode are intended to be used as a pair. If you use nonmatched versions of them, incorrect and/or undefined behavior may result.
DGIndex is baselined off DVD2AVI version 1.77.3. DGDecode is baselined off MPEG2DEC3 1.10.
The author appreciates and acknowledges the assistance of the members of the Doom9 forum (http://www.doom9.org) in the development and testing of this software.
Copyright (C) 2003,2004,2005 Donald A. Graft, All Rights Reserved.
[up to home page]