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. |
|
|
#1 | Link |
|
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 2,246
|
AviSynth 2.5.6 RC 2 Release Candidate [October 7th]
Dear all,
Here is the second Release Candidate of my review and refactor work on Avisynth 2.5.6. A link down to the lastest Release Post (225) ========================== See below for progressive updates =========================== Whats being done. Evil EBX not saved compiler bug CRASH! GreyScale() YUY2 fixed - others being hunted! Convert.cpp Review and refactor is still in progress. MMX ConvertToYUY2(Matrix="...") support" Added PC Levels RGB<->YUV [0..255] conversion options (Matrix="PC.601") and (Matrix="PC.709") Added Rec.709 RGB->YUV conversion options (Matrix="Rec709"). RGB Greyscale(matrix="Average") support for unweighted [ Y=(R+G+B)/3 ] luma. ------------------------------------ Many 2^n MMX width restrictions gone Fast MMX RGB24 -> RGB32 convertion Legacy C++ RGB32 -> RGB24 reinstated RGB Greyscale(matrix="rec709") support for Rec.709 luma weightings. MMX YUY2 Greyscale() Unrecognised Exception - Problem I've given up trying to classify the code that causes this problem and am just sledge hammering the instances I find with a null try/catch. Here is a list of the affected modules found so far :- - audio.cpp - avs_soundtouch.cpp - color.cpp - field.cpp - focus.cpp - fps.cpp - levels.cpp - resample.cpp - source.cpp Fps.cpp Added copy FPS from another clip to ConvertFPS and ChangeFPS as per AssumeFPS. Avi_source.cpp Fix WavSource() leaving .WAV files open. Edit.cpp Correct multi-channel audio fading Focus.cpp Full review and refactor of Blur/Sharpen code Fixed YV12 width<=16 fatal crash YV12 H MMX code no longer double blurs every 8th pixel Edge boundaries now processed Now MMX, not just SSE restricted Some MMX versions faster Most 2^n MMX width restrictions gone When H or V blur==0 now skips that pass Layer.cpp Fixed BGR - GBR typo Please report bugs in these reviewed modules in this thread. Please post your script! Regards IanB Last edited by IanB; 8th October 2005 at 01:58. Reason: RC 2 |
|
|
|
|
|
#2 | Link |
|
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,267
|
well, no crashes yet, but i don't think i'm testing the right bits
![]() i never got unrecognised exceptions, really. i get plenty of access violations, but i've not been able to track these down. i have a suspicion it's both mvtools and a really whacky interpretation of mpeg-2 spec as a source. but i can't be more specific because there's always other plugs involved, and the crashes only happen after a large number of frames, usually at a slow fps with lots of filtering.
__________________
interlace... right or wrong, just deal with it. |
|
|
|
|
|
#3 | Link | |
|
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
|
Great!
I updated the installer (and added the italian documentation): http://www.arachnotron.nl/permanent/...nth_241104.zip http://www.geocities.com/wilbertdijk...nth_241104.zip http://bbsrv.imp.leidenuniv.nl/~arac...nth_241104.zip edit: geocities is complaining again. Perhaps someone can download it tomorrow and host it for a while? Some remarks: "RGB Greyscale(matrix="Average") support for unweighted (equal value) luma." means luma = (r+g+b)/3 I guess ... Quote:
Perhaps you can add it as a new option instead (called pc_range = true / false(default) to keep it consistent with overlay for example). This way you can also implement the conversion with Rec.709 coefficients. Last edited by Wilbert; 26th November 2004 at 16:40. |
|
|
|
|
|
|
#4 | Link | ||
|
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 2,246
|
Quote:
Quote:
I'll do a pass on the doco when I get the current batch of code finished (unless you beat me to it). If you have a minute can you please spot check some YUV values for the darker saturated colours I think I might be out by 1 at the black end. IanB |
||
|
|
|
|
|
#6 | Link |
|
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,267
|
try this to get wilbert's installer:
http://mugfunky.no-ip.info/AviSynth_241104.zip you must allow port 8080... some workplace firewalls reject it, so be warned. i'm an apache n00b ![]() oh, btw: this is being hosted off my machine, which means when it gets turned off, the file is gone. i'll leave it on for tonight, and hopefully most of tomorrow, but if the power fails while i'm asleep then there's not much i can do (the grid is pretty unreliable here, too. should be fine for tonight though).
__________________
interlace... right or wrong, just deal with it. |
|
|
|
|
|
#9 | Link |
|
Registered User
Join Date: May 2002
Posts: 220
|
Problem Report: AudioGraph filter...
The AudioGraph filter is crashing (vanishing) virtualdubmod ever since the first AVIsynth 2.56 alpha release.
Could there be anything wrong in the filter? warpenterprises has the filter and source code here. |
|
|
|
|
|
#10 | Link | ||
|
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 2,246
|
Re: Problem Report: AudioGraph filter...
Quote:
This has exposed a really nasty compiler bug, I begin to appreciate Avery's profanity re Microsloth's compiler bugs. (And he tells me .Net is even worse) 1. In this case the compiler assumed the "ebx" register was preserved across an __stdcall (it's not supposed to) and 2. registers used inside __asm blocks are supposed to be preserved in the entry/exit prologue (well guess what they don't all always get saved). [Starts with F, ends with k, 4 letters]!!! You get the idea ... I've fixed and tested YUY2 GreyScale() which AudioGraph needs. I'll put an interim checkpoint .dll up tonight for you to test, watch for the EDIT of the 1st post in this thread. Before I ask Sh0dan to put up a new full package, I'll do a pass through the code over the next few nights to find any more of this evilness. Quote:
IanB |
||
|
|
|
|
|
#11 | Link | |||
|
Registered User
Join Date: May 2002
Posts: 220
|
Re: Re: Problem Report: AudioGraph filter...
Quote:
It just took me some time to empty my autoload plugins directory and try the filters one by one ... There could be some other problematic filters ...Quote:
Quote:
|
|||
|
|
|
|
|
#12 | Link | |
|
Regular User
Join Date: May 2002
Location: Yes and No
Posts: 411
|
Re: Re: Re: Problem Report: AudioGraph filter...
Quote:
could you please direct me to the correct spot? regards t
|
|
|
|
|
|
|
#13 | Link | ||
|
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
|
Quote:
Quote:
|
||
|
|
|
|
|
#16 | Link | |
|
developer wannabe
![]() Join Date: Nov 2001
Location: Jersey City, NJ
Posts: 1,211
|
Quote:
|
|
|
|
|
|
|
#17 | Link |
|
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
|
AviSynth 2.5.6 CVS Pre-Releases. [December 17th]
I've put up a new release
http://bbsrv.imp.leidenuniv.nl/~wilb...nth_191204.exe changelog: additions: * Added an "[sse]b" option in Tweak to re-enable the SSE code if required (maybe an AMD might run it faster). * Added Limiter(show=show_luma/show_luma_grey/show_chroma/show_chroma_grey) shows out of bound luma/chroma; *_grey makes the rest of the pixels grey. * Added offsets and analyze option (ala ColorYUV) in RGBAdjust. * Added ColorBars(pixel_type="YUY2"). bug files: * Fixed Normalize (it was only sampling half of the samples per mouthful; it was ignoring the scaling factor). optimizations: * Tweak: added C code, which is now faster than the old iSSE code. * Reworked some code in some audio filters which uses 64 bit operations (many of the routines are between 2 and 5 times faster). changes: * Normalize uses 256K transfer buffer to analyze peaks (should be > 5 times faster now); and displays the frame number of the peak. I hope I didn't forget anything. Btw, the included docs in the installation are updated. Last edited by Wilbert; 19th December 2004 at 20:38. |
|
|
|
|
|
#18 | Link |
|
AviSynth Developer
![]() Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
|
Januar 6th Beta 1 Release:
Great work by Ian: - ConvertToFloat() fast SSE & SSE2 + Opt output copy. - ConvertFromFloat() fast SSE2. - ResampleAudio() support SFLOAT. - Large amount of stability fixes. - ShowFiveVersions() YV12 + Grey fill 2 corner rectangles. - Fast Tweak, RGB Bias+Analyse, Limiter show. - ChangeFPS/ConvertFPS(clip, ...) as per AssumeFPS - Correct multi-channel audio fading. - Optimizations in Merge. Users with P3 should test the following script: Code:
ColorBars()
ConvertAudioto16Bit()
ConvertAudioto32Bit()
ConvertAudioto16Bit()
histogram("stereo")
Last edited by sh0dan; 6th January 2005 at 10:57. |
|
|
|
|
|
#19 | Link |
|
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 2,246
|
@sh0dan,
Ta! Dear All, And also in this release... - Reworked Cache and memory management Please break out your most evil cache busting scripts and test, test and test more. Also First Bug! (See I do test my own code) ![]() Converting from Float, ConvertAudioTo32Bit() SSE and SSE2, saturate incorrectly in the positive direction. For normalized values >= 1.0f it returns MIN_INT (0x80000000) instead of MAX_INT (0x7FFFFFFF). (Sounds really bad) Can someone with a 3DNow capable processor please test the following script. Code:
ColorBars() Amplify(1.1) # or more ConvertAudioTo32Bit() ConvertAudioTo16Bit() # Maybe Anybody Like to suggest some neat SSE(2) code to do the exact positive saturation. IanB |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|