Log in

View Full Version : Problems getting dgdecode.dll to work on my new system


TEB
22nd December 2005, 00:49
Hei guys. I really need ure help to pinpoint where this problem is.. I cannot get dgdecode to work through avisynth on my reinstalled workstation whatever i do.. Im about to give up.. but before i do that ill try here on this forum..
(running 1.4.6.beta2)

1. I have a normal mpeg2 transport (ive tried 3-4 Transport streams, and several vobs to no avail) fed through the newest dgindex, saved the d2v file, insert it into the newly installed avisynth 2.5.6a based script:

LoadPlugin("y:\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("y:\AviSynth 2.5\plugins\fft3dgpu.dll")
LoadPlugin("y:\AviSynth 2.5\plugins\tdeint.dll")

MPEG2Source("y:\46391.d2v")

#tdeint()
#directshowsource("project_clear.wmv")
#fft3dGPU(bt=3,sigma=2,precision=2,sharpen=1).info
..............................................................................
This script should be easy enough, and it works fine at work on my P4 3,6EE WKS.. but home now on my new iron (Dualcore AMD 4400) i cannot get it to work.. Avisynth works fine with all the other non dgdecode scripts ive tested... and heres the output i get from the popup when i try to run the script..:

Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 259200
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 400000

BITMAPINFOHEADER:
biSize: 40
biWidth: 480
biHeight: 360
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 259200
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0


Anyone got ANY idea i would be very apriciative..

best regards te

Guest
22nd December 2005, 06:05
and heres the output i get from the popup when i try to run the script..: What popup? And how do you run the script?

First try a simple script with Version() served into VirtualDub. Does it work? Then try serving your script above into VirtualDub. Does that work? If not, what error do you get?

communist
22nd December 2005, 10:33
Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 259200
cbFormat: 88

Looks like an error message from MediaPlayerClassic and as if there is no YV12 decoder installed on your machine. Install XviD / DivX to fix this.

TEB
22nd December 2005, 19:35
Hei guys. sorry, have been traveling... Anyway.. I use MPClassic 6.8.7 to execute the .avs scripts.
As mentioned before i verified that avisynth works by testing several of the example scripts (colour bar, version and so on) tho i never tested any yv12 decodings.. And this is a new machine and i prolly havnt installed ffdshow or something.. thx for the tip. ill verify when i get home

merry christmas teb

TEB
22nd December 2005, 23:21
hmm.. i installed the newest ffdshow filters to no avail... I thought it contained a yv12 decoder also?? or am i wrong?

Guest
23rd December 2005, 04:37
To see if it really a problem with YV12, put this at the end of script and see if it works after that:

ConvertToRGB()

TEB
23rd December 2005, 09:18
I installed the xvid 1.0.3 build.. works perfectly now.. :)
thx a bunch for the help everyone :)

audiophobe
20th January 2006, 22:24
To see if it really a problem with YV12, put this at the end of script and see if it works after that:

ConvertToRGB()

I have a similar problem - reinstalling xvid doesn't seem to have fixed it.

My avs scripts for d2v files are failing in mplayer if I use crop, ConvertToRGB seems to get around the problem.

If it's any help MeGUI also crashes when I use the AutoCrop feature in the AVS script generator. Seems to be on the getRGBFrame function of dgdecode.dll

Same files (using crop but no ConvertToRGB) work fine in VirtualDub and Media Player Classic.

Guess something is missing / corrupted on my system as this worked up until recently. Any help much appreciated.

Guest
20th January 2006, 23:22
Post the script that is failing.

audiophobe
21st January 2006, 12:04
Post the script that is failing.

LoadPlugin("c:\program files\dgmpgdec\dgdecode.dll")
mpeg2source("c:\test.d2v")
Crop(0, 74, 0, -74)


It works if I remove the crop line or add ConvertToRGB.

Guest
21st January 2006, 14:57
Try cropping by a multiple of 16. Cropping YV12 must be done carefully.

audiophobe
22nd January 2006, 10:18
Crop(0, 64, 0, -64) also fails

Guest
22nd January 2006, 17:15
Sorry, but I cannot duplicate your problem. Does it happen with all source streams?

audiophobe
22nd January 2006, 18:19
Not to worry think a Windows rebuild is in order... was just hoping there was a simpler solution.

Thanks for your help

stax76
22nd January 2006, 18:21
Sorry, but I cannot duplicate your problem. Does it happen with all source streams?

I get quite a few bug reports about such things, StaxRip gathers lot's of diagnostic information and does very strict verifications and everything seems OK so it's very frustrating. I wish some users were able to solve the problem and report back what went wrong.

@audiophobe

Maybe StaxRip shows you a meaningful error message, also please go to the Settings in StaxRip, under 'System' you can change the YV12 decoder of your system. This is a system setting and effect all applications that don't have a build in decoder, VirtualDub and MPC probably have a build in decoder, you don't want to use DivX btw., it has like the config dialog a insane startup overhead and compatibiliy problems.

Not to worry think a Windows rebuild is in order...

Unless you buy a new mainboard reinstalling Windows should almost never be required. The best way is to evaluate new software using a virtual machine (e.g. VMWare) and if still something goes wrong the system recovery in Windows XP does revert everything. My installs usually run 1-2 years, they have to because reconfigure everything would take days. Alone Visual Studio takes hours to install and config.