View Full Version : AviSynth 2.5.7 Alpha1 [March 26th]
Wilbert
26th March 2006, 20:47
New build! (The off-line documentation is up to date.)
AviSynth 2.5.7 Alpha1 (March 26th):
Additions:
* 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 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:
* None.
Changes:
* SetMemoryMax() minimum now 4Mb instead of 16. (Tritical)
* Remove 50 plugin auto 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) now raises a compile time exception if the 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 (http://sourceforge.net/project/showfiles.php?group_id=57023).
Fizick
26th March 2006, 21:52
Curiously, today I wanted to ask, when new version will be released. :)
Is $Plugin!Functionname!Param$ bug fixed?
http://forum.doom9.org/showthread.php?p=737974#post737974
Wilbert
26th March 2006, 22:26
Is $Plugin!Functionname!Param$ bug fixed
Yes, that one is fixed.
Ebobtron
27th March 2006, 02:11
Thanks Wilbert.
@Fizick, yes and it works too. Thanks again to you.
Now someone will want to slap me but, the version string reports March 16.
version() reports March 26
Thanks again. :)
May be the only trouble I am able to find. :)
http://members.aol.com/avsfilmcutter
foxyshadis
27th March 2006, 02:23
I've been using it for months, and I can say it's stable as a rock, except for rare bugs with plugin asm optimizations, which can be fixed with SetPlanarLegacyAlignment(). Oh, and mpeg2source3 crashes, but I never reported because really, who uses dvd2avi for frameserving anymore? (I guess anyone who uses yatta and doesn't switch to dgdecode, which is why I had to use it.)
Fizick
27th March 2006, 02:41
why tritical is still not official developer?
Zarxrax
27th March 2006, 02:41
Wow a nice new release! There are some good features and changes there.
Mug Funky
27th March 2006, 03:06
* Fixed resizer subpixel shifting functionality being a noop.
YE-HEAAH! (imagine that shouted in obnoxious Hetfield voice). does this mean field-order flipping by shifting up one is possible in yv12? cause that's cool if it does :) i can't install this yet because i've got an encode running...
also, i just had an idea about the subtitle filter - would it be tremendously difficult to support a pixel AR argument? so 1.0 would be no change to the rendering, and 1.77 would make it tall and thin?
this would be very cool, but not essential.
thanks heaps all involved :)
[edit] slightly OT, but WTF? optusnet no longer a sourceforge server? bugger them. not like any australians like to download opensource or anything.
3ngel
27th March 2006, 13:12
AVISource Audio no longer limited to 2 channels
That means it can work with Ac3 Avi without decode the ac3 audio to 2chs (as happens now)?
squid_80
27th March 2006, 14:27
That means it can work with Ac3 Avi without decode the ac3 audio to 2chs (as happens now)?
It should, if AC3ACM has the "Allow decompressing to multichannel PCM" option turned on (check control panel->hardware->device manager->sound, video and game controllers->audio codecs->properties->AC-3 ACM Codec properties->settings).
3ngel
27th March 2006, 18:11
Mmm, i see. But there is a way in order to preserve intact an Ac3 flow?
I have, say, 2 Avi with Ac3 and i want to process the video and then join togheter with Join=part1+part2 and when i open the resulting in virtualdub, i would like to have the ac3 joined untouched and not the PCM of it.
There is a way?
foxyshadis
28th March 2006, 00:43
Avisynth doesn't yet do direct stream copies, you'd have to use a program made for it. Since they're both in wav, there's a good chance you could just append the second through windows' dinky sound recorder, unless there's any gap/overlap between them, which throws off sync. You'd probably need a native AC3 editor, if one exists, and if not just reencode.
guada 2
28th March 2006, 00:57
Thanks you very much for this update. :)
A question:
Sorry if I missed something, but what it is exactly: BT.801-1.
Bye.
Mug Funky
28th March 2006, 01:57
it's a standard for defining colorbars... there's links to docs about it in one of the active colorbars threads.
btw, ac3 joining is possible with DVDmaestro, but y'all probably want something free (and easier to use... in spruce you have to line up all your video, then rightclick the empty audio track, go "create AV sync track" and associate an ac3 with each video asset in the timeline, then export 1 big ac3 file).
Richard Berg
28th March 2006, 07:03
why tritical is still not official developer?
I don't think he has a Sourceforge account. If he wants dev access, I'm sure any of the active admins would add him.
Boulder
28th March 2006, 07:16
btw, ac3 joining is possible with DVDmaestro, but y'all probably want something free (and easier to use... in spruce you have to line up all your video, then rightclick the empty audio track, go "create AV sync track" and associate an ac3 with each video asset in the timeline, then export 1 big ac3 file).
The simplest way to join AC3 files is by doing a binary copy in command prompt.
For example copy /b audio1.ac3+audio2.ac3 audio.ac3 should work. You can run it through AC3Fix, DelayCut or similar to make sure it is ok.
Devs: thanks for the new version, I really needed the fix for the uncompressed input and dropped frames issue :)
Myrsloik
28th March 2006, 13:55
Are there any plans to add the new functions ManageCache, PlanarChromaAlignment and SubframePlanar to avisynth_c?
Another thing I've also always wondered about is why there doesn't seem to be any way to actually destroy a script environment created in avisynth_c. Leaking memory is the only way?
guada 2
28th March 2006, 14:07
:thanks: Mug Funky and Boulder.
Bye.
IanB
28th March 2006, 14:28
ManageCache and PlanarChromaAlignment won't be ported into avisynth_c. ManageCache because there are currently no public keys so it couldn't be used anyway (if it ever gets some then yes). And I can't see a need for PlanarChromaAlignment, it is for badly written plugins. Convince me ;)
SubframePlanar(...) and avs_delete_script_environment(AVS_ScriptEnvironment *p) have been added to the 2.6 to wishlist.
3ngel
28th March 2006, 14:58
Avisynth doesn't yet do direct stream copies
Joining two Ac3 is not a problem, 'cause there are some programs that do it.
My question was strictly referred to Avisynth, in order to make it a allinone program and not using ext programs.
So i'll have to do a "Feature Request" as "Ac3 Direct Stream Copy Support"? :)
Wilbert
28th March 2006, 15:45
My question was strictly referred to Avisynth, in order to make it a allinone program and not using ext programs.
So i'll have to do a "Feature Request" as "Ac3 Direct Stream Copy Support"?
Should be possible in AviSynth v3.0. Video direct stream copy already works, but audio direct stream copy not yet i think.
Fizick
28th March 2006, 22:46
One more "feature request" to installer:
It would be nice to have option with right mouse click to folder in explorer:
"Create" -> "Avisynth script"
GrofLuigi
29th March 2006, 03:10
One more "feature request" to installer:
It would be nice to have option with right mouse click to folder in explorer:
"Create" -> "Avisynth script"
But if you do it, please make it optional (I know, that's what Fizick said too).
GL
Mug Funky
29th March 2006, 04:47
that would be pretty cool actually :)
though i do most of that stuff with "open with" style batches associated to different file types... right click an avi file and it'll make an avs with "avisource(...", right click a mov and you get "QTinput(...", right-click an m2v and you get a d2v and "mpeg2source(..."
makes windows might cumbersome though.
bagheera1
29th March 2006, 17:39
you can also do it with AVISynthesizer (http://tangentsoft.net/video/asynther/)
right click, sendto AVISynthesizer, pick your template.
it uses the same template structure as vdubmod
ApPojken
30th March 2006, 10:59
It should, if AC3ACM has the "Allow decompressing to multichannel PCM" option turned on (check control panel->hardware->device manager->sound, video and game controllers->audio codecs->properties->AC-3 ACM Codec properties->settings).
I also have problems using multichannel ac3. I am using AC3-filter to decode my playback. No matter what I do it ends up being 2 channels. I simply want to mux the AC3 into the stream with out decoding it. Do not have the AC-3 ACM Codec but need AC3-filter to be my standard codec.
Is this at all possible?
3ngel
30th March 2006, 12:11
As already replied you need the "direct stream audio copy".
It is said it will be available in avs 3.0.
ApPojken
30th March 2006, 12:53
Ok. I'va downloaded and installed AC-3 ACM Codec but it still doesnt work. If I drag and drop the AVS file into procoder or filter graph editor the 5.1 audio track is adressed as 2.0.
Any ideas or posible workarounds? I am working on an automated procedure for procoder and since I cant drag and drop seperate audio and video I need it muxed. AviSynth seamed to be the best solution for this.
Backwoods
31st March 2006, 05:02
LoadPlugIn("c:\program files\avisynth 2.5\yea\DgDecode.dll")
LoadPlugIn("c:\program files\avisynth 2.5\yea\Decomb521.dll")
AVISource("123.avi",audio=false)
ConvertToYV12(interlaced=false)
one=last
MPEG2Source("HTMAHM.d2v")
Telecide(1)
Decimate(5)
Lanczos4Resize(720,480)
two=last
one+two
With this script I receive no errors while running AVISynth 2.5.6 but with 2.5.7 I receive an "AVIFileInfo error 0x80004005" error in CCE 2.7.
http://forum.doom9.org/showthread.php?t=96649
This thread suggests that it can be because of too many plugins. As you can see I keep all my plugins in another DIR.
Any ideas?
squid_80
31st March 2006, 06:01
Hmm I've been getting some whacky errors too. For instance this script:loadplugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll")
source=mpeg2source("g:\vid\new.d2v")
audsource=wavsource("g:\vid\new.ac3.wav")
audiodub(source, audsource)
when used as input to a program running from command prompt, kept returning "ACM failed to suggest a compatible PCM format", even though I use this same script all the time to process DVB recordings. I fiddled around a bit and removed some environment variables (set xxx=) and it started working. Just to check, I re-set the environment variables and it started failing again.
Edit: new.ac3.wav is 2 channels, in case anyone was wondering.
IanB
31st March 2006, 08:17
Are we sure we are running the correct version and are we reporting the error message accurately.
The message should be
"No compatible ACM codec to decode audio stream 0x%04x to PCM"
The %04x is new and is the stream ID : 0001=PCM, 0055=MP3, 2000=AC3, etc
And yes fccHandlers AC3 codec's multistream PCM does not seem to work with the mods I made to the code.
It does read 6 channel PCM from an AVI file, the rest is still being tested.
squid_80
31st March 2006, 08:48
Sorry, it was a couple of days ago and I forgot the error message had changed (seen the old one enough times to know it off by heart, thanks to wrong mp3 headers).
With regards to AC3-ACM, it seems it always suggests 2 channels (or one if the source is mono) unless the ACM_FORMATSUGGESTF_NCHANNELS flag is used.
On my windows XP SP2-so far i have been able to uninstall older versions of avisynth and install newer versions. When I uninstalled previous version and tried to install this one-got a message that i needed to be logged in as administrator. It is a personal machine and i have never been asked for something like this for installing any other program. I used restore to get back to previous version.
IanB
1st April 2006, 16:04
Okay I'll bite. Why do people have this pressing need to uninstall the old version first? Is there something else wrong that no one is reporting that requires this? The installer is designed to just overwrite with new files.
Yes we know some XPsp2 users have a problem with virgin installs. Surely someone that actually witnesses the problem can do a bit of first level diagnosis and at least give us a hint about what is going wrong.
Read the installer script here :- AviSynth_2.5.nsi (http://cvs.sourceforge.net/viewcvs.py/*checkout*/avisynth2/avisynth/distrib/AviSynth_2.5.nsi?rev=1.20)
Look for WriteRegStr about 25% of the way down.
This is the message i get
http://img86.imageshack.us/img86/6824/image10yk.jpg
even when i try to install as administrator
I haven't had this problem so far-in fact i did not even have to use the administrator login.
I am not a programmer and in fact was reluctant to install SP2 because I had heard of similar problems. Had been pleased that there had been no such problems till now.
:o :confused:
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.