Log in

View Full Version : AviSynth 2.5.5 Released!


sh0dan
1st September 2004, 16:16
Hi everybody!

So finally there is a new AviSynth version for you!
The complete changelist from version 2.54 is below:

Additions:
* Added TCPDeliver, which enables video to be served via local network.
* Added a huge list of ColorPresets, that can be used instead of colors (which can be found in the plugins folder: colors_rgb.avsi).
* Added: BlankClip now has color_yuv, that allows setting and YUV color for YUV clips.
* Added AssumeFPS(clip1, clip2 [, sync_audio=true/false]) (stickboy again)
* Added audio=true/false to SelectRangeEvery. This will optionally also cut up audio according to the select. Default: true.
* Added Turn180()
* Added FrameRateNumerator() and FrameRateDenominator() as clip properties.
* Added AudioLenghtF() as clip property.
* Added IsAudioFloat() and IsAudioInt() as clip properties.
* Added experimental "after_frame=true/false" to ScriptClip.
* Added FOURCC parameter to AviSource by stickboy.
* Added Lanczos4Resize().
* Added french documentation.
* Added float audio and multiple channels support to Dissolve.
* Added WriteFile, WriteFileIf, WriteFileStart, WriteFileEnd. (WarpE)
* Added dll-name prefix to plugins as per http://forum.doom9.org/showthread.php?s=&threadid=72235.
o o Syntax is DLLNAME_function(), where DLLNAME is the filename of the dll containing the function.
* Added automatic audio cache.
* Added CPU stuff to Info().
* Added automatic audio cache.
* Added GeneralConvolution divisor.
* Added audio cache after EnsureVBRMp3Sync.
* Added dotted lines at zero levels to view bias in Histogram(mode="stereo").
* Added TimeStretch(). This filter can change speed of the sound without changing the pitch, and change the pitch of a sound without changing the length of a sound.

Optimizations:

* SSRC now has aligned data (slightly faster and SSE ready).
* Added MMX optimizations to Overlay mode lighten+darken with opacity=1.0, with no mask.
* Added SSE float to int audioconversion.
* Added 3DNOW! optimizations to sample-type conversions int to float, and float to int. Much faster.
* Added faster MMX to Invert by ARDA.
* Added RGB24, YUY2 and YV12 MMX Invert() function.
* Added MMX/ISSE chroma convertion to Overlay with YV12 input.
* Added MMX function for Overlay(mode="blend"), when a mask is used and opacity = 1.0.
* Removed unneeded DevIL components

Bugfixes:

* Fixed: DirectShowSource properly releasing filters on unload.
* Fixed: ImageReader/ImageSource flipped error messages and info overlay.
* Fixed MergeLuma not always updating properly.
* AssumeFPS: Added sanity check to ensure that denominator isn't zero.
* Fixed Loop() when called with no video (stickboy)
* Fixed error not being thrown in Conditionalfilter on an invalid operator.
* Fixed crash on certain resolutions in Resize.
* Fixed linecount on multiline strings (Bug ID 989276]
* Fix VideoFrameBuffer cache corruption
* Fixed VideoFrameBuffer cache corruption during "Plan C" memory recovery.
* The problem with ApplyRange/Animate?'s inability to use functions that take no additional arguments should be fixed.
* Removed overflow bug in ssrc upsampler.
* Fixed Audio cache crash if no audio.
* Cleaned up ApplyYV12 in textoverlay.
* Fixed float audio in Dissolve.
* Fixed audiobits clip properties now returning bits and not bytes.
* Fixed ConditionalReader inaccuracies on integer interpolation.
* Fixed Mask() problem with footage with different pitches.
* Subtract now clamps errors instead of overflowing.
* Added specific (and simpler) stereo mode to TimeStretch - no more drifting.
* Made ISSE YUY2 HorizontalReduceBy2() more "safe".
* Fixed missing plane in TemporalSoften.
* Corrected some quirks in TemporalSoften scenechange on artificial sources.
* Fixed IsParityKnown() in avisynth.h - thanks to stickboy.
* Random in scalemode is not returning limit value - thanks you stickboy!
* Fixed: Trim audio could crash, if sample types were different.
* Fixed crash-on-exit in SSRC, if rateconversion was skipped.
* Fixed one frame missing in TemporalSoften.
* Fixed Trim audio crash if sample types were different.
* Fixed crash-on-exit in SSRC, if rateconversion was skipped.
* Fixed chroma moving half a pel in Overlay with YV12-input mode.
* Fixed minor glitches in audio cache (out of range requests)

Changes:

* DirectShowSource now requests interlaced material to avoid internal (crappy) WMV9 deinterlacer. (Thanks to Russel Lang)
* ImageReader/ImageSource now accepts relative paths in all configurations.
* Adjust audio length in SelectRangeEvery to match new video length.
* Updated installer.
* ImageReader: tweaked default parameters.
* ImageReader: made ColorBars parameters optional (like docs claim!)
* ImageReader: No more "Image not in range". First frame is ALWAYS frame 0.
* Updated SoftWire codegenerator to latest version.
* ImageReader: Static image support, Floating-point FPS, aliased to ImageSource, frames automatically flipped when necessary.
* ImageWriter: Optional "info" parameter to show filename.
* ImageReader / ImageWriter: All errors returned as text clips.
* AviSynth will longer resize to non-mod4 widths in YV12 mode!
* Dissolve can now handle audio input with different sample types.
* Dissolve now checks if samplerates are the same.
* Trim/Dissolve: Better error reporting.
* Updated DevIL libs; removed unneeded DevIL components; improved error reporting in ImageReader / ImageWriter.
* Updated Overlay(mode="multiply") to work more logical. Old functionality is no more!
* Updated Overlay(mode="multiply") to work more logical. Old functionality is no more!
* Updated DevIL libs
* Improved error reporting in ImageReader/ImageWriter.
* DirectShowSource() is now a plugin, and is automatically placed in the plugin directory by the installer.
* Disabled avisynth_c plugin autoloading (no longer a compatible way to do so).

Download from the SourceForge Project page (https://sourceforge.net/projects/avisynth2/) as usual!

malkion
1st September 2004, 18:04
Much Appreciated sh0dan!

Piper
1st September 2004, 19:01
Thanks for all your hard work sh0dan! :D

lamola2003
2nd September 2004, 07:52
Thanks for all.
lamola

Wilbert
2nd September 2004, 09:25
The shortest changelist ever :)

tiki4
2nd September 2004, 14:48
Thanks a lot!

tiki4

stickboy
2nd September 2004, 18:02
Originally posted by Wilbert
The shortest changelist ever :)sh0dan cheated :) :
* Updated DevIL libs; removed unneeded DevIL components; improved error reporting in ImageReader / ImageWriter.
* Updated Overlay(mode="multiply") to work more logical. Old functionality is no more!
* Updated Overlay(mode="multiply") to work more logical. Old functionality is no more!
* Updated DevIL libs
* Improved error reporting in ImageReader/ImageWriter.

Wilbert
2nd September 2004, 19:20
I'm afraid I made that list :D

Schlumpf
3rd September 2004, 15:02
Big thanks to the Avisynth development-team!

Arlong
5th September 2004, 09:37
Fabolous. Many thanks :)

Rico S.o.S.a
5th September 2004, 12:08
@ sh0dan:
Thanks your the best

Keep up the good work

Rico

b00zed
5th September 2004, 13:42
Tidy!

Alxemi
5th September 2004, 15:02
Incredible list. Thanks Avisynth team for such a piece of software!
BTW, a little info about the new resizer (lanzcos4resize) would be very appreciated! :thanks:

DDogg
6th September 2004, 05:20
Sh0dan, did you notice this release represents slightly over 2 years of work from the AviSynth team? If memory serves, I think you guys really got cooking about the time of this thread (http://forum.doom9.org/showthread.php?s=&threadid=30436&perpage=30&pagenumber=1). Wow! What an accomplishment. Not only the huge progress of the project itself, but also how well all of you have worked together so selflessly toward this goal with grace and teamwork. It is really quite amazing.

Anyway, just wanted to add my thanks to those above, and point out to any of the newer folks just how much time and energy you guys have all given to the group and the AviSynth (2) project. The coding and documentation ought to win an award or something. Shame we don't have a "Hall of Fame" for software projects - you would all belong in it without any doubt.

len0x
6th September 2004, 11:44
Nice! :)

I see in the docs "Advanced Conditional Filtering Part 2" has sort of AutoGK script for source analysis! :cool:

Dark-Cracker
6th September 2004, 12:16
yes it's the autorv10 analyse script :)

len0x
6th September 2004, 12:20
Originally posted by Dark-Cracker
yes it's the autorv10 analyse script :)

Aha, so it got copied several times then :) I would be nice if source was mentioned though...

Dark-Cracker
6th September 2004, 12:52
hum i think the source have been mentionned in the thread where the script have been extracted.

len0x
6th September 2004, 13:00
Originally posted by Dark-Cracker
hum i think the source have been mentionned in the thread where the script have been extracted.

Actually I see now how new version was constructed:
http://forum.doom9.org/showthread.php?s=&threadid=74395
My script was modified by Wilbert to get it working under 2.5.5 and WriteFile. And as Wilbert is writing help for avisynth its only natural that he put it there :)

P.S. Its nice that I didn't have to spend much time on converting it - compliance of AutoGK with 2.5.5 was achieved in munites :D

Dark-Cracker
6th September 2004, 13:09
Out T : yep the writefile function is really powerfull have u never experienced some problems with chr.dll file ? if i right remember there were an handle close problem if the loop to grab each frame was too quick (but it's an another problem :) ).

In T : thank u for your hard work sh0dan avisynth is always getting more and more better keep up the good work.

len0x
6th September 2004, 13:17
Originally posted by Dark-Cracker
have u never experienced some problems with chr.dll file ?


never had any problem with it...

cheerow
7th September 2004, 13:51
Thanx! Improvements of already top notch things are great!
Originally posted by Alxemi
BTW, a little info about the new resizer (lanzcos4resize) would be very appreciated!
Yep, that would be nice.

lark
7th September 2004, 13:56
avisynth.org (http://www.avisynth.org/Resize)

Lanczos4Resize is closely related to LanczosResize (correct name: Lanczos3Resize). The latter uses a 6-tap filter and the former a 8-tap filter to do the resizing. The result is that Lanczos4Resize produces sharper images. Especially usefull when upsizing a clip.

regards
t :)

Wilbert
7th September 2004, 14:08
My script was modified by Wilbert to get it working under 2.5.5 and WriteFile. And as Wilbert is writing help for avisynth its only natural that he put it there :)
Like Dark-Cracker said, I didn't know it was used in AutoGKnot, cause I never saw the script (other than DC posted).

I will add a note that something like this is used in AutoGKnot ( just as you gave some credits where the xml files (the filter descriptions) are coming from :) ).

Wilbert
9th September 2004, 21:08
1) I noticed that a YUY2 clip should have width divisible by 4. Is that intended?

2) ThrowError doesn't work:

if (!vi.IsYUY2()) // or whatever condition
env->ThrowError("...");

results in an unrecognized exception if the condition is not met.

Fizick
11th September 2004, 01:17
I never used ImageWrite previously, try it, and found a some mistakes in Avisynth 2.55 html doc. :(
Firstly, the hyperlink to this filter is broken.
Secondly, the filter parameters names are not correct:

See:
ImageWriter (clip, string "file", int "begin", int "end", string "format")

Must be:
ImageWriter (clip, string "file", int "start", int "end", string "type", bool "info")

In text too.

The example script is correct.

chon_wang
11th September 2004, 01:28
Just curious If anyone is experiencing slower encoding when using this version of AviSynch with CCE, I'm using CCE 2.66, than AviSycnh 2.5.4?

Wilbert
11th September 2004, 18:30
@Fizick,

Corrected, thanks!

stickboy
13th September 2004, 00:17
Line 110 of colors.avsi contains two variable declarations, one of them a duplicate entry for color_aliceblue.

(I'm surprised the parser accepts this.)

kassandro
14th September 2004, 05:41
ImageReader unlike the german documentation has changed from 2.5.4 to 2.5.5. Now my ImageReader scripts are rejected and the documentation doesn't help me.

stickboy
14th September 2004, 06:22
Post your scripts and post your error.

kassandro
14th September 2004, 06:43
Aargh, I forgot to specify the frame rate. Now the script
ImageReader("picture.jpg",0,100, 25, false)
is executed but with a bug. While in the first frame picture.jpg is displayed correctly in all the other frames "picture.jpg" is displayed upside down. Now, if I display other frames so long such that the first frame is removed from the Avisynth Cache and move back to the first frame, then the first frame is displayed upside down as well. Strange phenomenon, isn't it? Already in 2.54 ImageReader had the upside down problem, but then all frames were displayed upside down. I hope that this problem can be reproduced.