Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th March 2024, 23:55   #1  |  Link
dani75
Registered User
 
Join Date: Jul 2016
Location: Paris, France
Posts: 12
Vrtualdub2 crashes while executing a script with RunNullVideoPass()

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 ?

Last edited by dani75; 7th March 2024 at 00:44.
dani75 is offline   Reply With Quote
Old 7th March 2024, 01:30   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 7th March 2024, 22:02   #3  |  Link
dani75
Registered User
 
Join Date: Jul 2016
Location: Paris, France
Posts: 12
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 ?

Last edited by dani75; 7th March 2024 at 23:54.
dani75 is offline   Reply With Quote
Old 8th March 2024, 07:08   #4  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,003
Try the build from here.
v0lt is offline   Reply With Quote
Old 8th March 2024, 12:24   #5  |  Link
dani75
Registered User
 
Join Date: Jul 2016
Location: Paris, France
Posts: 12
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 ?
dani75 is offline   Reply With Quote
Old 8th March 2024, 14:26   #6  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,003
Quote:
Originally Posted by dani75 View Post
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.
v0lt is offline   Reply With Quote
Old 9th March 2024, 13:42   #7  |  Link
dani75
Registered User
 
Join Date: Jul 2016
Location: Paris, France
Posts: 12
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.

Last edited by dani75; 10th March 2024 at 00:38.
dani75 is offline   Reply With Quote
Old 28th March 2024, 10:34   #8  |  Link
blob2500
Registered User
 
Join Date: Sep 2007
Location: Italy
Posts: 30
Quote:
Originally Posted by StainlessS View Post
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).
blob2500 is offline   Reply With Quote
Reply

Tags
runnullvideopass, virtualdub2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.