Log in

View Full Version : Avisynth, NeatVideo and VirtualDub2


Ykara
5th October 2023, 10:44
Hi all,

Trying to run this following script:


source=LWLibavVideoSource("1. Median.avi")

video=source.ConvertToRGB32(matrix="Rec601", interlaced=true)

LoadVirtualDubPlugin("C:\Video\Tools\VirtualDub2\plugins64\NeatVideo5.vdf", "NeatVideo5", 2)

a1=trim(video, 0, 29863).NeatVideo5("D:\TAPE 1\Profile1.dnp", "D:\TAPE 1\Preset1.nfp")

a2=trim(video, 29864, 30842).NeatVideo5("D:\TAPE 1\Profile2.dnp", "D:\TAPE 1\Preset2.nfp")

output=a1+a2

final=output.ConvertBackToYUY2(matrix="Rec601")
final
prefetch(8)



But VirtualDub2 crashes with the following error

Error: CPU stack imbalance
ID1: 0X91A98401 ID2: 0x0


Video file is a 1.5h, huffyuv, 720x576 interlaced PAL video.
Computer is an i5-10400F, 16GB RAM, RTX 3060 and SSD.

Any ideas what I am doing wrong?

kedautinh12
5th October 2023, 11:04
try without prefetch(8)

jpsdr
5th October 2023, 17:52
Totaly.
NeatVideo is allready multithreaded itself (if you've run the Test/Configuration CPU/GPU part), which will be the slower part.