i am allways open it what concerns increase of speed and also good image quality, and this might became handy: part of the text file that comes with the filter: *************** Okay, on to business. UnFilter is a simple and reasonably fast Avisynth Soften/Sharpen filter. It implements 5-tap user adjustable horizontal and vertical filters designed to (slightly) reverse previous efforts at softening or edge enhancment that are common (but ugly) in DVD mastering. Since DVD's were intended originally for interlaced displays this has caused content providers to vertically filter them even a bit more to hide interlacing artifacts. I don't know why they sometimes over do the edge enhancement. When softening it will attempt to approximate the inverse of a simple 3-tap edge enhancement filter. When sharpening it will attempt to approximate the inverse of a simple 3-tap softening filter. For the math and logic involved see the comments in the UnFilterALL.inc member included in zip file. The effects are fairly mild but be aware that excessive sharpening makes things harder to compress and may bring about the dreaded "edge enhancement artifacts" the people complain about in DVD's from some studios. And while excessive softness may hide noise it loses detail and generally just looks ugly. So it is probably best to just try to reverse whatever has already been done to your source. To use it just: 1) Place the UnFilter.dll in a directory somewhere. You can get it from 2) In your Avisynth file use commands similar to LoadPlugin("F:\UnFilter\UnFilter.dll") Avisource("D:\wherever\myfile.avi") UnFilter(HSharp, VSharp) Of course replace the file and directory names with your own and supply the integer values for the amount of horizontal and vertical sharpness. Valid values for each are from -100 (max softness) through zero (neutral) through +100 (max sharpness). UnFilter should run on all MMX machines or higher. It has also has some added code for 3DNOW instructions for when it is running on a K6-II or higher and some SSEMMX for P3 & Athlon. Known issues and limitation: 1) Assumes YUV (YUY2) Frame Based input. Use an AVIsynth function to convert first if needed. 2) Currenty still requires the pixel width to be a multiple of 4. This probably shouldn't be required but I pilfered the code from some of my other filters. Sorry, I'll fix it later. 3) So far it has only been tested on SSEMMX machines. Temporary file locations: For now, both source, this readme, and DLL should be at: A copy of this Readme_UnFilter.txt file should be at: *************** so i tried it and got good results. this new filter looks very promissing, and if more ppl test it we could get the proper settings for our encodes,. so if you what to give a trie with this one , report back your results. sample avisynth: LoadPlugin("C:\PROGRA~1\DVD2SVCD\Avisynth\UnFilter.dll") LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\MPEG2D~1.DLL") LoadPlugin("C:\PROGRA~1\DVD2SVCD\Avisynth\textsub.vdf") AVISource("C:\DOCUME~1\svcd\Desktop\movie.avi") ConvertToYUY2() AssumeFPS(25,1,True) UnFilter(15,15) BicubicResize(352,288,0,0.6) TextSub("c:\movie.srt") ResampleAudio(44100)
--------------------- Имеющие терпение способны создать шелк из листьев и мед из розовых лепестков
Did you play around with any of the values for it? Does 15 look to be prettty good? I will try to encodes tomorrow when I get a chance. Also how much of a speed increase did you get from it in reagrds to the regular sharpen filter?
--------------------- Терпение-качество сильных.Как и верность...
No, i only do SVCD and from the look at your resize, u are doing VCD I have tried a lot of bicubic resize methods (upwards 1.2)and although it does make the picture sharper, it doesn't do it in exact the same way and i liked the way unfilter did it!
@Dreassica sure, you have to replace 352 by 480 and 288 by 576 for svcd - sorry i forgot that! ;-)))) BicubicResize(480,576,0,0.8) ist the pattern i would recommend.
@gizmau, clixomano Thanks for the suggestions. I will have to look into them. I just wanted to clear up what I was talking about with the cutting of the .bin and .cue. When I am looking for chapters to encode I use the shortest ones on the DVD. The problem is that most of the chapters are about 1:30 to 2:30. When I encode them the file size is about 18 megs for every min of video. The problem is that I dont think that you would need 1:30 to 2:30 to determine if you think that particular clip is the best of the 3 that I am going to post. I would like to cut the .bin and .cue down to about 30 secs. I think that if you saw a clip that was 30 secs long then that would be plenty if time for you to look and replay it, and make up your mind.
Clixomano, you're right about the speed. I have done few tests with different movie samples and I have to say I did not notice any quailty lost. My movie sample were around 8 mb big . My system is Athlon Xp 1800 512 Meg of ram(DDR) 60 gb hd Encoding w/DVD2SVCD my speed was .788-.806 this is the AVS script DVD2SVCD produced: LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll") AVISource("C:\Unfilter\test.avi") ConvertToYUY2() BicubicResize(480,412,0,0.75) TemporalSmoother(2,1) Sharpen(0.10) AddBorders(0,82,0,82) ResampleAudio(44100) Using Unfilter my speed Increase noticeable to 1.185-1.204 and my AVS script: LoadPlugin("C:\UnFilter\UnFilter.dll") AVISource("C:\Unfilter\test.avi") ConvertToYUY2() UnFilter(20, 20) BicubicResize(480,412,0,0.75) AddBorders(0,82,0,82) ResampleAudio(44100) My CCE settings in both cases: MUltipass VBR 4 pass Avg 2230, Min 300 Max 2530 Image Quality 17 Anti Noise Filter 3