Log in

View Full Version : AviSynth 2.5.2 Released


sh0dan
31st May 2003, 23:25
This is the first version of AviSynth 2.5 that no longer contain the beta label. This comes after a lot of bughunting, with great feedback from many users.

A lot has been done to help transition from AviSynth 2.0. Be sure to update all plugins for AviSynth 2.5, when upgrading - a link to the avisynth.org filter collection can be found below. Much additional documentation can also be found om avisynth.org!

A big thanks to everyone here at doom9 for good spirit and great feedback!

Enjoy!

Download from the SourceForge project page (http://sourceforge.net/projects/avisynth2/).

Official homepage:
http://www.avisynth.org/

AviSynth filter collection:
http://www.avisynth.org/~warpenterprises/

Changelist:
* Added light version of "ffvfw" to the installer. No "Cannot locate decompressor (YV12)" messages.
* Added ConditionalFilter, that returns one of two sources based on an expression.
* Added conditional filters:
o AverageLuma(), AverageChromaU(), AverageChromaV() functions. Returns a float from 0 to 255 based on the average pixel values of a plane.
o YDifferenceFromPrevious(), UDifferenceFromPrevious(), VDifferenceFromPrevious() and YDifferenceToNext(), UDifferenceToNext(), VDifferenceToNext().
o LumaDifference(clip,clip), ChromaUDifference(clip,clip), ChromaUDifference(clip,clip). They return a float value between 0 and 255 of the absolute difference.
o RGBDifference(clip1,clip2), RGBDifferenceFromPrevious(clip), RGBDifferenceToNext(clip).
o YPlaneMax(clip, float threshold), YPlaneMin(clip, float threshold), YPlaneMedian(clip), YPlaneMinMaxDifference(clip, float threshold). Threshold is a percentage, on how many percent of the pixels are allowed above or below minimum. The threshold is optional and defaults to 0. There are similar funtions for U and V.
* Added ScriptClip(clip, string function, [show=true/false]). This will return the clip returned by the function evaluated on every frame.
* Added FrameEvaluate(clip, script) - Similar to ScriptClip, except the output of the filter is ignored. This can be used for assigning variables, etc.
* YV12 <-> RGB conversions now use an intermediate YUY2 conversion to achieve better chroma upsamplig. As a result of this ConvertToRGB now also take an "interlaced=true/false" parameter.
* Added ImageWriter.
* Added "show" parameter to ConditionalFilter. This will overlay the results on the screen.
* Added dynamic compiled limiter.
* Implemented Belgabors patch for exporting plugin functions.
* Build date is now (semi)automatically updated in version.
* Added script functions: IsYV12(clip), IsPlanar(clip), IsInterleaved(clip)
* Loads of documentation updates.

Bugfixes:
* Fixed cache hints a bit up.
* Hopefully fixed jumping frame bugs in temporalsoften.
* Fixed crashed in temporalsoften on some setups.
* Fixed I420 / YV12 mismatch in Interleave.
* Fixed problems with implicit last giving problem with multiple filter instances of ScriptClip/ConditionalFilter.
* Many ImageReader/Writer fixes and updates.
* Fixed bug when height > 512 in RGB -> YV12 conversion.
* AviSynth now mimics VDubs way of handling dropped frames to avoid problems with buggy codecs.
* Trim now returns (x-1) frames as supposed.
* Fixed stereo setting in BlankClip
* Fixed float point exceptions being thrown in some applications, based on the CPU register settings. (Especially Delphi-based apps)

Optimizations:
* Added MMX RGB24->YUY2 conversion.
* Minor changes to existing RGB32 -> YUY2 MMX.
* Minor speedup to ISSE limiter.
* Added SoftWire dynamic compiled horizontal resizer. Approximately 10-15% faster - maybe even more on P4.

Changes:
* AviSynth will now attempt to deallocate framebuffers, if memory usage is 25% above default values or SetMemoryMax().
* Improved rounding precision in ISSE YV12 <-> YUY2 conversions.
* Improved chroma upsampling quality in planar YV12 -> YUY2.
* Better chroma alignment on interlaced YUY2 ->YV12.
* Slightly better precision in audio conversion.
* ApplyRange now checks if size and colorspace are the same.

puschpull
31st May 2003, 23:48
Thank You sh0dan!!
Great Work.

:-)

avih
1st June 2003, 10:28
congrats ;)

trbarry
1st June 2003, 14:23
Thank you Sh0dan!

Off to download now.

- Tom

avih
1st June 2003, 23:43
i don't know who's responsible for the docs (that come with the installation), but i'm impressed by their's scope, quality and presentation. nice work. cheers.

shanquea
2nd June 2003, 06:23
Thank you very much.
I must take some time to study it .

Gant
2nd June 2003, 14:07
Outstanding work as always... thank you very much. :)

Blankman
2nd June 2003, 14:55
Great work on the 2.5.2 release.

I had a chance to go over the documentation and found a few minor problems.

Under Quick Reference:

1) when "FadeIn / FadeOut /FadeIn2 / FadeOut2 / FadeIO / FadeIO2" is selected:

1.a) FadeIn, FadeIn2, FadeIO, and FadeIO2 are omitted from the header, function prototype list, and detailed description. This is inconsistent with the way the other detailed descriptions are organized (i.e. "Amplify / AmplifydB").

1.b) The decription for FadeOut contains "There is no corresponding FadeIn command, but you can get the same effect by reversing the arguments to Dissolve: Dissolve(Blackness(n+1,clip),clip,n)".

Now I know those four functions exist. Otherwise my scripts would be failing. Are you planning on deprecating these functions?

2) Function FlipHorizontal is omitted from the header in the detailed decription for "FlipHorizontal / FlipVertical"

3) Function ImageReader is omitted from the header, function prototype list, and detailed description for "ImageReader / ImageWriter"

WarpEnterprises
2nd June 2003, 15:36
Thanks for pointing out. There seems to be an error with Fade.html,... (happened with the switch 2.0x to 2.5x).

It is only in the doc, it won't be depreciated.

Wilbert
2nd June 2003, 17:26
3) Function ImageReader is omitted from the header, function prototype list, and detailed description for "ImageReader / ImageWriter"
Oops, quick_ref.html is pointing to imagewriter.html instead of image.html. The first one is not used anymore (if you overwrite AviSynth during install, imagewriter.html is still there).

Defiler
2nd June 2003, 18:58
Originally posted by avih
i don't know who's responsible for the docs (that come with the installation), but i'm impressed by their's scope, quality and presentation. nice work. cheers. Seconded. Avisynth's documentation is great.

WarpEnterprises
2nd June 2003, 19:28
...after seeing the two who replied feeling a little guilty you now know who (mainly) made the docs...

sh0dan
2nd June 2003, 19:30
Well - you deserve it! Without you and Wilbert, this release would never have been done already!

Sigmatador
2nd June 2003, 19:35
Well done ^^ thx ^^

Is there a plan for funtions like shiftluma(h,v)/shiftchromaU(h,v)/shiftchromaV(h,v) or they must stay in a plugin ? ^^

WarpEnterprises
2nd June 2003, 20:33
in which plugin are they?

sh0dan
2nd June 2003, 20:41
I seem to remember simon walters made something like that.

Sigmatador
2nd June 2003, 22:03
erf i didn't know this filter. (erf it's YUY2 only)

today i needed this to correct a UV shift on VHS-rip. i wrote it for YV12 (planarshift.dll ^^ i cant wrote too complicated filter :D ) this morning (damned! my endyear exams... :( ). planar_y only, it works fine (U and V just need 2 copy/paste ^^ Yv12 pawa). It's C only (sorry ^^ ), but i want to successfull write an ASM version before shifting U and V (copy/paste pawa :D).

how to describe the chroma... the shifted chroma is blend with the unshifted one, so it's impossible too correct that ^^

another sig's stupid question: what Y/U/V value i have to set the "empty" pixels ? (i set them to 0, dunno f it's a good idea but i don't care, i cropped them :D )

ps: "Is there a plan...or they must stay in a plugin ?" i just wanted to know if coding this is useless or not ^^

sh0dan
2nd June 2003, 22:12
moveleft=10
moveright=0
moveup=10
movedown=0
vi = crop(moveleft,moveup,-moveright,-movedown).addborders(moveright,movedown,moveleft,moveup)
Mergechroma(vi)

Adjust variables as you see fit.

U = V = 128 is grey.

Sigmatador
2nd June 2003, 22:20
Originally posted by sh0dan
vi = crop(moveleft,moveup,-moveright,-movedown).addborders(moveright,movedown,moveleft,moveup)LOL :D oki it's useless ^^ (and slower :D )
thx ^^

Eyes`Only
3rd June 2003, 04:46
Hmm.. Does this version finally fix the annoying addaudio bug? I realize that the community says this is intended to be a feature, but I have a hard time thinking of something that can cause CCE to crash as a "feature". If anything, there's got to be a way to detect whether or not the crash would happen and/or stop it internally, yes?

sh0dan
3rd June 2003, 08:19
@Eyes`Only: We are not going to code around clearly buggy software. All newer versions of CCE works!
It is a clear bug, that 2.5 needs to have audio in the file not to crash.

Eyes`Only
3rd June 2003, 08:30
I guess maybe soon people won't be using CCE 2.50, so maybe the problem will just go away. :sly:

shiva-x
3rd June 2003, 09:06
Is AviSynth 2.5.2 compatible with CCE 2.64 ? The previous version wasn't. Anyone tested this ?

WarpEnterprises
3rd June 2003, 12:01
2.64 cant read AviSynth. Its a problem of CCE not AviSynth.
2.5 and 2.66 works.

Procoder 1.035 wont read, 1.5 reads.
TMPG always reads

sh0dan
3rd June 2003, 12:03
... most of them should work using makeavis / ffvfw.

Sorenson Squeeze works nicely this way for instance.

Piper
6th June 2003, 22:15
I too want say congratulations and to add my thanks. I am continually impressed with both the quality of work that is done by all the contributers to Avisynth as well as the maturity of those who frequent these forums. Doom9 is a pleasure to visit (several times daily) as a result. Thanks, and congrats on 2.5.2!

vhelp
8th June 2003, 01:35
@ sh0dan.. or anyone w/ insight..

I finally installed AVIsynth v2.52 earlier today. However, it's ben
pretty hard on me. Lots of .DLL searching and replacing of my prev
ones. I'm not finished, but I saved myself a lot of greaf by D/L'ing
ALL available filter at WarpEnterprises's web site.

Now, one only issue that I have (which is major to me) is the decomb.dll
filter for v2.52

This filter doesn't work, and after installing even the:
* decomblegacy_20_dll_20021223.zip

does not work. Also, decomb_25_dll_20030327.zip is empty :( no .dll
files or any files. Should I assume that decomb is being replaced
by something else altogether then ??

@ sh0dan..
Is there an updated decomb.dll that works w/ v2.52 that I'm not aware
of, or is there something else that works JUST AS GOOD as neuron2's ?? ??

I'm not sure why I haven't really seen any complaint on the missing
decomb support for latest v2.52 - I'm stummped. My use are for mostly
"captured" sources.

Any help would be greatly appreciated. Thanks.
-vhelp

ARDA
8th June 2003, 01:53
follow this thread

http://forum.doom9.org/showthread.php?s=&threadid=54456

and www in any neuron2's post and you will find two different
versions of decomb.

Arda

vhelp
8th June 2003, 02:14
@ ARDA..

Thanks for your response.

Isn't the latest version v2.52 designed around YV12 ??

And, as such, then, wouldn't decomb fail to load, as it is doing
w/ me in my scripts ??

Performing a convertToYUY2 (or spelling) doesn't do anything still.
It's just saying that decomb is not v2.52 compatible, and bails out.

Thanks again for looking out for me.
-vhelp

Guest
8th June 2003, 03:15
Go to my site and get the 2.5 version. Thousands of people use it with 2.5, so you sound rather silly, if I may say so.

echooff
8th June 2003, 13:36
Is the any known filters this is know to clash with. After installation of 2.5.2 and the included filter, my sys just stopped. After 2 attempts at a reboot I had to go to basic mode and uninstall. I woulod like to get rid of the offending filter.:confused:

vhelp
8th June 2003, 15:01
@ neuron2..

Yes :) , silly I am !!
I'm heading on over now.

Thank you.
-vhelp

vhelp
8th June 2003, 15:28
@ neuron2..

I'm happy again :) All is (or seems) to be working just fine. Just
ran a quick test of ST Enterprise on that last seasons opening scene..
when that sphere is attaching earth.. man, they did a good job on that
scene. No jitters or anything. anyways.. and it looks great so far,
and I love it.

Thanks Neuron2 for your help, and w/ all due respects, it's
MUCH appreciated by me :)

-vhelp

neily
13th June 2003, 11:40
sh0dan,

I have just noticed that HighPassAudio and LowPassAudio are no longer present in v2.5.2 Is there some technical reason why this is so, or is it just an oversite? It would be nice if v2.5x was a superset of 2.0x. Are there any other filters that didn't make the cut?

sh0dan
14th June 2003, 11:42
@neily: They were cr*p IMO, and didn't meet the standard. We should have proper FFT based filters with better cutoff and better overall quality.

I cannot remember any other filters being removed.

Wilbert
15th July 2003, 21:42
ImageReader doesn't work properly (I will post it on sourceforge, if it's up again):

I got two pictures (JPG RGB24):

IMG_0001.JPG
IMG_0003.JPG

When I make the following script:

ImageReader("e:\Homepage\dctday\dinner\Temp\IMG_%04d.jpg", start=1, end=3, fps=24, use_devil = true)
FlipVertical()

and scroll through the frames, the following happens:

First pic is shown correctly. Second pic isn't shown, but an error message appears:

error: # 1290 encountered in DevIL library

sh0dan
15th July 2003, 22:02
1290 is a file open error. It will try to load frame 02, which is missing. Frames must be consequtive (sp?), with no gaps.

Wilbert
15th July 2003, 22:17
I always thought it was possible. But after reading the docs more carefully, I see it isn't.

Is there an easy way to renumber those pics?

edit: I found your post explaing how ...

sh0dan
16th July 2003, 15:37
Windows - sorry Total Commander (http://www.ghisler.com/) is simply the best piece of software I've ever bought - I couldn't imagine a world without it. :)

(no I am not affiliated! ;) )