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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th September 2006, 04:19   #1  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
AviSynth 2.5.7 RC-1 [Sept 16th]

Here is release candidate 1 for Avisynth 2.5.7. The intention was for this to be a bug fix release only, but a few minor gems have been slipped in.

Notes:- I forgot to turn of the COM environment debugging option when I made this build. The final release version will not have this feature. (It can cause problems with miserable software that employs anti-debugging technology. GRR!)

2.57 Changes from 2.56
Additions
  • Installer option for avisynth.lib, avisynth.exp and avisynth.map files.
  • DirectShowSource() now sets _HIRESOUTPUT property of WMAudio Decoder DMO. Allows 24 bit samples and 6 channel decoding.
  • Avisynth COM object now supports IAVIStreaming interface. Many apps blindly expect it and fail to load AVS scripts.
  • Conditional Reader now also accepts T, F, Yes and No for bool data.
  • DirectShowSource() log debug messages to file.
  • DirectShowSource() force set framecount.
  • DirectShowSource() accept audio streams of type WAVE_FORMAT_IEEE_FLOAT.
  • Added KillVideo() verb.
  • TimeStretch now exposes the tuning parameter of the SoundTouch library.
  • Adding global OPT_AllowFloatAudio=True to your script enables WAVE_FORMAT_IEEE_FLOAT audio output.
  • Explicitly request all the channels available in the audio stream [acm AC3]
  • Explicitly try to request float, 32 bit then 24 bit samples from the audio codec.
  • Accept raw audio streams of type WAVE_FORMAT_IEEE_FLOAT.
  • Added installer option to add "Avisynth Script" item to Explorer shell for new .avs file creation.
  • Added avs_delete_script_environment and avs_subframe_planar to avisynth_c interface.
  • Hack to allow Fraunhoffer MP3 codec to work when wBitPerSample==16. (Squid_80)
  • Added portugese translation (by RoLon), and partly french translation (by JasonFly)
  • Subtitle multi line text, set LSP arg and use \n. (foxyshadis, tateu)
  • xxxFPS("preset") string preset FPS values. (Tritical)
  • Better avisynth_c cdecl/stdcall mismatch detection and protection (Tritical).
Bugfixes
  • Fixed ConvertFPS() blend mode mix_ratio was wrong.
  • Fixed AviSource() handling of dud AVI files that start with drop frames, just return the first key frame.
  • Fixed DirectShowSource() handling of pin renegotiation.
  • Fixed Overlay() "PC_Range" argument handling.
  • Fixed SubTitle() crash when resources exhausted.
  • Fixed Resizers cropping argument validation.
  • Fixed % operator bad argument text message.
  • Fixed stuffing Audio buffer with video graphics on Exception. Now returns E_FAIL. Video stream subsequently will return error text in graphic form.
  • Fixed KillAudio() not resetting nchannels and sample type to 0.
  • Fixed Conditional Reader sscanf buffer overrun.
  • Fixed Version() and VersionString() timestamp discrepancies.
  • Fixed Serious inaccuracies in TimeStretch. It is still not sample exact!
  • Fixed Negative int arg handling for ApplyRange() and Animate().
  • Fixed Installer handling of readonly/inuse target files.
  • Fixed ConvertAudio SSE2 to Float alignment test.
  • Fixed (auto)LoadPlugin altname generation. (Tritical)
  • Fixed SaveString memory block overrun.
  • Fixed $Plugin!Functionname!Param$ bug. (Fizick)
  • Fixed registry handle leak on $PluginDir$ lookup. (Dave Brueck)
  • Fixed memory leaks avisynth_c.
  • Fixed returning locked/protected VBF's to LRU. (Tritical)
  • Fixed runtime mixed SEH/C++ exception handling for XPsp2. (Tritical)
  • Fixed CAVIStreamSynth::Read audio buffer overrun. (Avery Lee)
  • Fixed DLL handle leak in LoadPlugin. (Tritical)
  • Fixed Assert("text") no longer parses % args.
  • Fixed number parser returning inaccurate float conversions.
  • Fixed ConvertFPS() blend mode not processing of chroma planes.
  • Fixed resizer resampling pattern attempted use after deletion.
  • Fixed resizer subpixel shifting functionality being a noop.
  • Fixed Info() auto font selection metric.
  • Fixed Conditional error checking of float RHS.
  • Corrected colours in YUV ColorBars, Now match BT.801-1.
  • TCPDeliver updates: Client: Fixed crash if client gets disconnected.
  • TCPDeliver updates: Server: Remember to disconnect clients when shutdown.
  • Fixed Turn*() YUY2 mod 2 height test.
  • Fixed AVISource() corrupted error messages.
  • Fixed AVISource() direct input drop frame handling.
Optimizations
  • SubTitle() releases all resources when the last frame of the clip is rendered.
  • SubTitle() releases GDI resources after text map is created.
  • ApplyRange() only builds 2 chains instead of 3.
Changes
  • Map file is now generated for release builds.
  • ConvertTo*() and GreyScale() now accept "Rec601" as a valid matrix name.
  • DirectShowSource.dll upx'ed.
  • Upgrade internal copy of SoundTouch library to 1.3.1.
  • SoundTouch now available in RelSym build.
  • Animate Integer arg enumeration no longer rounds toward positive infinity. Both positive and negative enumerations are identical. i.e. For Animate(0, 10, "Foo", 0, 0, 10, -10), Foo's arg1 = -arg2 for all frames.
  • Selecting associate open with Notepad with .avs files in the installer now also includes .avsi files.
  • The Installer now pushes a recovery dialog box when unwritable files are encountered during an install. The user may manually correct the problem and retry installing that file.
  • SetMemoryMax() minimum now 4Mb instead of 16. (Tritical)
  • Remove 50 plugin auto prescan load limit. (Tritical)
  • COM QueryInterface calls now return S_OK instead of NULL.
  • Bracketless call of argless function now get a cache. (Tritical)
  • Over-range numbers now raise a compile time exception.
  • xxxFPS(float) now uses continued fraction to generate a minimal rational pair. (Raymod2)
  • ChangeFPS(linear=true) now raises a compile time exception if the speed change ratio is > 10.
  • ConvertFPS() blend mode works for all pixel formats. (Tritical)
  • Info() retrofit of 2.60 updates.
  • TCPDeliver.dll upx'ed.
  • RGB ColorBars +Q and -I bars, Hue is now correct, Luma is NOT zero to achive this.
  • AVISource Audio no longer limited to 2 channels.
  • SaveString memory blocks are now 32 bit aligned.
  • Default planar chroma planes mod 16 aligned. See SetPlanarLegacyAlignment().
As usual download from sourceforge
IanB is offline   Reply With Quote
Old 17th September 2006, 06:18   #2  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
sounds good. will try ASAP.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 17th September 2006, 10:50   #3  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
avisynth.lib, avisynth.exp and avisynth.map?
It is for c-plugins SDK?
May be to add avisynth.h and avisynth_c.h to them?
Fizick is offline   Reply With Quote
Old 17th September 2006, 11:38   #4  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Yes. The map is just so it exists and is bound to the appropriate avisynth.dll

And good idea.
IanB is offline   Reply With Quote
Old 17th September 2006, 19:35   #5  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Wow, some nice fixes and changes in this release, good job!
On the documentation, would it be possible to add a search feature? I think this could be pretty helpful.
Zarxrax is offline   Reply With Quote
Old 17th September 2006, 19:38   #6  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
On the documentation, would it be possible to add a search feature? I think this could be pretty helpful.
It's just a bunch of html files. How do you propose to do that?
Wilbert is offline   Reply With Quote
Old 17th September 2006, 21:23   #7  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Quote:
Originally Posted by Wilbert View Post
It's just a bunch of html files. How do you propose to do that?
I honestly don't know, though I have seen it in other documentation that uses html (adobe stuff, for example). I just assumed (incorrectly perhaps) that it might be easy to implement.
Zarxrax is offline   Reply With Quote
Old 18th September 2006, 04:00   #8  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
@Wilbert,

Aaahhhhg, you missed your chance.

You should have responded "Nice of you to volunteer to implement this useful feature"
IanB is offline   Reply With Quote
Old 18th September 2006, 05:12   #9  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
A .chm! But it's not the easiest thing to get the stupid projects to work. If I can find the right free software that lets you import and compile with no fuss (the microsoft one imports fine, won't compile right!), I'll post it and a project file.
foxyshadis is offline   Reply With Quote
Old 18th September 2006, 05:15   #10  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Zarxrax,
what do you really want to find?

foxyshadis,
IMHO, chm is not optimal solution to maintain,
and we use different language (english-russian) for example.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 18th September 2006, 11:51   #11  |  Link
Suchy
Registered User
 
Join Date: Aug 2005
Posts: 68
Is Avisynth optimized using by SSE2 (or MMX and SSE)?

I know that there is plugin for MultiThreating, but it isn't stabile and bugless (f. ex. after removing interlace, there appears frames with half of previous and half of next frame)
Suchy is offline   Reply With Quote
Old 18th September 2006, 20:20   #12  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Quote:
Originally Posted by Fizick View Post
Zarxrax,
what do you really want to find?
The current documentation is a great reference if you know what you are looking for, but if you don't know what you are looking for, it can be difficult to find anything.

For example, what if I want to adjust the saturation of my video? How would I determine which filter to use, besides reading the descriptions of every one until I find "Tweak"? With a search function, I could just search for "saturation" and expect it to tell me about the Tweak filter.

@others:
I have come across this open-source javascript which appears that it may provide the kind of search functionality that I am talking about: http://www.kscripts.com/scripts.shtml
If this kind of thing seems satisfactory, I could indeed try to implement it myself.
Zarxrax is offline   Reply With Quote
Old 18th September 2006, 21:03   #13  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
may be, we can build and provide some static html file with references to important terms.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 18th September 2006, 22:03   #14  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
A .chm! But it's not the easiest thing to get the stupid projects to work. If I can find the right free software that lets you import and compile with no fuss (the microsoft one imports fine, won't compile right!), I'll post it and a project file.
A chm file is easy to make (there is already such a project file in the CVS, but it just needs to be updated a bit).

Quote:
@others:
I have come across this open-source javascript which appears that it may provide the kind of search functionality that I am talking about: http://www.kscripts.com/scripts.shtml
If this kind of thing seems satisfactory, I could indeed try to implement it myself.
This could be what we are looking for!

I don't get it completely. You need to install Ksearch and thus perl to build the DBM database. Is it possible to access this database without installing Ksearch (and thus perl)?
Wilbert is offline   Reply With Quote
Old 19th September 2006, 03:40   #15  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Quote:
Originally Posted by Wilbert View Post
I don't get it completely. You need to install Ksearch and thus perl to build the DBM database. Is it possible to access this database without installing Ksearch (and thus perl)?
You mean for the end user? The "database" is just some stuff formatted into a javascript file, so it should be able to run on any browser that supports javascript.
Zarxrax is offline   Reply With Quote
Old 19th September 2006, 07:39   #16  |  Link
Prettz
easily bamboozled user
 
Prettz's Avatar
 
Join Date: Sep 2002
Location: Atlanta
Posts: 373
I'm not quite sure what's wrong here. I'm getting some horrible chroma shifting when I use Crop. The same problem was present with 2.5.7a3; I just installed RC1 to make sure and it's there in this version too, and it is. This seems like something so obvious that I'm assuming there's something wrong on my end. It's screwing up the same with "align" set to both true and false.

Here's a script that has it:
Code:
MPEG2Source("J:\terminator\terminator_full_01.d2v")
Telecide(order=1,chroma=true,post=0)
Decimate(cycle=5,mode=0)
Crop(2,58,-2,-60)
I've included a screenshot of the original before cropping and the result right after.

Odder still: when I follow the Crop immediately with a LanczosResize(704,352), I don't see any results of chroma shifting anymore.
Attached Images
  
Prettz is offline   Reply With Quote
Old 19th September 2006, 09:51   #17  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Are you sure it's not your YV12 codec?
squid_80 is offline   Reply With Quote
Old 19th September 2006, 10:29   #18  |  Link
GodofaGap
Registered User
 
Join Date: Feb 2006
Posts: 823
Quote:
For example, what if I want to adjust the saturation of my video? How would I determine which filter to use, besides reading the descriptions of every one until I find "Tweak"? With a search function, I could just search for "saturation" and expect it to tell me about the Tweak filter.
Most browsers have a text search function (e.g. CTRL+F). If you click on filters page and search for saturation, Tweak is the first thing you'll see.
GodofaGap is offline   Reply With Quote
Old 19th September 2006, 19:36   #19  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
Most browsers have a text search function (e.g. CTRL+F). If you click on filters page and search for saturation, Tweak is the first thing you'll see.
That's within a page. We are talking about offline searching in the AviSynth docs. Thus start in the startpage and search for a keyword in all htmls.

Quote:
You mean for the end user? The "database" is just some stuff formatted into a javascript file, so it should be able to run on any browser that supports javascript.
You are probably correct, but i can't find it in the faq:

http://www.kscripts.com/ksearch/faqs.html

If i understand it correctly you need to insert the following into one of your htmls (for which i assume you need KSearch):

Code:
To add a search box, insert the following HTML code:

<FORM ACTION="http://my_web_site.com/cgi-bin/ksearch/ksearch.cgi" METHOD="GET" NAME="search">
<INPUT TYPE="text" NAME="terms"><INPUT TYPE="submit" VALUE="Search">
</FORM>
or do i misunderstand it completely?
Wilbert is offline   Reply With Quote
Old 19th September 2006, 20:51   #20  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
That's the online ksearch. There's an offline version under it: http://www.kscripts.com/ksearch-client-side/faqs.html
foxyshadis 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 11:14.


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