View Full Version : VirtualDubAVS 0.3alpha1
Belgabor
17th September 2002, 02:33
Here you go :)
VirtualDubAVS 0.3alpha1
(based on VirtualDub 1.4.10 by Avery Lee including Sync patch by Andreas Dittrich,
AVISynthesizer by Warren Young)
- Hotkey for Refresh configurable (choice between F5 and Ctrl+F5)
- Hotkey for editor (Ctrl+E)
- 'Open via AVISynth' command. Autogenerates a script from a template (compatible to AVISynthesizer).
See readme.txt for additional info.
- Squished some bugs (I hope).
- readme file ;)
- source released
get it here (http://www.geocities.com/belgabor/vdubavs)
Cheers
Belgabor
Defiler
17th September 2002, 02:43
Awesome. Thank you.
metallikop
17th September 2002, 03:40
Dead link, if you need hosting let me know.
Belgabor
17th September 2002, 03:55
eh? works like charm for me?!?
Guest
17th September 2002, 04:31
Too many downloads from geocities gets it temporarily shut down. Then it comes back in an hour or so.
Defiler
17th September 2002, 05:27
I put it here, where I have no bandwidth limits.
Should help with the flood of eager users.
EDIT: I've posted a full mirror. Hooray for no Geocities ads!
http://hellninjacommando.com/vdubavs/
Defiler
17th September 2002, 05:35
Have you made any changes that might impact the estimated time calculations?
Take a look at this..
http://hellninjacommando.com/misc/avisynth/vdavs.png
Belgabor
17th September 2002, 05:42
@neuron2: Din't know it goes up again that fast, thats why i gathered it was ok when i rechecked.
@Defiler:
1. Thanks for the hosting, its very ok =)
2. No, I didnt change anything in regards to that, but i always get time estimates like that for the first 10-30 secs when i encode something (with a 'normal' vdub i mean).
Cheers
Belgabor
Defiler
17th September 2002, 06:00
Originally posted by Belgabor
1. Thanks for the hosting, its very ok =)
2. No, I didnt change anything in regards to that, but i always get time estimates like that for the first 10-30 secs when i encode something (with a 'normal' vdub i mean).My pleasure. Let me know if you need a full mirror.
I guess I never paid much attention to the status during the previous 4000 times I've used VirtualDub. Heh. I only had it under scrutiny this time because this is beta software. I wonder what causes it? It seems like it has plenty of data to make a guess, even after a few seconds.
The VirtualDub source is far beyond my coding skills, but does this snippet suggest that the time estimate will be wrong until 4096 samples have been processed? (I assume that includes both video and audio frames..)
Sorry for derailing your thread a bit..
if (curVSample<0)
curVSample = 0;
dwProgress = (curVSample>totalVSamples ? 4096 : MulDiv(curVSample, 4096, totalVSamples))
+(curASample>totalASamples ? 4096 : MulDiv(curASample, 4096, totalASamples));
Si
17th September 2002, 09:07
Sorry to mention it but the file menu seems slightly corrupt to me - the break lines are in the wrong place.
regards
Simon
Belgabor
17th September 2002, 13:49
Originally posted by Defiler
The VirtualDub source is far beyond my coding skills, but does this snippet suggest that the time estimate will be wrong until 4096 samples have been processed? (I assume that includes both video and audio frames..)
Sorry for derailing your thread a bit..
if (curVSample<0)
curVSample = 0;
dwProgress = (curVSample>totalVSamples ? 4096 : MulDiv(curVSample, 4096, totalVSamples))
+(curASample>totalASamples ? 4096 : MulDiv(curASample, 4096, totalASamples));
Unfortunately the same holds true for me as soon as it considers the internals. But I think the code you pasted is the code for the progress bar which seems to be normalized to 4096 and not (or only indirectly) the ETA.
@siwalters: I'll have a look.
Cheers
Belgabor
Defiler
17th September 2002, 13:56
Originally posted by siwalters
the file menu seems slightly corrupt to me - the break lines are in the wrong place.I don't see this on my machines. Do you have "Large Fonts" enabled?
Si
17th September 2002, 14:15
@Defiler
No - using "Small Fonts" (96dpi).
I just don't have any break line between Job control and the History list and there's an extra one at the bottom.
Strange :confused:
@Belgabor
Any chance of changing the info in the title bar to include your mod version number in your next version.
regards
Simon
Defiler
17th September 2002, 14:46
Can you post a screenshot, Siwalters?
Here's what mine looks like:
http://hellninjacommando.com/misc/avisynth/vdavs-file.png
I guess there are some extra dividers. Heh.
Belgabor
17th September 2002, 14:50
Ok, I see what you mean, and I'm pretty sure I know what goes wrong. I'll try to fix it in the next version.
Cheers
Belgabor
Suzahara
17th September 2002, 15:02
VdubAVS can't seem to find the dll's like mpeg2dec.dll, etc. Where do I put these or where do I specify the location so it knows where to find them? It errors otherwise that there is no function named MPEG2Source. I notice you mention Avisynthesizer, is this necessary to make it work? I can't seem to find a place to download that program since the homepage mentioned in the txt files sends me to a dead link.
Defiler
17th September 2002, 15:06
Suzuhara:
You need to tell AviSynth where your plugins are stored.
Open up the registry editor, and add a key called:
HKEY_LOCAL_MACHINE\Software\Avisynth\
Under that, add a string named "PluginDir", and put the path in it.
Here's an example .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"PluginDir"="C:\\Bin\\Avisynth"
Si
17th September 2002, 15:14
@Defiler
Compare it with normal VirtualDub menu - there should be one between Job control and 1.Nausicca...
And see the extra line at the bottom.
I wish I hadn't said anything now :)
regards
Simon
Defiler
17th September 2002, 15:19
Yep. The divider is below the MRU list, rather than above it. Good catch.
Belgabor
17th September 2002, 16:01
Update
VirtualDubAVS 0.3alpha2
(based on VirtualDub 1.4.10 by Avery Lee including Sync patch by Andreas Dittrich,
AVISynthesizer by Warren Young)
- Fixed file menu bug
- Titlebar, about box
- updated readme with some information i forgot
@Suzuhara: sorry, I thought about this but forgot to put it into the readme file.
@Defiler: A complete mirror would be really cool =)
Cheers
Belgabor
Belgabor
17th September 2002, 16:05
Damn, editing didnt add my signature, so here you go with the link.
Si
17th September 2002, 16:44
@Belgabor
Very impressive response time to requests - thanks.
Simon
Suzahara
17th September 2002, 17:50
Originally posted by Defiler
Suzuhara:
You need to tell AviSynth where your plugins are stored.
Open up the registry editor, and add a key called:
HKEY_LOCAL_MACHINE\Software\Avisynth\
Under that, add a string named "PluginDir", and put the path in it.
Here's an example .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"PluginDir"="C:\\Bin\\Avisynth"
Well, that doesn't work for me, gives me the error:
Avisynth open failure:
Avisynth: script open failed!
But I did a little workaround and just edited the templates so it puts the directory in automatically.
Defiler
17th September 2002, 17:56
Make sure you change the "C:\Bin\Avisynth" to point to your plugins directory (duh), and then verify that there are no files in that directory OTHER than AviSynth plugins.. Don't even put documentation there.
Suzahara
17th September 2002, 18:00
Make sure you change the "C:\Bin\Avisynth" to point to your plugins directory (duh), and then verify that there are no files in that directory OTHER than AviSynth plugins.. Don't even put documentation there.
Ah, that's what happened, a txt file slipped in there and messed it up.
Defiler
17th September 2002, 18:02
Originally posted by Belgabor
@Defiler: A complete mirror would be really cool =)
A pleasure:
http://hellninjacommando.com/vdubavs/
Belgabor
17th September 2002, 18:51
Very cool, thanks! I updated the index.html to show the mirrors =)
Cheers
Belgabor
FuPP
18th September 2002, 23:14
@Belgabor
Your work changed my life. Thanx a lot !!!
FuPP
kyousuke
19th September 2002, 13:54
a great mod again! :D
i have a suggestion, could you separate input and ouput video ?
for now, when we load an .avs we have the same filtered video in the input/output.
for exemple, could you do something like that :
Display input video would show only : AviSource("c:\avs\plop.avi")
Display output video would show all the avs : AviSource("c:\avs\plop.avi") + filters
i don't think if it's possible or hard to code that but i hope you will do :)
thks :D
see ya
Defiler
19th September 2002, 14:08
Wow. That would be amazing.
However, the "output" pane would have to display the video after both the AVS filters, and any VirtualDub filters. Might be hard, depending on how VirtualDub is structured.
Manao
19th September 2002, 14:12
@kyousuke : great idea, but it would be better if we could choose the ligne in the script to stop it and to fill the first pane. It would allow to have the same resolution in both panes, and to test the addition of one or several filters.
As I don't know if I'm clear, here is an example :
AVISource(...)
Deinterlace()
SimpleResize(640,352) // At this point, we choose to fill the first pane
convolution3d(...) // end of the script, we fill the second pane
Didée
19th September 2002, 15:15
I´m completely clueless of how complicated this would be, but somehow I suppose it´s VERY complicated...
This would be nice to have, yes, but it´s not urgent at all:
if you need this functionality, you can always "Stack" it together in the script...
So: if it´s cheap, okay - if it requires BIG efforts: forget it.
Just my 2 cents
Didée
Belgabor
19th September 2002, 17:06
I agree this would be cool, but it certainly goes beyond my ability to code. I can only propose a workaround. Take the monitor filter and put it right after your source. The window isnt in vdub, but it somehow does what you want.
Edit: Perhaps I can code something to ease working with this workaround, but it'll have to wait till I'm back from holidays in a week or so.
Cheers
Belgabor
Rrrough
19th September 2002, 17:12
I can imagine this would be a huge job... :eek:
No doubt, the monitor filter is real great, an advantage of incorporating it into vdub would be a preview in YUY2 colorspace. Hmmm, maybe Johann can help ??? Isn't he already working on an avisynth-GUI? Maybe you could work together, anyhow...
Anyway, great job Belgabor :D
cheers
kyousuke
20th September 2002, 00:27
i know this's a good idea ^^
cause of there're no very good gui(s) for avs for now, and vdubavs is a really good begining to this.
for all, i think that a great CPU will be better :p
good luck for the next :D
mwillberg
21st September 2002, 16:15
I have nothing really useful to add to this discussion, but I still wanted to thank you, Belgabor. This is _really_ useful and will save a lot of time for all us freaks that spend hours comparing different filter-settings... :)
Suiryc
15th October 2002, 17:46
Hi
just want to say I merged Belgabor's modifications and mines, resulting in VirtualDubAVS&OGM.
Enjoy :)
RadicalEd
15th October 2002, 22:33
1 word
sexcellentastic! :D
sh0dan
16th October 2002, 08:08
I must say that VirtualDubAVS has become invaluable to me in the last weeeks. Living witout it seems like an impossibility now. :rolleyes:
Belgabor
16th October 2002, 16:38
Wow, thats really nice! :)
@suiryc & all: I'm completely unknowing & naive on this subject, but is there anything speaking against making this a joined sourceforge project?
Cheers
Belgabor
P.S. @ sh0dan: Now you made me blush ;)
sh0dan
16th October 2002, 16:46
In general, doing a _synchronized_ Vdub Mod on Sourceforge would be a very good thing. I've seen too many modded Vdubs out there, and a more structured approach would be a VERY good thing - as with AviSynth 2.
As long as the developers focus on improvements, that doesn't break the basic funtionality (as VdubAVS), but extends it, having a community Vdub would be a very good thing.
Incorporating NanDub wouldn't make much sense anymore in these XVid days. I don't know if the virtualdub.net version would be a good start, but they have many useful improvements (even though they are only at v 1.4.9, with most 1.4.10 changes merged).
Otherwise the VirtualDubAVS&OGM would also be a good start.
Belgabor
17th October 2002, 02:12
@suiryc: Could you have a look at "Open via Avisynth" please? Opening of multiple files seems to be broken.
Cheers
Belgabor
Suiryc
17th October 2002, 14:13
What problem did you encountered?
I tried to open two AVI files using "Open via Avisynth" and there was no problem :confused:
Belgabor
18th October 2002, 00:36
Sorry, can't reproduce it. Prolly was my fault ^^'
Suiryc
18th October 2002, 13:29
No problem :)
For your previous proposition of joining forces, why not. But I never used CVS before (well in fact this version is one of my first real programs ;) and I have a lot of code that comes from my other tool OGMuxer in this version that I must clean - I am not sure but I think that "printf" and other are not really useful in VirtualDub ;) - ).
OT : just a question that is bugging me now. From what anime comes your avatar ?
Belgabor
18th October 2002, 18:25
Originally posted by Suiryc
For your previous proposition of joining forces, why not. But I never used CVS before (well in fact this version is one of my first real programs ;) and I have a lot of code that comes from my other tool OGMuxer in this version that I must clean - I am not sure but I think that "printf" and other are not really useful in VirtualDub ;) - ).
Well, neither have I (heh at least beyond copy'n'pasting the commands to copy cvs trees from the server). What I hope is cvs allows both of us to concentrate on our own part of the code and cvs will put it together to produce a working whole.
Originally posted by Suiryc
OT : just a question that is bugging me now. From what anime comes your avatar ?
It's Tsukasa from .hack//Sign
Cheers
Belgabor
Rrrough
18th October 2002, 18:50
@belgabor & suiryc:
thank you very much for your work on changes to VDUB. the combination of both of your work (VirtualDubAVS&OGM) is working really great for me, and I doubt that I will ever need another AVS-editor / OGM-Muxer !
Great idea of joining forces ! Keep up the good work !
:cool: cheers !!!
Suiryc
19th October 2002, 12:21
@Belgabor
And what about joining (if possible) and then adding our modifications into VirtualDubMpg2 project ? (SourceForge (http://sourceforge.net/projects/virtualdubmpg2), thread (http://forum.doom9.org/showthread.php?s=&threadid=33586) in the VirtualDub forum) ?
Ookami
19th October 2002, 18:20
How about a new thread in the VirtualDub forum (or developers ...)?
A small list of the mods I know are in the capture FAQ (last question or so), if you know any new modification, please inform us.
Cheers,
Mijo.
Belgabor
19th October 2002, 21:42
Originally posted by Suiryc
@Belgabor
And what about joining (if possible) and then adding our modifications into VirtualDubMpg2 project ? (SourceForge (http://sourceforge.net/projects/virtualdubmpg2), thread (http://forum.doom9.org/showthread.php?s=&threadid=33586) in the VirtualDub forum) ?
If its ok with the author and dun prove impossible (which i don't believe) I'm fully with you on that.
@Ookami: You forgot mine :p
Edit2: @suiryc: The "Daily Use" guide on the tortoise cvs site seems to pretty much sum up what cvs is all about and it seems to be what I wished it was :)
Cheers
Belgabor
P.S./Edit: Just wanted to tell you guys that now I actually USED my mod to create something 'meaningful'. Its an AMV of Saikano to "Nur zu Besuch" by "Die Toten Hosen" (non-German Spekers dun fear, i subbed the song). You can grab it from my Bots on IRC (ETG or Aniverse, BelgaBOT|ETG or ..|ANI).
Suiryc
19th October 2002, 23:11
Originally posted by Belgabor
If its ok with the author and dun prove impossible (which i don't believe) I'm fully with you on that.
I send them back a mail about that (I used your address @ geocities for a copy of the mail but your address failed on being delivered - geocities replied "This account has been disabled or discontinued" :( - so I will PM you a copy of the mail).
Edit2: @suiryc: The "Daily Use" guide on the tortoise cvs site seems to pretty much sum up what cvs is all about and it seems to be what I wished it was :)
Oh you also followed the advice of sh0dan ;)
lat3ralis
20th October 2002, 01:24
@Belgabor + others:
I think your idea for vdub + avs integration is an excellent idea :)
I hate to be a pain, but can i make one small sugestion for a good feature for the prog ...
Is it possible to add an "auto shutdown" feature to shut your pc down once all jobs are complete in the job list?
I think this feature was in nandub (i'm not entirely sure). If you could add this feature, it would make 2-pass Xvid encodes a lot easier and more automated.
Thankyou for your excellent idea,
lat3ralis
cult
20th October 2002, 01:36
yes,there was this option in nd
Defiler
20th October 2002, 02:12
Why would you want to turn off your PC? :)
Guest
20th October 2002, 02:30
There is an auto shutdown filter at my website under Hosted.
lat3ralis
20th October 2002, 03:08
Thankyou for your help neuron,
I don't know how i overlooked that filter on your site :)
@defiler:
I want to shutdown the machine i use for encoding, because it doesn't need to be on 24hrs/day (its not a server). I usually do my encodes overnight and i don't want to leave my pc on.
lat3ralis
Ezzelin
21st October 2002, 08:46
Or you could get the freeware program AMP WinOFF, which can be configured to shutdown when the CPU becomes idle for x amount of time (along with a lot of other conditions). The homepage is http://go.to/ampsoft (this is what I use)
[Toff]
25th October 2002, 14:13
I've made a little modification to VirtualDubAVS 0.3.alpha2 called "Tweakable Line".
Here is an example of how it work, imagine the following avs code
mpeg2source("darkcity.d2v",0)
#Convolution3d (preset="movieLQ")
Convolution3d (preset="movieHQ")
#SimpleResize(512,384)
BicubicResize(512,384)
#BilinearResize(512,384)
#LanczosResize(512,384)
You want to test the differences between resize filters and different Convolution3d parameters.
In your avs code you add #StartTweaking and #StopTweaking line to delimitate the line you want to work on, like bellow :
mpeg2source("darkcity.d2v",0)
#StartTweaking
#Convolution3d (preset="movieLQ")
Convolution3d (preset="movieHQ")
#StopTweaking
#StartTweaking
#SimpleResize(512,384)
BicubicResize(512,384)
#BilinearResize(512,384)
#LanczosResize(512,384)
#StopTweaking
Then you place the text cursor between the 2 marker line.
And you press Ctrl-F1 to uncomment first line and comment all other lines, Ctrl-F2 to uncomment second line and comment all other lines ...
So you can quickly see differences.
I've attached my source files if you want to add it to your version.
(there is 2 version, AVSViewer_preclean.cpp : before cleanup so you can make a diff to merge quicly, AVSViewer.cpp after cleanup).
I hope you find this usefull ;)
Richard Berg
28th October 2002, 13:12
Bug report: the 'AVS editor' menu option is greyed out when an AVS isn't loaded explicitly from the File menu. I.e., none of the following cases work:
-drag AVS file onto the VDub icon in Quick Launch (my usual method)
-drag AVS file onto running VDub window
-rightclick + "open with" VDub from Explorer or elsewhere
-more I'm not thinking of
I doubt explicit support for each of these is needed, but I haven't peeked at the source yet to see how I'd make the change...
WarpEnterprises
28th October 2002, 17:23
@RB: Are you sure you have the latest (0.3alpha2) version? With mine this works now!
Richard Berg
28th October 2002, 17:41
True dat. Thanks for the preemptive bugfix, Belgabor! Now to just get all the VDub mods on one CVS tree...
crOOk
29th October 2002, 13:39
Finally one BIG improvement in Virtual Dub: The refresh option. I love it. Thank you!
Richard Berg
4th November 2002, 09:42
The new "Open video file via Avisynth" option on the File menu causes VDub to exit immediately. What is it supposed to do? (using v0.3 alpha 2)
MaTTeR
4th November 2002, 14:03
Originally posted by Richard Berg
The new "Open video file via Avisynth" option on the File menu causes VDub to exit immediately. What is it supposed to do? (using v0.3 alpha 2)
I got the same effect. Unfortunately, Vdub will no longer open any of my .avs files without exiting immediately without any error given. I spent about 4hrs last night uninstalling AVISynth, cleaning the registry and trying different versions. Tried 3 different versions of Vdub with a simple script of - version()
Anyone have any ideas? I fear a reinstall of Win2k will be needed:(
Edit- Well after waking up this morning with a fresh mind and a pot of coffee I've solved the problem. Using TaskInfo2002 I was able to notice that any program trying open an .avs was automatically calling all the filters I had located in my AVISynth plugins directory. I moved all the filters out of that plugin directory and it seems things are back to normal. What I don't know is why this happened. Anyone know if this is normal operation for apps to call all the dll files in the plugin directory even though a script doesnt call for them?
Suzahara
4th November 2002, 17:19
Originally posted by MaTTeR
Anyone know if this is normal operation for apps to call all the dll files in the plugin directory even though a script doesnt call for them?
The way I understand the plugin dir properties of avisynth is that it automatically does the equivalent of you putting
LoadPlugin("C:\plugindir\plugin1.dll")
LoadPlugin("C:\plugindir\plugin2.dll")
LoadPlugin("C:\plugindir\plugin3.dll")
LoadPlugin("C:\plugindir\plugin4.vdf")
It could be one of two things that you're seeing, just avisynth loading up all the plugins like this, or the application is actually calling them for some reason, although I have no clue why it would. The application wouldn't even know they were there except for avisynth telling it that they were there.
:confused: :confused: :confused:
You might try removing the dll's one at a time though. Could be one of them is the cause of the trouble. Perhaps a dll clash? :confused: :sly:
MaTTeR
4th November 2002, 17:29
Well I've started putting a few of the dlls back in the folder slowly and so far it's ok. At first I tried putting all 12 of them back in and then I had the same problem of applications quitting immediately.
The script I was running was simply this-
version()
BicubicResize(396,220,0.2,0.2)
However, I noticed fliters being loaded such as convolution3d, decomb, etc. Basically all of them were loading for soem reason. Up until now the auto-load plugin directory had worked flawlessly but something happened. You could be right about a conflicting DLL, though I havent changed any of them in a week or two and I encode on this machine constantly without rebooting. Oh well, chalk it up as another wonderful strange Windows problem.
Suzahara
4th November 2002, 17:46
Must be wonderful strange Windows problem 5,103,039,402 since I just downloaded taskinfo2002, tried my luck with your avs and opened it up and low and behold, no dll's were used by vdub. Opened another script that I had made, and only the dll's I called showed up. Isn't Windows wonderful? :D :devil:
Belgabor
4th November 2002, 21:32
Open via AVISynth just auto-generates a avs-file according to a given template and opens it. I'm pretty sure whatever causes dlls to be loaded shouldnt be my code.
Cheers
Belgabor
P.S: First Version of VirtualDubMod is out :)
metallikop
2nd December 2002, 03:33
Any chance of an update to 1.4.13+ in the near / distance future? I can't live without VirtualDubAVS, and virtual dub has had some good changes in the past few versions. No rush though ;)
Thanks again.
-mk
hakko504
2nd December 2002, 09:24
Originally posted by metallikop
Any chance of an update to 1.4.13+ in the near / distance future? No rush though ;)
Already done, but not released yet. See Belgabor's answer to this thread! (http://forum.doom9.org/showthread.php?s=&threadid=39321)
Belgabor
3rd December 2002, 00:36
Originally posted by metallikop
Any chance of an update to 1.4.13+ in the near / distance future? I can't live without VirtualDubAVS, and virtual dub has had some good changes in the past few versions. No rush though ;)
Thanks again.
-mk
Just to be sure, you know VDubAVS is now in VirtualDubMod? The script editor has much improved over that. (And most important updates in VDub 1.4.13 were already in VDubMod 1.4.12.1)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.