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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th November 2003, 19:47   #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.3 Released

Hi folks!

AviSynth 2.5.3 has finally been released!

This is a major stability and feature release compared to AviSynth 2.52. Many bugs has been fixed, and DirectShow support has been seriously upgraded.

As always the new Release can be downloaded from Sourceforge.


Complete changelist:

Additions:

* Added audio support to DirectShowSource.
* Added seeking support to DirectShowSource.
* Added .GRF file loading to load filter graphs from GraphEdit. Be sure there is an open pin, to which AviSynth is able to connect, otherwise expect "the filter graph won't talk to me".
* Added optional coring=true/false to Levels and Tweak. both true by default, as previously.
* Added Histogram(mode ="levels") and Histogram(mode = "color") which displays levels histogram and YUV color placement.
* AviSynth now properly converts to and from 24bit audio. WAV-files exported from vdub are compatible with at least WinAmp and CoolEdit.
* German documentation.
* Added DV type 1 video input, using AviSource(). Video only!
* DirectShowSource() is now capable of properly opening audio with more than 2 channels. Tested with AC3Filter.
* DirectShowSource() now accepts and properly decodes float-precision samples. Tested with AC3Filter.
* Added checks for samplerate and framerate in Splice.
* SwapUV(), UToY(), VToY() and YToUV() now also works in YUY2 mode.
* Added C-style plugin support (still in testing) to allow plugin writers to use other compilers than MSVC.
* Added Invert(), ShowAlpha().
* Added default parameters to ColorBars.
* Extensive updates of German documentation.
* DirectShowSource capable of opening audio only. WAV/AC3/MP3 can be opened using DirectshowSource.
* Added experimental "align=true/false" to crop - this will realign frames if they aren't already. Alignement is 16 for SSE2 machines, 8 for others.
* Added "Overall PSNR for Compare()" - thanks to temporance.
* ResampleAudio now accepts any number of channels.
* Added "after_frame=true/false" option to FrameEvaluate. This determines if the script should be evaluated before (default operation) or after the frame has been fetched from the filters above.


Bugfixes:

* Fixed memory leak in Plugin name export.
* Incorporated file lock fix in AviSource by WarpEnterprises.
* Minor fixes to field information in Info().
* Fixed occational hangs in DirectShowSource.
* Fixed crashbug in Compare, when logfile was specified.
* Fixed overflow in ResampleAudio (Thanks to IanB!). [Bug 770853].
* Fixed MergeChannels broken with more than 2 channels.
* Made adjustments for longer sample support in ResampleAudio.
* Fixed crash in ResampleAudio, if no audio was present.
* Fixed crash in MonoToStereo().
* Fixed: Normalize(show = true) displaying invalid value, and added a dB amplification indication.
* Fixed minor issues in audio routines with very long samples.
* Fixed wrong colors in ShowSMPTE YV12 mode.
* Corrected several performance problems in Limiter, YUY2 mode (thanks again ARDA!).
* Fixed YUY2 FlipHorizontal giving garbage/crashing.
* GeneralConvolution now properly processes 5x5 matrices. Thanks IanB? for the patch.
* Fixed minor stuff in TemporalSoften.
* (Hopefully) fixed precision in PointResize.
* ConvertBackToYUY2 now throws an error if non-RGB is delivered.
* Fixed occational crashbug in conditional Plane stats.


Optimizations:

* Added heavily optimized memory copy mode, that will be used in some blits.
* Conditional unroll of fetch/unpack loop in dynamic compiled resizer. Now only unrolls if 1) Athlon 2) Source width < 512.


Changes:

* Further clarification in Info() regarding field information.
* Minor changes to Limiter code (block prefetch).
* ApplyRange now accepts startframe = stopframe. This will only process the specified frame.
* ApplyRange now supports audio and processes it to the end of stopframe.
* Reenabled function name export for VDubMod syntax highlighting - I'm not sure if it had much effect on stability.
* Corrected ParseMultiplication so it parses from left to right.
* The default luma range in Limiter is corrected to 16-235 (it was 16-236).
* Temporarily disabled plugin function export for VDubMod. I'm suspecting this of the "crash+disappear" of VdubMod.
* Removed HSIAdjust().
* Removed ffvfw from installation.
* ShowSMPTE does no longer require fps parameter - only if the current fps cannot be used.
* Made thread-safety changes to frame reference counting.
* Exposed internal cache filter for plugins to use. Use it after an Invoke to cache frames.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 11th November 2003 at 20:01.
sh0dan is offline   Reply With Quote
Old 11th November 2003, 19:57   #2  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
For those very helpful people here, the changes from the last (November 10th) CVS Binary:

* DirectShowSource now always throws "could not detect fps", even if audio could be opened.
* Made DSS error messages report both audio and video, if neither can be opened.
* AviSynth now properly converts to and from 24bit audio. WAV-files exported from vdub are compatible with at least WinAmp and CoolEdit.
* Added Histogram(mode ="levels") and Histogram(mode = "color") which displays levels histogram and YUV color placement. YV12 only:


__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 11th November 2003 at 20:00.
sh0dan is offline   Reply With Quote
Old 11th November 2003, 20:44   #3  |  Link
jorel
Guest
 
Posts: n/a
big thanks for tons of additions and bugfixes!
very power-full. ( 24bit audio )
  Reply With Quote
Old 11th November 2003, 20:57   #4  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
Yeah !!!

Also big THX to the "Dark Side of the Moon" inhabitant...

Bye
__________________

Visit my IRC channel
Soulhunter is offline   Reply With Quote
Old 11th November 2003, 21:14   #5  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Quote:
Originally posted by Soulhunter
Also big THX to the "Dark Side of the Moon" inhabitant...
You wouldn't believe the ping-times I'm getting from uphere!
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 11th November 2003 at 21:19.
sh0dan is offline   Reply With Quote
Old 12th November 2003, 01:23   #6  |  Link
kempfand
Registered User
 
kempfand's Avatar
 
Join Date: Oct 2001
Location: Switzerland
Posts: 225
Great work sh0dan. You really push the limits and help us go 'where noone has been before'.

Kind regards,

Andreas
kempfand is offline   Reply With Quote
Old 12th November 2003, 07:06   #7  |  Link
arkoko
Registered User
 
Join Date: Jul 2003
Location: Tallinn
Posts: 8
Version properties

Hi!
Installed 2.5.3 avisynth.dll (279040 bytes, 11.11.2003) version in file properties still show 2.5.2.0
Forgotted to change?

AK
arkoko is offline   Reply With Quote
Old 12th November 2003, 07:59   #8  |  Link
Tuning
I'm back! :D
 
Tuning's Avatar
 
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
Thanks sh0dan,
Its working really as you expected.Great work!
__________________
My Blog
Tuning is offline   Reply With Quote
Old 12th November 2003, 09:03   #9  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
[EDIT]
Sorry - didn't read post properly.
Didn't even realise Window's gave version info on dll's

regards
Simon

Last edited by Si; 12th November 2003 at 20:16.
Si is offline   Reply With Quote
Old 12th November 2003, 09:07   #10  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Re: Version properties

Quote:
Originally posted by arkoko
Hi!
Installed 2.5.3 avisynth.dll (279040 bytes, 11.11.2003) version in file properties still show 2.5.2.0
Forgotted to change?
AK
Yeah - this will be fixed in version 2.5.4
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 12th November 2003, 21:04   #11  |  Link
lighty
Registered User
 
Join Date: Apr 2002
Location: Mars
Posts: 186
Well, this version seems to throw me exception when exiting VirtualDub and VirtualDubMod, also when trying some scripts like this

Quote:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3dg.dll")
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\decomb510.dll")
MPEG2Source("C:\temp\tng.d2v", idct=2)

function FOrder(clip c){
fo = GetParity(c)? 1:0
return fo
}


Telecide(FOrder(),guide=1,post=0,debug=true)
When I reverted back to Avisynth 2.5.2 evrything works fine again.
lighty is offline   Reply With Quote
Old 12th November 2003, 21:11   #12  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
If you have avisynth_c.dll or smartdecimate.dll in your plugin directory, try removing it.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 12th November 2003, 22:49   #13  |  Link
lighty
Registered User
 
Join Date: Apr 2002
Location: Mars
Posts: 186
Yup. That solved my problem. Wonder why it acts like that when SmartDecimate plugin isn't called in script?
lighty is offline   Reply With Quote
Old 13th November 2003, 01:44   #14  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Could you make the Avisynth installer check the registry for where AviSynth is installed and install to that folder? I never install it to the default location, and I always come THAT close to clicking OK before I realize it. Sooner or later disaster will happen
Cyberia is offline   Reply With Quote
Old 13th November 2003, 17:31   #15  |  Link
acrespo
Brazilian Anime Ripper
 
Join Date: Nov 2001
Location: Brazil
Posts: 237
I detect a strange bug since 2.52 version (I didn't test 2.5 and 2.51 versions). I capture animes with analog device. My capture settings:

Resolution:320X480
Codec: Divx 5.1
Divx Settings: 1st quality based quantizer 2, Fastest, no BFrame, no Psy, Keyframe = 1

Problem:
I created a AVS script with only AviSource("d:\capture.avi") line.
The codec used to decode the video was DivX 5.1. Sometimes I see a full green frame (with a yellow dot). If I change VIDC.YV12 = "divx.dll" to VIDC.YV12 = "xvid.dll" in registry, and I open video again, the problem was gone. If I open video with VirtualDubMod directly (without AVS script) the problem is not occuring.

I captured a video with Xvid codec and back registry to decode with divx.dll. The problem is the same.

In other words, the problem of full green frame is occuring in the combination of AviSynth 2.52/2.53 and Divx 5.1 decoder with a resolution of 320X480.
acrespo is offline   Reply With Quote
Old 13th November 2003, 17:53   #16  |  Link
JuanC
Registered User
 
Join Date: May 2002
Posts: 220
Quote:
Originally posted by acrespo
...
I created a AVS script with only AviSource("d:\capture.avi") line....
I noticed (using the latest CVS snapshots and now the just released 2.53 in my config.) there's a big difference between AVIsource and OpenDMLSource when dealing with DivX sources (And using DivX5.1.x decoders), being the latter as much as twice faster than AVIsource. Have you tried that?

OpenDMLsource would give me very similar behavior and speed as VirtualDub[Mod], when I just play the video clip. While AVIsource would be like half the speed. ??? Can anyboday confirm that?
JuanC is offline   Reply With Quote
Old 13th November 2003, 18:12   #17  |  Link
acrespo
Brazilian Anime Ripper
 
Join Date: Nov 2001
Location: Brazil
Posts: 237
I will try OpenDMLSource, but I have a problem: My captured files are bigger (more than 2Gbytes) and I think OpenDMLSource could not open my files, isn't it?
acrespo is offline   Reply With Quote
Old 13th November 2003, 18:22   #18  |  Link
JuanC
Registered User
 
Join Date: May 2002
Posts: 220
Quote:
Originally posted by acrespo
I will try OpenDMLSource, but I have a problem: My captured files are bigger (more than 2Gbytes) and I think OpenDMLSource could not open my files, isn't it?
To the contrary, here's the definition of OpenDML in avisynth.org:

OpenDML is an extension to the original Video for Windows (VfW) file format.
It was drawn up to overcome the original 2GByte file length restrictions in avi files.
JuanC is offline   Reply With Quote
Old 13th November 2003, 19:18   #19  |  Link
acrespo
Brazilian Anime Ripper
 
Join Date: Nov 2001
Location: Brazil
Posts: 237
Thanks, I didn't see avisynth docs. I will try OpenDMLSource more later and I will post the results here.
acrespo is offline   Reply With Quote
Old 13th November 2003, 20:08   #20  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
Quote:
DirectShowSource now always throws "could not detect fps", even if audio could be opened.
Perhaps I don't understand, but just in case, I used DirectShowSOurce to open a realvideo.ram file, but forgot to specify the fps. WMP opened and played the audio without video and did not throw an error. Is this as expected?
DDogg is offline   Reply With Quote
Reply


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 02:11.


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