This is a process I have used for years and for some reason it isn't working anymore and I don't know what I am doing differently. When I try to open the Avisynth script in VirtualDubMod (v1.5.10) I get the following error "Error decompressing video frame 0: The source image format is not acceptable. (error code -2)". Here is what I have been trying:
Installed Windows 7 Ultimate
Installed Avisynth v2.5.8
Downloaded DGIndex v1.5.8
Coppied "DGDecode.dll" to "C:\Program Files (x86)\AviSynth 2.5\plugins"
Ran DGDecode on the movie to create "movie.d2v"
Created this Avisynth script in the same directory:
Loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll")
MPEG2Source("movie.d2v")
+ Reply to Thread
Results 1 to 5 of 5
-
-
All 32 bit apps and plugins? AVS script in same folder as movie.d2v? Current d2v file?
Last edited by jagabo; 22nd Mar 2013 at 12:00.
-
http://forum.doom9.org/showthread.php?t=164696
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.
Why are you using VDubMod? If you don't need any of the mods, use the latest VDub.
If you like the AVS editor mod, there is a mod based on 1.78 available on Videohelp's tool page.
How about in AvsPMod?
Considering 1) above, try adding
Code:LanczosResize(720,480) ConverttoYUY2()
PS -- the "DG" in DGDecode is a neuron2, a regular at Doom9 and is badtempered but will probably respond to a thread there. -
Yes, I am only using 32 bit apps and plugins and yes the script is in the same folder as the d2v file.
No, the script won't open in anything else. I am using VdbuMod because I use the ac3 audio file from each video I convert.
Similar Threads
-
Unable to install avisynth: Error opening file for writing
By ximon in forum Newbie / General discussionsReplies: 3Last Post: 12th Dec 2011, 17:52 -
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
Opening Avisynth script on virtualDub - Error Message
By HugoBraule in forum Newbie / General discussionsReplies: 2Last Post: 25th Apr 2010, 21:48 -
Audio missing when opening an Avisynth script in WMP & VirtualDubMOD
By aln688 in forum Video ConversionReplies: 3Last Post: 2nd Apr 2010, 05:09 -
WAV audio error using AVISynth scripts
By rocky12 in forum AudioReplies: 3Last Post: 3rd Dec 2008, 09:03