View Full Version : AviSynth 2.6.0 PRE-Alpha - Release!
Wilbert
12th August 2006, 14:24
AviSynth 2.6.0 PRE-Alpha [August 11th] 2006 - Release!
Here's some little toy to play with while it's still holidays (at least for some of us). It's a pre-alpha release, so use it at your own risk and DON'T use it for regular encodings.
The changelist with respect to v2.56 (note that the v2.57 fixes are not merged yet):
Additions:
* Added MaskHS.
* Made VC8 project files.
* Minor tweaks for VC8 compile. All changes should be compaible with VC6 - there are two Soundtouch libraries for the same reason.
* Made VC8 projects for DirectshowSource and TCPDeliver.
* New "Tweak" functionality (options from TweakColor from Trevlac): It enables you to adjust the hue and/or saturation in a specific hue range [startHue,endHue] and/or in a specific saturation range [maxSat,minSat]. Some interpolation to the prescribed saturation range is added to prevent color banding. The interpolation can be set with "p" (p=0 won't interpolate, p=5 is maximal).
* Add Y8 for DevIL, planarize EBMP.
* Planar support for many filters.
* Added time indicator on audio length and video (current frame & total).
* Added specific error reporting when requesting subsampling on Y8.
* Added MultiThreading support, including ScriptEnvironment::SetMTMode and ScriptEnvironment::GetMTMode.
* Added UtoY8 and VtoY8.
* Added more info to Info().
Bugfixes:
* TCPDeliver: Using TCP_NODELAY, this will kill latency on client request packets, and server replies.
* Increment sequencecount in MakeWritable to avoid crash when calling GetFrame between MakeWritable() and GetWritePtr().
Optimizations:
* Added dynamic compiled MMX/iSSE for RGB<->YV24 conversions. Speed is approx 200% of C-code.
Changes:
* Threading in TCPDeliver does not use AFX anymore.
* Updated Soundtouch to 1.31.
* Put dynamic matrix conversion into separate file.
* Moved chroma subsampling to image_type section.
* Added a synchronization class IClipLocalStorage and smartpointer PClipLocalStorage to handle synchronisation between class instances when using MTMode 2 and 4.
* Split up merge and plane Swappers.
* Split up Plane transfers into separate classes.
* Added automatic destination colorspace detection on planar YtoUV.
* Took out greyscale and RGB32<->RGB24 from convert.cpp and placed them in separate files.
* All code assuming UVwidth = Ywidth/2 and similar should be gone.
The complete changelog can be found here:
http://www.avisynth.org/mediawiki/wiki/ChangeList_25-26
download (including updated documentation): http://www.geocities.com/wilbertdijkhof/AviSynth_120806.exe
some references:
* 2.6 proposal: http://forum.doom9.org/showthread.php?t=98585
* AviSynth 2.6 move to VC2005 Express: http://forum.doom9.org/showthread.php?t=112138
Note that if you are going to play with one of the new color formats don't forget that they (at least most of them) are not supported by the standard codecs. So you always need to end your script with ConvertToRGB/ConvertToYV12/ConvertToYUY2.
Kostarum Rex Persia
12th August 2006, 18:50
Very good, keep going.
foxyshadis
12th August 2006, 21:24
It runs! Without crashing horribly at every frame! I'd say it's ready for release. ;)
Do you know if there's any way to run 2.6 and 2.5 side-by-side? I suppose it wouldn't be easy without adding support for some kind of "# Avisynth 2.5" statement at top.
Is the ABI ready for prime time, or still in flux?
The new colorspace modes are going to be awesome.
squid_80
12th August 2006, 22:37
You can do the trick of copying whichever avisynth.dll you want to use into the same directory as the host program.
Wilbert
13th August 2006, 10:33
Is the ABI ready for prime time
Nope. The most important thing which should be done before an alpha release is the baked code removal:
http://forum.doom9.org/showthread.php?t=101730
Manao
13th August 2006, 11:33
Nope. The most important thing which should be done before an alpha release is the baked code removalIt would also be nice if :
- when compiling with -W4 with VC8, there weren't ~10 warnings generated by avisynth.h ( that's also true for avs2.5 ). Removing baked in code should take care of most of those anyway.
- colorspaces I400, I422 and I444 were added ( since there are both I420 and YV12 )
Meantime, I hope to release a masktools for 2.6 this afternoon, which would support Y8, YV12, YV16 and YV24.
foxyshadis
13th August 2006, 12:51
I4xx are just the YUV variants of YVxx YVU formats, right?
Manao
13th August 2006, 13:58
Yes, they are. But U and V are ordered differently, and though it doesn't matter in avisynth, it matters for interfacing it with Vfw.
Anyway, here is a version of the masktools for avisynth 2.6. There's no source code yet ( but there are hardly no differences ), no version numbering ( blame vc8 express ), but both should come back soon enough.
http://manao4.free.fr/mt_masktools_26.dll
Backwoods
13th August 2006, 21:59
I'm getting that adminstrator install error that 2.5.7 was giving people.
http://img152.imageshack.us/img152/1450/untitl4edzs6.th.png (http://img152.imageshack.us/my.php?image=untitl4edzs6.png)
IanB
14th August 2006, 01:35
@Blackwoods,
Well DUH!(note that the v2.57 fixes are not merged yet):Unprotect your color.avsi file (and DirectShowSource.dll and TCPDeliver.dll)
@All,
Please don't clutter this thread with problems known to be fixed for 2.5.7 until a fix merged rev is at least commited to CVS.
Backwoods
14th August 2006, 20:54
I was installing to a new folder. Apparently that was dumb on my part...DUH
foxyshadis
15th January 2007, 04:18
I'm curious, because I'm starting to use the 2.6 header for all plugins. (The current version works fine with 2.5 with a few tweaks.) Is there going to be a convenience method like vi.PlaneCount() to take Y8 and whatever else pops up into account?
It's not a huge deal, just keeps from repeating the same code - int PlaneCount = vi.IsY8() ? 1 : 3; - in everything. Plus it's obviously far more flexible externally, if it's ever going to change.
IanB
16th January 2007, 03:11
That is not a bad idea.
Be prepared for many iteration of Avisynth.h as we strive to get it right.
Ignus2
22nd September 2007, 23:46
What happened to avisynth 2.6? Is it being developed? Is there going to be a release of 2.6? 2.6 has some cool features, like Y8 video among others, and I really would like to see a stable release of it.
So, how is development going on with it?
--
Greets,
I.
Wilbert
22nd September 2007, 23:52
What happened to avisynth 2.6? Is it being developed? Is there going to be a release of 2.6? 2.6 has some cool features, like Y8 video among others, and I really would like to see a stable release of it.
So, how is development going on with it?
Yes, it's still being developed. The changelog can be found at:
http://avisynth.org/mediawiki/Changelist_25-26
But only IanB knows when the first alpha will be out.
Wilbert
11th November 2007, 17:54
<removed post; there are too many bugs in it ...>
buzzqw
11th November 2007, 18:10
wow! thanks!
would be ever possible to GetMTMode/SetMTMode (for MT plugin).
get "automagically" MT mode whenever possible ? (without using MT plugin)
thanks to all Developers of this fantastic software!
BHH
Adub
11th November 2007, 22:40
Super sweeeeeeeeet! Thanks a buncho!
IanB
12th November 2007, 04:12
Don't get to excited Wilbert has jumped the gun, this version will have some pretty insideous bugs (I am halfway thru some radical changes).
Adub
15th November 2007, 20:20
Ah damn, I did get too excited. I will just have to wait until you say it's safe then.
Ignus2
25th January 2008, 22:06
What's the situation on this? How is 2.6 going?
IanB
27th January 2008, 08:07
Slowly, bit by bit.
hajj_3
28th January 2008, 04:19
will it be multithreaded and 64bit native or compatible? sse3 and sse4?
sh0dan
28th January 2008, 10:16
@hajj: "mt" is natively supported. No official 64 bit. Colorspace and vertical resizer have been ssse3 optimized.
ilhyfe
29th January 2008, 12:44
Is it possible to get the source via CVS? I didn't find it on the project page.
Fizick
29th January 2008, 14:17
it s in same place, but in "avisynth 2.6" branch
ilhyfe
29th January 2008, 17:18
it s in same place, but in "avisynth 2.6" branch
I must be blind or something. I only found http://avisynth2.cvs.sourceforge.net/avisynth2/avisynth_2_6/ and it's empty.
Fizick
29th January 2008, 17:53
http://avisynth2.cvs.sourceforge.net/avisynth2/avisynth/
open "Steaky Tag" listbox, select avisynth_2_6 instead of main.
If you need in CVS command not for Web inteface but for Tortoise CVS, i wil post it later
ilhyfe
29th January 2008, 18:43
[url]If you need in CVS command not for Web inteface but for Tortoise CVS, i wil post it later
Would be nice, though I use the command line CVS version (I don't like Tort...). Thanks.
Fizick
29th January 2008, 21:26
i have no idea about command line.
see here
http://forum.doom9.org/showthread.php?t=111104
i created separate module folder locally for avs 2.6,
and select appropriate tag (avisynth_2_6)
ilhyfe
30th January 2008, 13:10
Can you give me the command for Tortoise CVS then?
Fizick
30th January 2008, 20:39
Hmm, it is not command but method and settings.
1. Install TortoiseCVS
2. create any folder in your harddisk, for example avisynth_2_6 or avisynth26
3. right click mouse at empy place of this folder window
and select "CVS Checkout"
4. In popup window at "module" tab:
Protocol: Protocol server (:pserver:)
Server: avisynth2.cvs.sourceforge.net
Repositiry folder: /cvsroot/avisynth2
User name: anonymous
Module: avisynth
5. In next "Revision" tab:
select "Chose branch or tag"
Branch or tag: avisynth_2_6
(if you need in main (2.5.8) source, choose HEAD branch instead, in other local folder)
6. press OK.
http://sourceforge.net/docman/display_doc.php?group_id=1&docid=25888#anonymous_config
What do you want to do with avisynth 2.6 source? :)
Could you help us with development?
Wilbert
30th January 2008, 21:33
command:
avs_v26: cvs -q checkout -r avisynth_2_6 -P CVSROOT=ext:WilbertD@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2
If you do it anonymously, i think that you need to use
avs_v26: cvs -q checkout -r avisynth_2_6 -P CVSROOT=pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2
Wilbert
30th January 2008, 21:41
@IanB,
posti reported and fixed a bug in TimeStretch:
http://forum.doom9.org/showthread.php?t=134290
IanB
30th January 2008, 22:36
@Wilbert (Moderator),
It helps if you approve the Attachment so I can read it to. :(
Wilbert
30th January 2008, 23:53
I approved it :)
IanB
31st January 2008, 04:25
@Wilbert, ... Ta!
Hmm, not an Avisynth plugin :confused:
I don't think our code has the problem.
Do we know where to get the pre-patched source for exact comparison.
foxyshadis
31st January 2008, 07:00
That's unrelated avisynth's timestretch, it's whatever's in reclock. Same name is all. If you look at the code, it's all a bunch of directshow junk wrapped around soundtouch.
Leak
31st January 2008, 10:00
Do we know where to get the pre-patched source for exact comparison.
IIRC it's distributed together with ReClock 1.7 beta <whatever was the last one>.
ilhyfe
31st January 2008, 11:42
Unfortunately I'm not a developer :). I just want to build a version from cvs and test it, instead of using the compiled version postet here last year.
The CVS thing worked so far, thanks.
IanB
31st January 2008, 13:29
I don't think our code has the problem.Confirmed, we don't have a problem.
sh0dan
31st January 2008, 13:29
@Wilbert: There doesn't seem to be anything changed within SoundTouch, only in the interface to ReClock.
(there is one change, but that seems to be a only to avoid compiler ambiguity)
ilhyfe
1st February 2008, 00:41
I successfully built version 2.6 but I can't encode a video with it. I tried to encode a mped2 stream with simple commands (mpeg2source(),crop(),spline16rezise()) and it seems it was a bit faster then v2.5.7 but after a few frames encoding stopped.
IanB
1st February 2008, 06:15
@ilhyfe, Now you know why there are no released versions. I know it is incomplete. Stick with 2.5.8, I do extensively test all that code before I check it in.
20-40
10th February 2008, 11:24
i have no idea about command line.
avisynth_2_6 with cvs.exe
cvs -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 login
<enter>
cvs -z3 -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 co -ravisynth_2_6 avisynth
Ignus2
16th October 2008, 09:48
Any news on the status of 2.6?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.