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 24th December 2006, 16:57   #1  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
AviSynth 2.5.7 [Jan 7th] (was RC-3 [Dec 31st])

Okay RC-3 has gone live!

Get AviSynth_257.exe and Avisynth_257_src.zip from Sourceforge.

For the bandwidth conservative this release is the same as RC-3 (+4 Russian Doco updates)
==============================================
Summary of changelist (with respect to v2.56)
  • Avisynth COM object now implements IAVIStreaming interface.
  • DirectShowSource() enhancements.
  • Added KillVideo() verb.
  • TimeStretch SoundTouch library update, fixes and access to tuning parameter.
  • Explicitly try to request full sample rate, all channels and float, 32 bit then 24 bit samples from the audio codec.
  • File input/output support for WAVE_FORMAT_IEEE_FLOAT audio.
  • File input more than 2 channels in the audio stream.
  • Installer enhancments. Handling of readonly/protected target files.
  • Avisynth_c interface enhancments.
  • Hack for Fraunhoffer MP3 codec to work when wBitPerSample==16.
  • Added Portugese translation by RoLon.
  • Partly updated French translation by JasonFly.
  • Subtitle multi line text.
  • xxxFPS("preset") string preset FPS values.
  • ImageSource no longer uses static buffer.
  • Fixed Negative int arg handling for ApplyRange() and Animate().
  • Fixed SaveString memory block overrun.
  • Fixed $Plugin!Functionname!Param$ bug.
  • Fixed Various resource leaks.
  • Fixed runtime mixed SEH/C++ exception handling for XPsp2.
  • Fixed CAVIStreamSynth::Read audio buffer overrun.
  • Fixed Assert("...%...") crash.
  • Fixed Number parser returning inaccurate float conversions.
  • Fixed resizer subpixel shifting functionality and bad edge condition handling.
  • YUV ColorBars now match BT.801-1.
  • TCPDeliver updates, crash fixes and enhancments, big buffers.
  • Fixed Turn*() YUY2 mod 2 height test.
  • Fixed AVISource() corrupted error messages.
  • Fixed AVISource() direct input drop frame handling.
  • Remove 50 plugin auto prescan load limit.
  • Bracketless call of functions without arguments now get a cache.
  • Over-range numbers now raise a compile time exception.
  • xxxFPS(float) now uses continued fraction to generate a minimal rational pair.
  • ConvertFPS() blend mode works for all pixel formats.
  • SaveString memory blocks are now 32 bit aligned.
  • Default planar chroma planes mod 16 aligned.
See ChangeList for details
==============================================
RC-3
Okay last minute fixes from RC-2
  • Fix Cache of a cache of a cache .... problem (regression)
  • Have parser check for cache of a cache and skip extra instances.
  • Change ImageSource to not use a static buffer.
  • The rest as per RC-2 ....
See Post 3 for the RC-2 updates.

Last edited by IanB; 7th January 2007 at 11:04. Reason: RC-3
IanB is offline   Reply With Quote
Old 24th December 2006, 17:10   #2  |  Link
Romario
Registered User
 
Romario's Avatar
 
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
Thanks.
__________________
Live long and prosperLive long and prosperLive long and prosper
Romario is offline   Reply With Quote
Old 24th December 2006, 17:16   #3  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,347
Changelist with respect to RC1:

Additions:
* Blur()/Sharpen() MMX=False option to force use of C++ routines.
* Explicitly try to request input sample rate from the audio codec (Tritical).

Bugfixes:
* Fixed DirectShowSource greyframe regression.
* Fixed DirectShowSource audio format negotiation regression.
* Fixed TCPDeliver YV12 transfer 50% to much data.
* Fixed TCPDeliver do Makewritable before getting params.
* Fixed TCPDeliver audio transfer off by 4 bytes.
* Fixed resizer core boundary condition crashes/errors/glitches.
* Fixed Invert() crash with small widths.
* Fixed small memory leak Amplify().
* Fixed grey frames with internal start, stop, start while DSS is initializing.
* Fixed AudioChannels() returning non-zero when no audio (Tritical).

Optimizations:
* TCPDeliver big buffer enhancement (retro from 2.6 stream).

Changes:
* TCPDeliver add icon, make all resource US English.
Wilbert is offline   Reply With Quote
Old 24th December 2006, 17:18   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,347
Great work! Nice Xmas present

Btw, did you look at this problem: http://forum.doom9.org/showthread.ph...807#post900807 ?
Wilbert is offline   Reply With Quote
Old 24th December 2006, 19:45   #5  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,686
Thanks Guys! Excellent work!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 25th December 2006, 01:54   #6  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,949
Yep thx IanB and Merry Christmas to you and the other contribs and devs
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004
CruNcher is offline   Reply With Quote
Old 25th December 2006, 04:41   #7  |  Link
netsnake
Registered User
 
Join Date: Oct 2006
Posts: 7
thanks~ IanB and Merry Christmas to you
netsnake is offline   Reply With Quote
Old 26th December 2006, 03:55   #8  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
Happy Festivus, Everyone !
Pookie is offline   Reply With Quote
Old 26th December 2006, 07:49   #9  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Quote:
Originally Posted by Wilbert View Post
Btw, did you look at this problem: http://forum.doom9.org/showthread.ph...807#post900807 ?
Sorry, that one half slipped thru the cracks. I looked at it at the time and couldn't reproduce the problem, got distracted and forgot to ask for more details. I've now added a note to my 2.58/2.60 list.
IanB is offline   Reply With Quote
Old 27th December 2006, 10:17   #10  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
I'll add my thanks and best wishes for holiday happiness.

Code:
function anslide(string file, int length, int dir, string IO,  string zf)
{
  a = ImageSource(file, start=0, end=0, fps=29.97).ConvertToRGB32

  a = a.Lanczos4Resize(w, h) 
  return a.loop(length)
}
The above works and is faster than the following. But eats all the physical memory in a computer, fatally.
{
  a = ImageSource(file, start=0, end=length-1, fps=29.97).ConvertToRGB32

  a = a.Lanczos4Resize(w, h) 
  return a
}

My system slowly moves everything to the page file till there is nothing left that can be moved. The encoding process ends, terminates, crashes, pick one. (depends on the encoding app)

I have tried different combinations, ImageReader etc. It is not the ImageSource or Reader, appears to be with the Loop function. Found this Christmas day while making my dear one a slide show, checked current version before this post. This, of course only shows up if you like half hour slide shows.

Project contains 94 slides mostly jpegs with about 12 minutes of video, while encoding you can slowly watch the page file grow. It will crash while playing if you wish to wait long enough.
Thanks
Robert

Last edited by Ebobtron; 27th December 2006 at 10:20. Reason: i cna not spel
Ebobtron is offline   Reply With Quote
Old 27th December 2006, 19:58   #11  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Is any chance to make avisynth to process pitcutre via gpu?
shon3i is offline   Reply With Quote
Old 27th December 2006, 20:02   #12  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,686
That would be sweet!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 27th December 2006, 20:27   #13  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
Quote:
Originally Posted by shon3i View Post
Is any chance to make avisynth to process pitcutre via gpu?
What do you mean exactly?
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 27th December 2006, 21:35   #14  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
Quote:
Originally Posted by tsp View Post
What do you mean exactly?
I mean like you FFT3DGPU, but all internal avisynth filters to can use GPU instead CPU for processing.
shon3i is offline   Reply With Quote
Old 28th December 2006, 01:51   #15  |  Link
martino
masktools2 (ab)user
 
martino's Avatar
 
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
So what's the feedback from people who updated???
martino is offline   Reply With Quote
Old 28th December 2006, 03:50   #16  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,561
The less feedback there is, the more stable it must be. Such has been the case for me, I haven't run across any of the old problems.
foxyshadis is offline   Reply With Quote
Old 28th December 2006, 06:41   #17  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
@Ebobtron,

So the image file is read once only, ImageSource uses a static buffer to hold the image, which does not get released until you close the script. I am guessing you are loading 94 big .JPGs, each with a separate ImageSource. So you end up trying to buffer 94 x 5+ megapixel BMP's. Which doesn't work very well.

The speed difference is because in the 1st case you resize each image once then loop it. In the 2nd case you resize each and every frame.

Both case exhibit the problem, I guess the 1st case also has some pathological swiss cheese issue with the cache which makes it a lot worse.

If the image files are consecutively numbered and the same size use the printf form for the filename in ImageSource, i.e. ImageSource("C:\Images\Img_%04d.jpg", 1, 99) this will load Img_0001 thru to Img_0099 as frames 0 to 98. If you set fps=0.1 and use ConvertFPS(29.97) each image will be displayed for 10 seconds.

Alternatively you could abuse FrameEvaluate to load and release each ImageSource in turn as a workaround.

In the medium term will see if I can redesign the code to avoid the static buffer.
IanB is offline   Reply With Quote
Old 28th December 2006, 08:34   #18  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
@martino,

2.5.7 is primarily a maintainance release with very few new features, so the theory is it should work better than 2.5.6 in all cases. Of course not all bugs get fixed correctly, so you do get the occasional regression error.

This is the 2nd Release Candidate, so I am hoping all the regression of errors have been reported and fixed correctly. If no one reports any then this release will become the official 2.5.7 So please give it a spin now!

At this point I am only fixing things that worked in 2.5.6 and got broken subsequently. Bug's like the ones Wilbert and Ebobtron just reported were in both 2.5.5 and 2.5.6 so will now have to wait for the next release.

It only take a minute to install versions of Avisynth. The installer is designed to overwrite an existing version so flipping versions should be straight forward. If it is not then please report the problem
IanB is offline   Reply With Quote
Old 28th December 2006, 11:47   #19  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
@IanB
Thanks very much
Ebobtron is offline   Reply With Quote
Old 28th December 2006, 15:50   #20  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,347
Quote:
Sorry, that one half slipped thru the cracks. I looked at it at the time and couldn't reproduce the problem, got distracted and forgot to ask for more details. I've now added a note to my 2.58/2.60 list.
It's probably not avs fault, but a problem of my setup.

It's a bit hard writing docs if stuff is not working as it should Let me summarize the problems i have (it's all about getting multichannel stuff in AviSynth). The following works correctly:

1) Opening (uncompressed) 5.1 WAV with WavSource.
2) Opening 5.1 AC3/DTS with NicAudio.

The following produces 2.0 output (while it should be 5.1):

1a) Opening 5.1 AC3/DTS in WAV with WAVSource and VCMACM.
1b) Opening 5.1 AC3/DTS in AVI with AVISource and VCMACM.

[However opening 5.1 AC3/DTS in AVI in VDub is done correctly (VCMACM is indeed used when looking at file properties), so VCMACM is installed correctly.]

2a) Opening 5.1 AC3/DTS in WAV with DirectShowSource using WAVE parser and ffdshow (dts decoding enabled and uncompressed: all supported set).

2b) Opening 5.1 AC3/DTS in WAV with DirectShowSource using WAVE parser and AC3Filter.

2c) Opening 5.1 AC3/DTS in AVI with DSS (using either ffdshow or AC3Filter).

My speaker setup is set to 5.1 (in ffdshow/AC3Filter downmixing is UNchecked). I've run use-waveout-no-dsound.reg if that helps anything.

Anybody any hints what i'm doing wrong, or things i need to check?

Last edited by Wilbert; 28th December 2006 at 15:52.
Wilbert 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 20:10.


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