Log in

View Full Version : Upgrade DGMPGDec/DGIndex for AutoGK?


fearofmimes
11th July 2008, 01:38
I'm using AutoGK 2.48b with a DVD source that is causing DGIndex to complain with the following error:

Cannot find audio or video data. Ensure that your PIDs are set correctly in the Stream menu. Refer to the Users Manual for details.

I note from the stream information produced by DVD Decrypter that video is at 0xE0 and audio is at 0x80 (both normal). When I use Set PIDs in DGIndex, the Video PID is set to "1a88" and the others are set to "2". If I set the Video PID to "E0" and the Audio PID to "80", it will think for a second and then report the same error.

Interestingly, when I open the video source with the DGIndex from DGMPGDEc 1.5.1, it reports the same error initially but when I set the Video PID and Audio PID settings correctly, it recognizes them and appears ready to go.

This gave me the idea that I should upgrade the version of DGMPGDec that is included with AutoGK. I backed up the original directory and then copied the new files into the DGMPGDec subdirectory (under AutoGK). When I did this AutoGK loaded the new version of DGIndex and I was able to fix the PIDs and and it actually went ahead and processed the file.

After DGIndex finished, it seemed to go through the next VirtualDubMod step just fine before failing with a message about audio not being found. The log follows:

[7/10/2008 7:22:31 PM] AutoGK 2.48b
[7/10/2008 7:22:31 PM] OS: WinXP (5.1.2600).2
[7/10/2008 7:22:31 PM] Job started.
[7/10/2008 7:22:31 PM] Input file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_0.IFO
[7/10/2008 7:22:31 PM] Output file: D:\Encode\NO_LABEL\Main Movie\Title 1.avi
[7/10/2008 7:22:31 PM] Output codec: XviD
[7/10/2008 7:22:31 PM] Audio 1: English AC3 2ch
[7/10/2008 7:22:31 PM] Subtitles: none
[7/10/2008 7:22:31 PM] Format: AVI
[7/10/2008 7:22:31 PM] Target quality: 75%
[7/10/2008 7:22:31 PM] Audio 1 settings: Original
[7/10/2008 7:22:31 PM] Started encoding.
[7/10/2008 7:22:31 PM] Demuxing and indexing.
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_1.VOB
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_2.VOB
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_3.VOB
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_4.VOB
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_5.VOB
[7/10/2008 7:25:07 PM] Processing file: D:\Encode\NO_LABEL\Main Movie\Title 1\VTS_01_6.VOB
[7/10/2008 7:25:07 PM] Source resolution: 720x480
[7/10/2008 7:25:07 PM] Found NTSC source.
[7/10/2008 7:25:07 PM] Source aspect ratio: 4:3
[7/10/2008 7:25:07 PM] Analyzing source.
[7/10/2008 7:31:12 PM] Source is considered to be FILM.
[7/10/2008 7:31:12 PM] Output will contain 177807 frames
*************************************
EXCEPTION: Audio is not found.
*************************************
[7/10/2008 7:31:12 PM] Job finished. Total time: 8 minutes 40 seconds
====================================================
I thought this might just be a problem with this particular title, but I found that this was a general problem caused by the new version of DGIndex. Going back to the old version clears up the problem for all other titles.

So, finally on to the question question that formed my subject: Is it possible to upgrade the version of DGIndex for AutoGK? Or can someone think of another workaround?

Guest
11th July 2008, 02:00
A DVD VOB is a program stream, not a transport stream, so PIDs should be inapplicable. If the Stream menu is enabled something is wrong.

Please post an *unprocessed* source VOB fragment that I can use to duplicate your issue. Use DGSplit to split off the first 10Mbytes.

fearofmimes
11th July 2008, 17:35
I uploaded the requested portion here: http://www.quickfilepost.com/download.do?get=6ff168fddf38872b94a0b8ffdf74e7d4. I hope I got you what you were looking for.

Guest
11th July 2008, 18:02
I downloaded your file linked above and opened it in DGIndex 1.5.1. It opened as a program stream and the Stream menu is grayed as it should be. The info dialog shows it as an MPEG2 program stream.

There is no audio in the VOB you linked as it appears to be menus, etc., for the DVD.

DGIndex is operating correctly. I can't help you with AutoGK.

fearofmimes
11th July 2008, 18:45
Try this one: http://www.quickfilepost.com/download.do?get=3ca1c990806da3061146292d0876b317. I think I misunderstood what you were looking for initially.

Guest
11th July 2008, 20:30
OK, your video data within the first 32K is emulating a 192-byte transport packet! I'll make a point release to fix that, maybe tonight, at least by the end of the weekend.

I'm moving this to the DGIndex forum.

Guest
14th July 2008, 13:47
Try version 1.5.2:

http://neuron2.net/dgmpgdec/dgmpgdec.html

fearofmimes
15th July 2008, 07:47
New version handled the input files without a hitch. Thanks! Unfortunately, I experienced the same issue with AutoGK, though, where it complains about audio not being found. The version of DGMPGDec bundled with AutoGK 1.48b is 1.5.0 beta 10. Is there something different about the output from the newer versions of DGIndex? I experienced the same issue with all source content (not just the problem files that originated this thread) when replacing 1.5.0 beta 10 with 1.5.0 (latest released), 1.5.1, and now 1.5.2 (just swapped directory contents in C:\Program Files\AutoGK\DGMPGDec among the various versions).

Guest
15th July 2008, 13:28
Yes, audio handling changed. I cannot help you with AutoGK and I'm pretty sure it is no longer being updated. You can try MEGUI or just do things manually. It's not that hard.

Brewskie
16th August 2008, 17:22
Are sources available for 1.5.2? Or maybe a diff to 1.5.0? Just wondering!

Guest
16th August 2008, 17:52
E:\Don\Programming\C++\DGMPGDec\DGIndex>diff mpeg2dec.cpp "e:\tmp\dgindex 150"
202c202
< Read = _read(Infile[0], buf, 2048);
---
> Read = _read(Infile[0], buf, sizeof(buf));
206c206
< while (b + 4 * TransportPacketSize < buf + Read)
---
> while (b + 3 * TransportPacketSize < buf + Read)
210c210
< if ((b[TransportPacketSize] == 0x47) && b[2*TransportPacketSize] == 0x47 && b[3*TransportPacketSize] == 0x47 && b[4*TransportPacketSize] == 0x47)
---
> if ((b[TransportPacketSize] == 0x47) && b[2*TransportPacketSize] == 0x47 && b[3*TransportPacketSize] == 0x47)

Brewskie
17th August 2008, 19:37
Cool, thanks! :thanks: