Clixo
5th July 2002, 21:35
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
www.trbarry.com/UnFilter.zip
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:
www.trbarry.com/UnFilter.zip
A copy of this Readme_UnFilter.txt file should be at:
www.trbarry.com/Readme_UnFilter.txt
***************
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)
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
www.trbarry.com/UnFilter.zip
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:
www.trbarry.com/UnFilter.zip
A copy of this Readme_UnFilter.txt file should be at:
www.trbarry.com/Readme_UnFilter.txt
***************
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)