I have found two nice filters for avisynth:
MSharpen and Dup Filter.
Here is some extract of their functions:
Quote:
MSharpen Filter for Avisynth
This plugin for Avisynth implements an unusual concept in spatial sharpening. Although designed specifically for anime, it also works well with normal video. The filter is very effective at sharpening important edges without amplifying noise.
Following are before and after frames for a typical anime:
The filter supports YUY2 and RGB. It also supports configurable defaults in case the user is unhappy with the author's choices.
This filter is not yet optimized for speed. Optimizations will be included in a future version.
The justification for the filter is simple. The biggest complaint about Unsharp Mask (for example) is that setting the strength high enough to sharpen important edges also amplifies noise and small detail. MSharpen solves this problem effectively by detecting important edge areas and then applying sharpening only to those areas. You first set the 'threshold' parameter so that desired edges are selected. Then you set the sharpening strength. You can set very high sharpening strengths without amplifying noise or fine detail (because the edge map is used to mask the sharpening).
The justification for the filter is simple. The biggest complaint about Unsharp Mask (for example) is that setting the strength high enough to sharpen important edges also amplifies noise and small detail. MSharpen solves this problem effectively by detecting important edge areas and then applying sharpening only to those areas. You first set the 'threshold' parameter so that desired edges are selected. Then you set the sharpening strength. You can set very high sharpening strengths without amplifying noise or fine detail (because the edge map is used to mask the sharpening).
Dup Filter for Avisynth
This plugin for Avisynth implements a robust duplicate frame detector. It is initially intended as a test bed for a new frame differencing algorithm, but to make it a useful filter in its own right, a copy feature has been implemented, whereby a frame that is determined to be close enough to its predecessor to be considered a duplicate will be replaced by a copy of the predecessor. This can significantly reduce the size of encoded clips with virtually no visual effect. It's a free lunch! ('Marc FD' first implemented this copying functionality.)
You can configure the percentage difference at which a duplicate is declared. This gives you control over the extent of frame duplication, and therefore of amount of bitrate reduction.
The filter provides a debug mode that eases configuration and makes it easy to see what the filter is deciding. Here is an example of this mode in action:
The filter currently requires YUY2 input. It is not yet optimized for speed. Optimizations will be included in a future version.
The justification for the filter is simple. Many duplicate detectors are incapable of adapting to changes in the luminance levels of the various scenes in a clip, and they are badly affected by noise. They have delicate absolute thresholds that must be set by the user. This filter attempts to solve all of these problems.
|
I have found these filters interesting if encoding anime. And donīt know how they will affect other type of streams.
I have not personlly tested yet, so donīt know how the CQ will be affected. As soon as I finish with Scooby Doo, I will try them on some
Disney Animation (Lilo and Stitch).
Perhap someone could post some results.
The download page, with links to other interesting filters is:
http://shelob.mordor.net/dgraft/
Gaudi