logo Sign In

AviSynth/VirtualDubMod YV12 problems...

Author
Time

I renamed my VOBs to MPGs and they still play perfectly, and I'm using this script with AviSynth 2.58

LoadPlugin("C:\Users\username\Desktop\mpegdecoder_25_dll_20030216\MPEGDecoder.dll")
MPEGSource("D:\TEMP\PROJECT\VTS_01_1.mpg")

When I open the avs script in VirtualDubMod 15.10.3 it said it couldn't find a YV12 decompressor, but after installing Koepi's XVID codec it loads the script, but this is what I get:

Does anyone know what I did wrong here? I've been trying for days to get *any* script to work with this thing but so far nothing :(

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time
 (Edited)

MPEGSource is deprecated, and VirtualDubMod is obsolete.

Use DGMPGDec (DGIndex + MPEG2Source) instead in your script, and get the latest VirtualDub version.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
 (Edited)

I tried this a couple of days ago and it didn't work, I just tried it again and it still doesn't work. This is my script:

LoadPlugin("X:\My Files\AV Tools\dgmpgdec158\DGDecode.dll")
MPEG2Source("D:\TEMP\PROJECT\test.d2v")

The files are where they're supposed to be. It does open in VirtualDubMod now, so that's something, but I can never get it to work in VirtualDub. I'll use VirtualDubMod for now but does anyone know why it won't work in VirtualDub? I'd rather use that one because it's newer and has a 64bit version.

When I open the AVS script in VirtualDub 1.9.8 it gives me the error "AVI import filter error: (unknown) (80040154)". Anyone know what this means.

EDIT: Does anyone know some (really) good AviSynth plugins for degraining? I'm using mvtools2 with this script:

LoadPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\mvtools2.dll")
MPEG2Source("D:\TEMP\PROJECT\test.d2v")
source = AVISource("D:\TEMP\PROJECT\test.d2v")
backward_vec2 = source.MVAnalyse(isb = true, lambda = 1000, delta = 2)
backward_vec1 = source.MVAnalyse(isb = true, lambda = 1000, delta = 1)
forward_vec1 = source.MVAnalyse(isb = false, lambda = 1000, delta = 1)
forward_vec2 = source.MVAnalyse(isb = false, lambda = 1000, delta = 2)
source.MVDenoise(backward_vec2,backward_vec1,forward_vec1,forward_vec2,tht=10,thSAD=300)

But it doesn't seem to open it :(

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time

LoadPlugin("X:\My Files\AV Tools\dgmpgdec158\DGDecode.dll")
MPEG2Source("D:\TEMP\PROJECT\test.d2v")

Do you really have an X:\ drive?  If so, should we be hearing about it lol! 

Author
Time

It sounds like a problem with your AviSynth installation.

Try following the process here to determine if your AviSynth is installed correctly.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

Yes I've got an X drive :)

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time
 (Edited)

Moth3r, I checked my AviSynth installation and it all seems to work fine, it returns its correct version. The required plugins are in the VirtulDubMod plugin folder so that can't be a problem.

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time
 (Edited)

Lord Grievous said:

... does anyone know why it won't work in VirtualDub? I'd rather use that one because it's newer and has a 64bit version.

When I open the AVS script in VirtualDub 1.9.8 it gives me the error "AVI import filter error: (unknown) (80040154)". Anyone know what this means.

Just noticed this. If you're using the 64-bit version of VirtualDub, you'll also need the 64-bit versions of AviSynth, DGDecode, etc...

Might be easier to stick to the 32-bit version at the moment.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

Okay I just installed the 32bit version of VirtualDub it now it works! Thanks Moth3r :)

Also, does anyone know why my script doesn't seem to work?

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time

Lord Grievous said:


... I'm using mvtools2 with this script:
LoadPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\VirtualDubMOD\plugins\mvtools2.dll")
source = MPEG2Source("D:\TEMP\PROJECT\test.d2v")
source = AVISource("D:\TEMP\PROJECT\test.d2v")
backward_vec2 = source.MVAnalyse(isb = true, lambda = 1000, delta = 2)
backward_vec1 = source.MVAnalyse(isb = true, lambda = 1000, delta = 1)
forward_vec1 = source.MVAnalyse(isb = false, lambda = 1000, delta = 1)
forward_vec2 = source.MVAnalyse(isb = false, lambda = 1000, delta = 2)
source.MVDenoise(backward_vec2,backward_vec1,forward_vec1,forward_vec2,tht=10,thSAD=300)

But it doesn't seem to open it :(

Try the correction shown above.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

It says there's no function MVAnalyse.

Children in the backseat of a car can cause accidents, but accidents in the backseat of a car can cause children.

Author
Time

Looks like you're using the MVTools version 2 dll. You need to use the older version of the plugin, or update your script.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here