View Full Version : how does dgindex identify mpeg-1 content?
Doom9
29th November 2004, 21:24
I'm asking because it incorrectly identifies my Matrix 2 R2 release as MPEG-1 video and thus refuses to open any VOB. Any other software identifies the video as MPEG-2, which is what it really is.
Nic
30th November 2004, 11:14
Well if your getting the error message: "MPEG1 streams not currently supported" it's caused by it getting a sequence header that looks like a MPEG-1 stream (i.e. doesn't have the sequence header extension).
But maybe there's a bug in the code. Coincidentally I was using DGIndex on my Matrix R2 DVD last night (doing a test encode with SNOW)....and DGIndex worked fine.
Maybe yours ripped badly? (that doesn't sound like you though ;) )
I'll look at the code, see if I can spot a mistake.
-Nic
ps
Although I can't spot the code to completely relate to it, DGIndex does sometimes trust file extensions a little too much, if it's not already, try changing the file extension to .vob or .mpg to see if it makes a difference....Upload a section if you can and I'll have a look :)
Doom9
30th November 2004, 11:46
Maybe yours ripped badly? (that doesn't sound like you though )Actually, I believe this is the case here.. I downloaded dvd2avi 1.77.3 and tried to open the vobs.. it opened them but I got a green screen. I'll try to rip again tonight and see where it gets me.
Nic
30th November 2004, 11:54
Maybe the Matrix DVD is cursed...last night, ripping it broke my DVD writer :( (they're cheap enough to replace now, and it's a good excuse to get a dual layer burner, but that cost me best part of £100 at the time :( )
The DGIndex code is correct as far as I can tell...
-Nic
Doom9
30th November 2004, 19:49
I re-ripped the disc and this time dgindex didn't throw a fit. I'm just about to encode it to AVC.
Cyberia
1st December 2004, 02:09
What is the filename? I think DGIndex assumes MPEG-1 for the .mpg extension. I'm not sure if it does any further checking after that determination.
I say this because I remember Don saying that was a poor solution and he planned on checking the stream type directly, eventually.
Nic
1st December 2004, 09:46
@Cyberia: I think, from the code, he does now....apart from for transport streams (which is silly really, because streams are the easiest to verify)
-Nic
Doom9
1st December 2004, 15:59
the extension was .VOB, as usual ;)
Guest
8th January 2005, 01:23
Nic is right, I do not use the file extension for MPEG-1 detection. He's also right that I should autodetect transport streams. I'll do that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.