View Full Version : Vrtualdub2 crashes while executing a script with RunNullVideoPass()
dani75
6th March 2024, 23:55
Hi everybody. I have been working for years with both VirtualDub 1.10.5 prerelease and Avisynth 2.6.0, writing scripts for both so they run together. Last Saturday I decided to modify my scripts to use them with Virtualdub2 and Avisynth+. I was able to make all my scripts run, except for three pairs of them which make VirtualDub2 crash. All three VirtualDub2 scripts (in Sylia language) were using the instruction "RunNullVideoPass()", as the 3 AviSynth scripts they were running do not produce usable output. This was working fine previously with VirtualDub and AviSynth. Replacing "RunNullVideoPass()" by a "SaveAVI()" instruction makes the issue disappear. I have kept this as a workaround which allows me to carry on my work with Virtualdub2 and Avisynth+.
In order to better reproduce this issue, I have shrunk my pairs of scripts to the following ones :
Job.jobs :
VirtualDub.Open("Script.avs","",0);
VirtualDub.video.SetMode(0);
// VirtualDub.RunNullVideoPass();
VirtualDub.SaveAVI("Dummy.avi");
VirtualDub.Close();
Script.avs :
BlankClip(pixel_type="YV12").SubTitle(VersionString())
Can somebody tell me whether I made a mistake in my scripts, or I found a bug ?
StainlessS
7th March 2024, 01:30
I doubt that many people use Vdub 1.10.5 any more, VDub2 is now pretty much the norm.
[and like VirtualDubMod, it also has an avisynth script editor built in]
Sorry, cant help with your problem, years since I've touched that stuff.
dani75
7th March 2024, 22:02
Hi StainlessS.
Sorry, I was probably unclear.
My issue occurred while running scripts together on VDub2 release 44282 and AviSynth+ release 3.7.3_20230715.
These 2 scripts make VDub2 crash :
Job.jobs :
VirtualDub.Open("Script.avs","",0);
VirtualDub.video.SetMode(0);
VirtualDub.RunNullVideoPass();
VirtualDub.Close();
Script.avs :
BlankClip(pixel_type="YV12").SubTitle(VersionString())
These 2 scripts are OK :
Job.jobs :
VirtualDub.Open("Script.avs","",0);
VirtualDub.video.SetMode(0);
VirtualDub.SaveAVI("Dummy.avi");
VirtualDub.Close();
Script.avs :
BlankClip(pixel_type="YV12").SubTitle(VersionString())
I want to know where the mistake is.
Can you help me ?
v0lt
8th March 2024, 07:08
Try the build from here (https://forum.doom9.org/showthread.php?p=1998799#post1998799).
dani75
8th March 2024, 12:24
Hi v0lt.
Thank you for your answer.
You got it ! My scripts don't make VD2 crash any more with that build :) .
Have you an estimation about when this fixing will be included in an official release of VD2 ?
v0lt
8th March 2024, 14:26
Have you an estimation about when this fixing will be included in an official release of VD2 ?
I'm not a VirtualDub2 developer, so I can't answer this question.
dani75
9th March 2024, 13:42
Thank you v0lt.
The current official release seems having being issued around 2020.
If any VirtualDub2 developer is walking through these lines, his reactions are welcome.
EDIT : I created ticket "#488 Virtualdub2 crashes while executing a script with RunNullVideoPass()" on SourceForge.
blob2500
28th March 2024, 10:34
I doubt that many people use Vdub 1.10.5 any more, VDub2 is now pretty much the norm.
[and like VirtualDubMod, it also has an avisynth script editor built in]
I use both. With avisynth scripts I prefer "pure" Virtualdub, without plugins/filters etc., which are not needed. It seems more responsive, at least on my system. For everything else I use Virtualdub2, except for video capture which is better the old Vdub 1.9.11 which behaves better with different video cards. Unfortunately there is no "definitive Virtualdub" (imho). I have 4 on my PC: Vdub2, 1.10.5, 1.9.11, VdubMod (as a muxer only, for multiple audio tracks in avi).
;)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.