Log in

View Full Version : VDubMod 1.15.10.2 error #2


EuropeanMan
16th April 2012, 20:40
some idiot was using my computer ... i'll just say it was me.

i'm trying to open my AVS script (which is perfectly fine - it opens up in MeGUI quite easily) in VDubMod. but i don't get anything in the window...

BUT

Error decompressing video frame 0: The source image format is unacceptable. (error code -2)

I have NO idea what has happened?

Please help anyone? Thanks in advance.

Guest
16th April 2012, 20:50
From VirtualDub FAQ:

-------
The source image format is not acceptable (error code -2)
There are three main causes for this to happen:

1. You are trying to compress a video in a format that is not supported by the codec. This will usually mean that the frame height and width are incorrect or that the color depth is not valid. To see what restrictions there are for a codec go to video-->compression and select the codec. The codec restrictions will now appear in a box right of the middle in this window.

2. It happens when trying to play the file in VirtualDub. This is the result of a codec that is trying to decompress a video stream, which it actually cannot handle. This shouldn't be happening, but there are a few codecs (e.g. Panasonic DV) that will try to decompress anything they can get their hands on. Check the file info in VirtualDub and look up the codec used for decompression. Then uninstall/disable this codec and open the file again and see if it plays. It might be possible that with opening the file you will get another type of error message, which will be dealt with below.

3. This error is also common with DivX and can have two main possible causes for it. First of all, it is recommended that in the advanced setting of the DivX config, you disable "Do not prompt with errors and warnings". Why this setting is not disabled by default I don't know, complain to DivX about it. If you now start your encode again an error message will appear. Usually there are problems with the logfile or the dimensions of your video are not correct. With DivX hardware profiles enabled, there are maximum resolutions you can encode with (e.g. 720x576 is the maximum res for the Home Theatre profile). It could also be that you have issues as described at number 1.
---------

Post your script!

EuropeanMan
16th April 2012, 21:15
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\VTS_06_1.d2v", info=3)
tfm(order=1).tdecimate()

crop(0, 56, 0, -58)

LanczosResize(720,304)

my script opens fine in megui...but NOT in nandub or virtualdub...and i have NO idea why :(

i've read the above elsewhere as well neuron, but i wouldn't even know where to find what is ACTUALLY causing this error! i've been doing the same thing for years and no problems...

Guest
16th April 2012, 21:22
Remove everything but the DGDecode source filter. Does that open? If so start adding back the filters one at a time until it fails. Which one causes it to fail?

Groucho2004
16th April 2012, 22:02
but NOT in nandub or virtualdub...and i have NO idea why :(
In the title you mention VdubMod but not VirtualDub. Both VirtualDubMod and NanDub are ridiculously outdated.

So, have you actually tried the latest VirtualDub?

EuropeanMan
16th April 2012, 22:06
^ I'll try that Groucho...

EDIT: Groucho, d/led 1.9 VD and now I see the video... NOW I have no idea why the AVS won't load in VDUB/NDUB

@ Neuron, WHERE do I start with the uninstalling? TY for help in advance.

Guest
16th April 2012, 22:12
I meant just comment out those lines in your script. E.g., does this fail:

LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\VTS_06_1.d2v", info=3)

Groucho2004
16th April 2012, 22:19
NOW I have no idea why the AVS won't load in VDUB/NDUB
I'm sure you could track down the reason but I would just use VirtualDub and forget about these ancient programs. I can't think of anything VDubMod does that VDub cannot do.

EuropeanMan
16th April 2012, 22:21
^ true enough - thank you very much sir!

@ neuron, YES it failed.

EuropeanMan
16th April 2012, 22:27
so talked to my idiot friend...he said he was trying to watch an online tv show, which required him to install some divX codec...after watching the video, he uninstalled it...NOW i checked my browser history and found this

http://www.divx.com/en/software/download/installed

WOULD this have affected me?

Groucho2004
16th April 2012, 22:31
WOULD this have affected me?
Dunno. I think that loading an Avisynth script should be independent from any installed codec. However, the rendering to the output window is a different story.

LigH
17th April 2012, 07:53
VirtualDubMod will probably need a VfW codec which is able to convert the planar YV12 format to a packed-pixel format (YUY2, RGB), just to be able to display the preview. This "bug" is known for about a decade now, I bet... was probably one of the reasons for the original VirtualDub using an integrated YUV handling now.

Well possible that the DivX codec changed the registration of the VfW codec responsible for the YV12 FourCC, but does not correctly support it. It can probably be fixed by (disabling and re-) enabling ffdshow's VfW codec decoder for all supported raw formats, if you have ffdshow installed too.

A last possible reason might be that some codec installation/deinstallation mess left an empty entry in the registry list of FourCC assignments (Registry branch HKLM\...\Drivers32: VIDC.????) which prevent the rest from being known by the system. Koepi made a VIDC.Cleaner (http://forum.doom9.org/showthread.php?t=72244) to fix this reason, should it exist; current Xvid codec installers probably execute it during the setup as well.

EuropeanMan
18th April 2012, 06:23
^ thank you LigH - very helpful :) Vielen vielen Dank! Tschuessle!

shadell
6th June 2015, 23:45
I've just had this problem on Windows 8.1 64 bit with the K-Lite Codec pack installed.

Scripts would open fine in Media Player Classic, VirtualDub and VirtualDubMPEG (playback quality in those last 2 was poor, but I guess that's just a limitation of those programs).

I tried the following without success:
Uninstalling and reinstalling Xvid.
Running the 'fixes' in the K-Lite Codec Tweak Tool.
Running Vidc.Cleaner.

Finally, uninstalling Xvid and installing DivX 6.8 fixed it.

There was an error on the final window of the install procedure, and I had to kill the process from task manager, but as far as I can see everything that matters installed correctly.

GMJCZP
7th June 2015, 02:11
I've just had this problem on Windows 8.1 64 bit with the K-Lite Codec pack installed.

Scripts would open fine in Media Player Classic, VirtualDub and VirtualDubMPEG (playback quality in those last 2 was poor, but I guess that's just a limitation of those programs).

I tried the following without success:
Uninstalling and reinstalling Xvid.
Running the 'fixes' in the K-Lite Codec Tweak Tool.
Running Vidc.Cleaner.

Finally, uninstalling Xvid and installing DivX 6.8 fixed it.

There was an error on the final window of the install procedure, and I had to kill the process from task manager, but as far as I can see everything that matters installed correctly.

Try this newer version modded by bcn_246:

Here (http://forum.doom9.org/showthread.php?p=1608131#post1608131)