Log in

View Full Version : DGIndex and mpg1 files:"MPEG2Source: couldn't open source file, or obsolete D2V file"


cartewn
6th September 2005, 08:08
Hi, I'm using DGIndex 1.4.4 b2 to try and play mpeg1 files through AVISynth. I opened 4 mpeg1 files in DGIndex and saved the d2v file. When I try to open it with AVISynth it gives this error: "MPEG2Source: couldn't open source file, or obsolete D2V file" I'm using DGDecode.dll from the same zip as DGIndex, so they should be compatible.
This is my .avs file
LoadPlugin(".\DGDecode.dll")

video = MPEG2Source(".\logixx.d2v")

return video

and this is the first part of my .d2v
DGIndexProjectFile11
4
C:\Projecten\WillemVanRijn\design.mpg
C:\Projecten\WillemVanRijn\ergo.mpg
C:\Projecten\WillemVanRijn\komfort.mpg
C:\Projecten\WillemVanRijn\por.mpg

Stream_Type=1
MPEG_Type=1
iDCT_Algorithm=6
YUVRGB_Scale=1
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=4:3,625
Picture_Size=704x400
Field_Operation=0
Frame_Rate=25000
Location=0,0,3,1247

d00 5 0 2048 0 0 d2 f2 f2 e2 f2 f2 e2 f2 f2 e2 f2 f2 e2

Am I doing something stupid? Should I just use DirectShowSource() ?

Guest
6th September 2005, 12:56
You should not need to use DirectShowSource.

The possible causes are:

1. The D2V file is empty.

2. You moved or deleted one or more of the source files after making the D2V file.

3. You are picking up a wrong version of DGDecode, possibly from your plugins directory. Search your hard disk for all copies of DGDecode.dll and delete or rename all of them except the newest one that matches DGIndex.

4. Your input stream does not contain a sequence header. Make sure that the first MPEG1 file can be opened in VirtualDub.

Guest
6th September 2005, 13:33
Here's a version of DGMPGDec that will tell you which of the above cases you have. If you still get the "obsolete" message, you are definitely picking up the wrong DGDecode, because this one does not have that message anymore.

http://neuron2.net/dgmpgdec/dgmpgdec144b3.zip