Log in

View Full Version : VirtualDubAVS 0.3alpha1


Pages : [1] 2

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).