PDA

View Full Version : New Error that I never got before.


mimage
22nd July 2006, 18:30
I just downloaded the latest DGMPGDec 1.4.8 just to look at it... after I checked it out I deleted it.. looked back at one of my older created avs scripts that worked fine a week ago and I got this error.

http://img110.imageshack.us/img110/6351/screenhunter001yh5.jpg

not to sure what I should do. :(

unskinnyboy
22nd July 2006, 20:15
I hope you understood what it says, because an error message can't get anymore lucid than *this*. The version of DGDecode.dll you are using to decode the stream should match the version number of the DGIndex you used to make the d2v file. You made the d2v file using an older version of DGIndex, so it must be decoded only by the DGDecode.dll which came bundled with it.

To find the versions:
For DGIndex, Help -> DGIndex
For DGDecode, right-click on the file in Windows Explorer, Properties -> Version.

Looks like the newer DGDecode.dll is still lying somewhere in your PC, which is getting invoked to decode this and that is what is causing the error. Search your PC for all DGDecode.dlls and do as per what the message says.

mimage
22nd July 2006, 21:15
I understand what is says.. just don't want to make a mistake when i try to fix it. and it's odd that i got the message because i've downloaded many versions of dgindex for testing without getting this error.. and I'm sure I've been running many scripts fine while using two versions of dgindex.. so of course I find getting this a bit odd. I haven't worked much on fixing it yet but I'll see if your suggestion helps.

I was expecting a response like "I hope you understood what it says, because an error message can't get anymore lucid than *this*." :D

unskinnyboy
22nd July 2006, 22:13
I was expecting a response like "I hope you understood what it says, because an error message can't get anymore lucid than *this*." :D
You said you weren't sure what to do, even though the error message said what you should do. Hence that response of mine.

BigDid
22nd July 2006, 22:19
... make a mistake when i try to fix it. and it's odd that i got the message because i've downloaded many versions of dgindex for testing without getting this error..
Hi,

You can look in the avisynth plugins folder first; if you have AGK in the DGMPGDec folder or in whatever folder of other apps you use. It happened to me also and it was disturbing the first time :angry:

I was expecting a response like "I hope you understood what it says, because an error message can't get anymore lucid than *this*." :D
Well if you were expecting it, no big deal ...:scared:
Maybe it's a wink to the author of DGDI (Neuron2) for a clear alert message (may not be always the case in other apps, from other authors...) only Unskinnyboy knows and he will comment if he wants :D

Did

Edit: Unskinnyboy was quicker on this one...

neuron2
22nd July 2006, 23:03
Add info=1 to MPEG2Source() in your script. That will tell you the version of DGDecode. It should be 1.4.8. When you have that OK, look for the version number at the top of the D2V file. If it is not "DGIndexProjectFile13", then remake the D2V file with the 1.4.8 version of DGIndex.

mimage
23rd July 2006, 01:53
You said you weren't sure what to do, even though the error message said what you should do. Hence that response of mine.
I've got a lot of dgdecode.dll files on my computer.. so sound like a complicated process and sounds like i could easily mess something up.. explaining the post. :sly:

ok I'll get onto fixing this using all of the advice given. I'll get back to saying if everything got worked out or not. man if I'm going to have to remake d2v files this is going to be a HUGE process.. I have around 250 of them created from dvds. :scared: Anyway thanks for the help everyone.

mimage
23rd July 2006, 02:39
OK, having two versions of DGIndex being used on all my vobs is really making things complicated.. I tried fixing this problem(couldn't get the versions on some DGdecode.dll files) I have a lot of applications with DGdecode in it and this is turning out to be very complicated. I think I'm just going to start out fresh and use the new version of DGMPGDec.. I don't want to delete any DGDecode files that I would need for programs to run right so I'll do a screencap of the directories they are in..

http://img149.imageshack.us/img149/4695/screenhunter003hc5.th.jpg (http://img149.imageshack.us/my.php?image=screenhunter003hc5.jpg)

if anyone can help me start out fresh that would be great. Again DGDecode seems to be used in a lot of programs so if you recognize any of the programs by the directory, maybe you could help me figure out witch ones I should leave alone. Thanks!

and maybe I should delete the DGMPEGDec app from the AMVapp folder

Add info=1 to MPEG2Source() in your script. That will tell you the version of DGDecode. It should be 1.4.8. When you have that OK, look for the version number at the top of the D2V file. If it is not "DGIndexProjectFile13", then remake the D2V file with the 1.4.8 version of DGIndex.
That could be hard considering the way the older d2v files worked in avisynth.. here is the script for a working avs file using the older version of DGIndex

http://img81.imageshack.us/img81/795/screenhunter004an0.th.jpg (http://img81.imageshack.us/my.php?image=screenhunter004an0.jpg)

I don't remember the exact version I used... but it did work fine with avs scripts in vfapi so i guess it wasn't that old..

neuron2
23rd July 2006, 02:50
Make a separate directory for each movie. In that directory, put the VOBs and the compatible DGIndex/DGDecode pair. Make the D2V and the AVS script in that same directory and load DGDecode like this:

loadplugin("dgdecode.dll")

Do not autoload anything.

mimage
23rd July 2006, 03:48
there is some restore button when i right clicked on some of the dgdecod files.. i used it.. i deleted some dgdecod files.. everything got screwed up now even the files that had

loadplugin("DGDecode.dll")

in the script don't work anymore.. wait.. ok now i got them to work again.. for the files that didn't have "loadplugin("DGDecode.dll")" in the script I don't even get that error message anymore now i get "couldn't open source file, or obsolete d2v file" I don't want to mess with it anymore I just want to start out fresh now. May as well reinstall all the programs using DGDecod after I install the new version of DGIndex. I don't know what to do anymore I just want a fresh start on this. I don't want to system restore because too many important changes have been made to my computer today.. I'm sory for all this trouble.. just if anyone could help me on how I can start fresh on all this I'd be very grateful. :( I'm tired of trying things that are suggested I keep borderline making things worse.. I'll mess around some more but over all I feel I should just start out fresh using only 1 DGindex.


maybe off topic but if anyone wants to help me solve this please read this.. also it's another reason I want to try to start out fresh with DGIndex and other related programs..

even before this problem after I did all the updates for MeGUI, something in avisynth was making it so I would get errors when trying to make an mp4 in the program.. I took out all the plugins I downloaded for avisynth.. still didn't work.. so I reinstalled Avisynth.. put all the plug ins i downloaded back in and finally MeGUI started working for me.. but for some reason after this I'm not aloud to download any more plugins/filters for Avisynth or avisynth will not read any file.. so that's another problem I'm stuck with now. I don't know if i should make a thread or not about this in the avisynth forums.. anyone know how to fix this problem.

neuron2
23rd July 2006, 03:57
It's not rocket science. Do a search and delete ALL copies of DGIndex and DGDecode. Then install 1.4.8. Done.

It sounds to me like you still have an old version in your Avisynth plugins directory. Get rid of it!

mimage
23rd July 2006, 04:01
it says "delete or rename all of them exept.." and that's the thing that scares me. I don't want to ruin how programs are incorperated to work with DGIndex and I believe if I try to do what is says I could seriously mess something up.. it just seems like a scary proccess.. you know..

Edit: ok I got rid of it.. the message I've been getting now is different says.. "there is no funching named "mpeg2source"" OK I replaced the old DGDecode with a 1.4.7.0 version.. and now I'm back to getting the message I originally got posted in my first post

neuron2
23rd July 2006, 04:06
the message I've been getting now is different says.. "there is no funching named "mpeg2source"" You need to add this to your script:

loadplugin("dgdecode.dll")

If you have put dgdecode.dll in a place other than where your script is, then put the full path, e.g.:

loadplugin("c:\stuff\dgdecode.dll")

mimage
23rd July 2006, 04:10
OK I put the full path in.. I think I just now need to find out witch is the right DGDecod that needs to go in my Avisynth plugin folder.. I thought I tried everyone on my computer.. I'll keep trying though

neuron2
23rd July 2006, 04:11
You were supposed to delete all but one, i.e., 1.4.8.

mimage
23rd July 2006, 04:12
You were supposed to delete all but one, i.e., 1.4.8.
jeez all but one.. just scared to do that thats all..:(

neuron2
23rd July 2006, 04:14
You can rename them like this:

dgdecode.dll~
dgindex.exe~

That's one less scary way to "delete" them.

Rename ALL of them. Then install 1.4.8.

mimage
23rd July 2006, 04:16
You can rename them like this:

dgdecode.dll~

That's one less scary way to "delete" them.
ok.. i hate myself for making you made.. but I will try all i can and all you said to get this to work.. anyway ill leave you alone now..

neuron2
23rd July 2006, 04:19
I'm not mad, so relax.

Your best bet is to not use autoloading, i.e., don't use the plugins directory. Let each script specify the dgdecode.dll it wants to use.

unskinnyboy
23rd July 2006, 04:42
@mimage, Here is an advice for the future: Most well-designed apps will have a Program Paths option (for apps which don't have these, you can't help it), using which you can point it to existing tools on your PC. You don't need to keep multiple copies of every filter, dll and function for each of these apps. Keep only one copy of everything, and point all apps to the same place. It also gives you a single point of upgrade.

mimage
23rd July 2006, 04:51
@mimage, Here is an advice for the future: Most well-designed apps will have a Program Paths option (for apps which don't have these, you can't help it), using which you can point it to existing tools on your PC. You don't need to keep multiple copies of every filter, dll and function for each of these apps. Keep only one copy of everything, and point all apps to the same place. It also gives you a single point of upgrade.
ok. thanks for the advice! ;)

I got it working.. I tried renaming every dgdecode.dll to dgdecode.dll~ and only have 1.4.8. and loading it the way neuron2 sugggested in his last post. It didn't work for some reason. I then used one specific path for the DGDecod.dll file and tried every DGDecode I have on my system in it to make it work. So I'll put one DGDecode file in the directory and try the preview button then try another one. The last one on the list I tried and it worked.. kinda buggy for some reason.. has some green line on the left of the screen but at least it works. My guess it just doesn't like my script.. OK I just changed the script now it doesn't have the green bar.. but for some reason when I scroll through the video in the preview window.. the whole screen turns black for a split second.. but it looks fine when I do an External Preview. Well most of everything seems right now

Anyways sorry for not listening before. All the DGDecods I didn't have to delete and they are all back to there orignal names. Everything seems to work now. Thanks for all the help neuron2, BigDid, unskinnyboy! :)

neuron2
23rd July 2006, 15:47
I tried renaming every dgdecode.dll to dgdecode.dll~ and only have 1.4.8. and loading it the way neuron2 sugggested in his last post. It didn't work for some reason. And you didn't care to discover why??? IMHO, you've passed by a good opportunity to learn how things really work, something that could have allowed you to be able to quickly analyze any future problems. You have to get to the root of things, my friend, not grope in the dark.

mimage
24th July 2006, 08:03
I put the new DGDecode 1.4.8 version in my AviSynth plug in directory and all my files started to work. I still had to use the old ones though.. I found out what version each d2v version uses and those are the exact versions I load up using the loadplugin option. I tried loading 1.4.8 version directly but it doesn't work, I load the exact version I used to make the d2v and it does work. If I remove the version 1.4.8 version from my AviSynth plug in folder.. the avs files will not work even though the right DGDecode version are loaded in the script.. The 1.4.8 keeps everything stable. Even though I tried loading it directly with the script it didn't work witch is what I thought neuron2 suggested.. but you said "specify the dgdecode.dll it WANTS to use".. but I thought you meant specifically 1.4.8. and I guess you just meant the exact version the d2v originally used. 1.4.8. keeps everything stable with it being used in the AviSynth plug in folder witch I hope that's were you wanted me to use it. So in the end I got 1.4.8. to work with my scripts and I hope I did the right way.

You said to discover why 1.4.8. didn't work when I tried loading it directly.. I think I did.. if I didn't I'm sorry but I am using 1.4.8. to get everything to work like you suggested.. well I think I may have done it the way you suggested. If you mean discover why by experimenting more or by asking I don't know but of course the asking option I was a lil afraid of doing because I've already got negative confrontation by asking a question.. getting the answer and then not using the information given to me correctly. I know that may have caused quite a bit of frustration when trying to help me and I'm sorry. I will try my best to listen to all the answers given to me and not make any mistakes anymore. I may be a lil bit reluctant to trying the deleting DGDecod files again since I got everything to work again.. but yeah I do have the option of renaming the files like neuron2 suggested so if there is more I should mess around with I will. But if I should just leave it alone I will. I've learned how to prevent this from happening again and how to fix it when the problem comes up again so I hope you all know I did at least learn that in all the advice I have been given.

Again thanks for all your help and I hope I haven't caused too much aggravation. :o

neuron2
24th July 2006, 14:05
I load the exact version I used to make the d2v and it does work. One makes the D2V with DGIndex but one does not load DGIndex (one loads DGDecode). So, you sound terminally confused or communications challenged to me. I don't know how to help you with that.

mimage
24th July 2006, 15:28
:confused:

>.<

I mean I load the exact DGDecode version with the script loadplugin() not the same DGIndex version.