PDA

View Full Version : AviSynth 2.05 Released


sh0dan
22nd August 2002, 20:54
There has been so many important bugfixes, that I thought it was about time to release 2.05. So here it is!

Download it from the sourceforge homepage. (http://sourceforge.net/projects/avisynth2/).


Changes:
- Additions to the Compare filter (Statistics over several frames)
- Reorder function loading to hopefully give plugins precedence over filters
- Added LowPassAudio(frequency) and HighPassAudio(frequency)
- Many updates and additions to documentation.
- New function: String(value) - converts any AVSValue to string.
- Bumped number of plugins to 50 from 30
- Avisynth now allocates minimum 16MB cache, or otherwise 1/4th of free physical memory.
- Plugin autoloading (Create string regkey: HKEY_LOCAL_MACHINE\Software\Avisynth\PluginDir) (still in alpha)

BugFixes:
- Crash-on-exit bugfix in SegmentedAviSource.
- Audio-related bugfix in AVISource.
- Bugfix in FilteredResizeH (see bug [ 588402 ]) minor optimizations too.
- Bugfix: TemporalSoften
- Bugfix: dropped frame (introduced in 2.04).
- Fixed bug in Pow(x,y)

Notes:
2.05 Known bugs:
- Segmented captures may lead to crashes, if the last segment isn't a valid AVI file (that is, doesn't contain any frames). Try version 2.02 instead.


Everyone enjoy!

Dreassica
23rd August 2002, 13:31
THNX, gona try it immediately!!

Blight
23rd August 2002, 13:46
Good work,

P.S.
Time warner link seems down.

sh0dan
23rd August 2002, 14:44
Time Warner link?

Latexxx
24th August 2002, 09:14
One of the sourceforges download mirrors is provided by time warner.

Boulder
24th August 2002, 11:00
Version 2.05 seems to fix my problems (see the thread I started earlier on crashes with 2.04).

LigH
24th August 2002, 12:45
Indeed, the LumaWrap bug seems fixed - I hope not only hot-fixed, but really debugged. And I really enjoy that Tweak is even included now; cooperation with Donald Graft, I guess?

neuron2
24th August 2002, 13:56
Tweak is a basic function that is unlikely to change. Therefore, tying it to releases of Avisynth is not a serious issue.

LigH
24th August 2002, 14:19
Oh, hi, Donald... Just while you are here: How about a stable redirector or even a really own domain? The few days you were lost during your subdomain change were so hard for me... ;)

neuron2
24th August 2002, 14:33
Hard for me, too!

Here's what happened. My site is hosted by a friend from the rec.video.desktop Usenet newsgroup. One day the power supply died on the machine. My site was the only thing on it at the time. So he just shifted it to a new server and tried some DNS magic to redirect the URL. But the redirect wouldn't take and he kept trying to make it work. I was reluctant to republish an URL because it's in all my source and HTML files and all over the world. The redirect just recently seems to be working, so I am not going to republish it as shelob. But I will watch to make sure things are OK. Perhaps the DNS info has just now propagated to all the servers.

neuron2
24th August 2002, 14:38
I couldn't use 2.04 because it crashed often. Another thread implies that the new 2.05 also still crashes. Is it true? If so, please advise when a usable 2.xx version will be released. Perhaps a formal beta process should be adopted.

sh0dan
24th August 2002, 15:16
@neuron2: There is one known issue involving using Win98 and Matrox MJPEG codec - so I would regard this version as very stable (the most stable yet, including 1.x versions). Compressed audio introduced some annoying bugs, so seen en rear-perspective it should perhaps not have been included in 2.04 - on the other hand, I think we got most, if not all of the bugs squashed now.
When 2.0x is stable we'll begin working on 2.1x where we'll use beta-versions until it's stable enough. We just don't want the beta1,2,3,4,5,5b,6,7 to go on forever.

@Latex & Blight: Oh - that link! The mirrors may not be synchronized yet, or they're having problems - we have no control over mirrors - SourgeForge does that automatically.

@LigH: Yes, tweak is by Donald, and optimized by dividee - and it's a great tool. Maybe Color_YUY2 would be even better, as a supplement. But we'll have to talk to the author first.

Suzahara
24th August 2002, 19:22
Originally posted by sh0dan
- Avisynth now allocates minimum 16MB cache, or otherwise 1/4th of free physical memory.


Does this mean that we no longer have to put SetMemoryMax(40)?

iago
24th August 2002, 19:29
Originally posted by Suzahara
Does this mean that we no longer have to put SetMemoryMax(40)?

So far I've had no problems with avisynth 2.05 without using that parameter.

regards,
iago

Suzahara
24th August 2002, 19:31
So it runs at the same speed (or hopefully faster :p ) as 2.04 did with that parameter?

sh0dan
24th August 2002, 20:01
It should be same speed as 2.04 with SetmemoryMax(16) or more than 16, if you have more free memory.
It will only be in very rare cases, where the 16MB isn't enough.

So the answer is YES! :)

neuron2
24th August 2002, 22:48
>There is one known issue involving using Win98 and Matrox MJPEG
>codec - so I would regard this version as very stable

What about all that business with the _declspec problems? Does that affect only specific filters? If so, which ones? Thank you.

hakko504
24th August 2002, 22:53
Originally posted by neuron2
What about all that business with the _declspec problems? Does that affect only specific filters? If so, which ones? Thank you. As far as we can tell, it only affects resize in certain circumstances, See this thread. (http://forum.doom9.org/showthread.php?s=&threadid=31924) And it is fixed now in the CVS, but not released yet. Might be a good time for 2.0.6 ...:devil:




Edit: It wasn't perfect after all..

sh0dan
24th August 2002, 22:54
Seemingly it affected the resize functions (Bicubic/Bilinear) on Win98 machines using this sepecific codec. The other filters that contain _declspec doesn't seem to have the same problems.

sh0dan
24th August 2002, 22:55
@hakko: I would like to test the changes I did to AviSource a bit better - they seem ok, but I'd like to have them tested a bit further.

neuron2
24th August 2002, 22:55
Gentlemen, thank you for the prompt reply.

Wilbert
25th August 2002, 12:28
I guess I'm doing something stupid, but:

- Plugin autoloading (Create string regkey: HKEY_LOCAL_MACHINE\Software\Avisynth\PluginDir) (still in alpha)

doesn't work. (I downloaded the binaries of yesterday.) I created a directory C:\program files\avisynth\plugindir and put msmooth.dll in it. But AviSynth doesn't recognize msmooth.dll.

Belgabor
25th August 2002, 15:52
Same problem here as wilberts.

I tried all four:
- Making Plugin dir a key and a string value in AviSynth
- With and without trailing "\"

Cheers
Belgabor

dividee
25th August 2002, 16:42
Just downloaded the official 2.05. Plugin autoloading works for me.
Here is the registry information. Paste it in a .reg file and change the path information (use double \\ instead of simple \). Then double-click on the reg file.
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"PluginDir"="c:\\program files\\avisynth\\plugins"
Trailing backslashes shouldn't matter.

soulfx
25th August 2002, 16:57
Are all the plugins loaded that reside in the plugin directory or are they dynamically loaded as needed by the script?

dividee
25th August 2002, 17:09
More or less dynamically.
In fact all plugins are loaded at startup (to register the filters they contain) and unloaded (to preserve memory).
Then they are loaded dynamically as the script needs them.

pankov
25th August 2002, 23:19
:(
I can make it work with this registry setting.
I've put avisynth DLLs not it Program Files\...\.. but in other folder on my HDD (C:\Internet\DVD & DivX\Utils\Avisynth\DLLs)
but I think it doesn't matter.
When I add this path in the registry using double "\" and load a simple .avs file into Media Player I get this error:
"Ran out of memory" from WMP
!??!?!
what am I doing wrong?

pankov
31st August 2002, 18:51
oooooooh
come on, somebody, please
:(

This is an registry export file of my reg settings:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"PluginDir"="C:\\Internet\\DVD & DivX\\Utils\\avisynth\\DLLs"


This is the .avs file I use

LoadPlugin("mpeg2dec2.dll")
#LoadPlugin("C:\Internet\DVD & DivX\Utils\avisynth\DLLs\mpeg2dec2.dll")
mpeg2source("result2.d2v")


and it doesn't work :(
I get this:
LoadPlugin: unable to load "mpeg2dec2.dll"
if I uncomment the other LoadPlugin command and comment this it works fine.
:confused:

I also noticed that if there are any .avs files containing the LoadPlugin command in this folder I get the nasty "Ran out of memory" error of Media Player

If you need any other information concerning this just ask and I'll try to answer.

neuron2
31st August 2002, 18:56
Don't know if this is a problem, but try changing "DVD & DivX" to something without spaces and ampersand, like "DVDDivX".

pankov
31st August 2002, 19:00
:(
I've tried putting the dll's in
C:\DLLs
even in
c:\program files\avisynth\plugins
as mentioned in previous posts and release notes but with no luck
:(

soulfx
31st August 2002, 19:30
@pankov:

I noticed in your previous posted code:


LoadPlugin("mpeg2dec2.dll")
#LoadPlugin("C:\Internet\DVD & DivX\Utils\avisynth\DLLs\mpeg2dec2.dll")
mpeg2source("result2.d2v")


You had LoadPlugin("mpeg2dec2.dll"). this is not needed when you are autoloading the plugins. You do not need to have LoadPlugin() at all in your AVS script. Uncomment all your LoadPlugin's and give it another shot.

Peace,
SoulFX

dividee
31st August 2002, 19:35
@pankov:
As long as the dll is in the plugin directory, it loads it automatically; you don't need any explicit LoadPlugin line!
just try a script with:
mpeg2source("result2.d2v")
EDIT: soulfx was faster
I also noticed that if there are any .avs files containing the LoadPlugin command in this folder I get the nasty "Ran out of memory" error of Media Player
That might be a bug. The autoloading feature also loads AVS files in the plugin directory; but these files should only contain function definitions and/or global variables declarations (such as vdub_filters.avs). I didn't think too much about what could happen if a regular script is put there. I'll see if I can make it more robust. Can you post the script that cause it? Does it happen when you open this script or even if you open another script in another directory?

Si
31st August 2002, 21:11
I'm having problems as well - if I set the plugin dir to c:\av\avisynth\, everything works as it should.

But if I set it to c:\av\avisynth\myplugins\ then I can't even open a script at all - I get Avisynth open failure: AviSynth: script open failed! Even with just doing a simple script as

Version()
return last

With a bit more experimentation, I've found that if the PluginDir contains other files apart from plugin dlls there seems to be a problem.

EDIT Just see Dividees last post - I was keep my testing .avs scripts in the same place - obviously will have to keep them separate :o

regards
Simon

ErMaC
1st September 2002, 04:49
From my experience AVISynth has trouble when opening files in directories that contain spaces. Trouble loading plugins, trouble opening source files (especially with MPEG2Source although that's MPEG2DEC.dll specific) etc. Has this been looked into?

pankov
1st September 2002, 10:14
@soulfx & dividee
:)
I've removed the LoadPlugin command and it WORKS
:D :D :D

but isn't it better if the LoadPlugin command checks if the .dll exists in the PluginDir folder?

@dividee
I get the "Ran out of memory" error when I try to play any .avs (either in the plugin dir or outside of it) and when there - in the plugin dir there is an .avs file containg a LoadPlugin command with non existing .dll (wrong path/name) as param.
like this one:


LoadPlugin("C:\Internet\DVD & DivX\Utils\avisynth\DLLs\GreedyHMA_notExisting.dll")


if the file exists there is no problem.

stax76
10th September 2002, 00:20
I have some problems, I tested
on two different recordings,
both 480x576

the following scripts fails,
I get a strange looking image

mpeg2source("test.d2v")
Crop(8,2,-10,-2)


these are working

mpeg2source("Special.d2v")
Crop(8,2,-10,-2)
BicubicResize(512,384)

mpeg2source("test.d2v")
Crop(8,2,-8,-2)

WarpEnterprises
10th September 2002, 00:39
Can confirm.
There seems to be a bug with being not a multiple of 4.

stax76
10th September 2002, 02:10
I tested with a Pal DVD, same problem there. But only when I open the script with Zoom Player, VirtualDub opens it without problems, hope this helps

Maxi
11th September 2002, 23:02
Thanks, this fixed the dropped green frames i was getting.