Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st May 2003, 23:25   #1  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
AviSynth 2.5.2 Released

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.

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.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 31st May 2003 at 23:34.
sh0dan is offline   Reply With Quote
Old 31st May 2003, 23:48   #2  |  Link
puschpull
Guest
 
Posts: n/a
Thank You sh0dan!!
Great Work.

:-)
  Reply With Quote
Old 1st June 2003, 10:28   #3  |  Link
avih
Capture, Deinterlace
 
avih's Avatar
 
Join Date: Feb 2002
Location: Right there
Posts: 1,971
congrats
avih is offline   Reply With Quote
Old 1st June 2003, 14:23   #4  |  Link
trbarry
Registered User
 
trbarry's Avatar
 
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
Thank you Sh0dan!

Off to download now.

- Tom
trbarry is offline   Reply With Quote
Old 1st June 2003, 23:43   #5  |  Link
avih
Capture, Deinterlace
 
avih's Avatar
 
Join Date: Feb 2002
Location: Right there
Posts: 1,971
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.
avih is offline   Reply With Quote
Old 2nd June 2003, 06:23   #6  |  Link
shanquea
Registered User
 
Join Date: May 2003
Posts: 1
Thank you very much.
I must take some time to study it .
shanquea is offline   Reply With Quote
Old 2nd June 2003, 14:07   #7  |  Link
Gant
_
 
Gant's Avatar
 
Join Date: Dec 2001
Posts: 41
Outstanding work as always... thank you very much.
__________________
Jya matta,

Gant
Gant is offline   Reply With Quote
Old 2nd June 2003, 14:55   #8  |  Link
Blankman
dances with a pink tutu
 
Blankman's Avatar
 
Join Date: Mar 2003
Posts: 85
Documentation Bugs/Annoyances/Inquiry

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"
__________________
Everything should be made as simple as possible, but not one bit simpler.
-Albert Einstein

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
-Albert Einstein
Blankman is offline   Reply With Quote
Old 2nd June 2003, 15:36   #9  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
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.
WarpEnterprises is offline   Reply With Quote
Old 2nd June 2003, 17:26   #10  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
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).
Wilbert is offline   Reply With Quote
Old 2nd June 2003, 18:58   #11  |  Link
Defiler
Asker of Questions
 
Join Date: Oct 2001
Location: Florida
Posts: 433
Quote:
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.
__________________
"The real trick to optimizing color space conversions is of course to not do them." --trbarry, April 2002
Defiler is offline   Reply With Quote
Old 2nd June 2003, 19:28   #12  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
...after seeing the two who replied feeling a little guilty you now know who (mainly) made the docs...
WarpEnterprises is offline   Reply With Quote
Old 2nd June 2003, 19:30   #13  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Well - you deserve it! Without you and Wilbert, this release would never have been done already!
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 2nd June 2003, 19:35   #14  |  Link
Sigmatador
Guest
 
Posts: n/a
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 ? ^^
  Reply With Quote
Old 2nd June 2003, 20:33   #15  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
in which plugin are they?
WarpEnterprises is offline   Reply With Quote
Old 2nd June 2003, 20:41   #16  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I seem to remember simon walters made something like that.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 2nd June 2003, 22:03   #17  |  Link
Sigmatador
Guest
 
Posts: n/a
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 ) 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 ).

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

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 )

ps: "Is there a plan...or they must stay in a plugin ?" i just wanted to know if coding this is useless or not ^^
  Reply With Quote
Old 2nd June 2003, 22:12   #18  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
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.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 2nd June 2003 at 22:14.
sh0dan is offline   Reply With Quote
Old 2nd June 2003, 22:20   #19  |  Link
Sigmatador
Guest
 
Posts: n/a
Quote:
Originally posted by sh0dan
vi = crop(moveleft,moveup,-moveright,-movedown).addborders(moveright,movedown,moveleft,moveup)
LOL oki it's useless ^^ (and slower )
thx ^^
  Reply With Quote
Old 3rd June 2003, 04:46   #20  |  Link
Eyes`Only
Dizzin It Fizzast Fo Yizz
 
Eyes`Only's Avatar
 
Join Date: Mar 2002
Location: USA
Posts: 1,445
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?
__________________
"Those that can't... butcher. Those that can... DoItFast4U!"
DoItFast4U! v.1.4.7 now available with:
• Lightning fast subripping (up to 100x faster) •Choice of DoCCE4U/BatchCCE
•DVD2AVIdg useable by ReAuthorist •Bitrate control for use with NuMenu4U •Extras Bitrate applied to smaller PGCs in Main VTS •ScenAid integration •Right-Click Menus •Minimize to Systray •Improved Deinterlace Scripts
See: http://www.doitfast4u.com.


Use the donation link on the above URL or the app itself to make a $15+ donation and join the VIP list today!

Last edited by Eyes`Only; 3rd June 2003 at 04:57.
Eyes`Only is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.