View Full Version : a lil filter :)
Marc FD
13th July 2002, 11:39
i've made my first avs filter : CopySame
wanna give a try
(it is designed to make 0-frames in 12 fps scenes of a 24 progressive source. you can use it to improve compressiblity on low bitrate encodes : it's like if your encoder gain a VFR capacity
(VFR = variable frame rate, like RV :)
(it is totally killing on HQ video content :)
If hope some cool guys (ie who can't choice between RV and MPEG-4) could test it with different params/codecs/settings :cool:
Download here (CopySame.zip 40Kp): http://ziquash.chez.tiscali.fr/CopySame%20Beta1.zip
Enjoy :devil:
TactX
13th July 2002, 17:48
Sounds interesting.
Just one suggestion:
I've noticed that the second frame of two equal frames sometimes (in my special case very often) looks better than the first, so it would be nice to have any option where your (propably cool) filter copies the second frame to the corresponding first frame. This should be possible !?
btw. I will test your filter this evening :)
EDIT: I just had an idea how I could do the same thing without CopySame needing to support it.
reverse()
CopySame(false,2,6,0.01)
reverse()
this should do exactly what I need :)
Marc FD
13th July 2002, 18:03
i see ...
I will add a mode (because this will slower the filter) who will make an average of the 2 frames => Denoise/better compressibility :)
I've a little pb with avisynth but i'll try to fix it :)
TactX
13th July 2002, 20:20
Originally posted by Marc FD
i see ...
I will add a mode (because this will slower the filter) who will make an average of the 2 frames => Denoise/better compressibility :)
Hmmmmm... this sounds good.
I've done some small tests. I works quite well :)
But I have some more suggestions :)
- It would be much easier to see wether a frame was copied if there would be a small maybe red block in the upper left corner (as a Debug option), or maybe even a counter that counts how many frames have been copied until the present frame.
- A limiter which would limit the number of copied frames in a row, so more aggressive settings could be used.
So far, so good. This filter is very interesting, and I'm sure mainly anime-fans will be very happy about it :)
Marc FD
13th July 2002, 22:22
Sounds like whe thinked about the same thing :
I've already made the features you're requesting,
but i just read your post now !! :cool:
So here in beta2:
- Unlimited Frame Shifting :devil:
- Map Noise Reduction
- Some other improvements (see readme)
If the XviD coders have heard my prayer :D ,i hope there
would be a 0-frame dropping feature in XviD, so when you
use this filter and drop a frame, this will directly reduce
the resulting file !!
(but this filter can already increases compressibility. just try :)
To see if a frame is keeped in ShowMap mode, look
at the bottom of your image : if you see a colored line,
the frame would be keeped, if you see nothing, it's created !
Use a tempsoft/smooth/fixer could make betters results :confused:
You can make a plenty of tests with the beta2 version because the basic code is now finished.
HERE YOU HAVE : CopySame.dll Beta2 :
http://ziquash.chez.tiscali.fr/CopySame%20beta2.zip
Note : i use avisynth 1.06b but i will change to 2.01 :cool:
PS : I'm going to make a Chroma DNR+F (Blender+Fixer)
for VCR sources (who have heavily noisy chroma) :D
TactX
13th July 2002, 23:22
Hmmm... it seems that "noise reduction threshold (nrt)" is a bit too *aggressive*. As soon as I set it to a value >0 almost any (next) frame is copied (reducing 24 fps content to 12 fps).
I could send you a small sample clip of my source, but since it happens in any scene, I don't think this is necessary.
"maximum frame shifting" works quite well :) and already helped me a lot.
Thx
Marc FD
14th July 2002, 17:01
I will do some improvements on the NR algo :)
I have a plenty of thing to do for this filter :
- Area-Based 0-frames Detection
- Planes-based 0-frames Detection
- Local-Intensity 0-frames Detection
- 0-frame Blending
- 0-frames Pre-Processing
... and so on :)
TactX
14th July 2002, 18:34
I've got my last exam on tuesday. I need a new version then :D
Happy coding !
Marc FD
15th July 2002, 12:38
I'm working on ChroNoFix but i will improve CopySame very soon ;)
(ChroNoFix is a temporal filter, so some improvements i've found for ChroNoFix can be used for CopySame :)
Good exams :D
TactX
15th July 2002, 12:45
Originally posted by Marc FD
Good exams :D
Nah, not too good 'til now :(
btw, I can't find ChroNoFix on your page (the link in your signature) !
Marc FD
15th July 2002, 16:55
I know.
I've added my filters on my homepage :)
I'm going to work on CopySame now. :devil:
Marc FD
16th July 2002, 19:11
I've uploaded CopySame b3 :)
WARNING : This is not a working filter : It's only a demo of my Motion compensation engine :devil: + :D + :cool: + :eek: + :angry:
I'm going to improve it do a better movement detection in CopySame and to do a MoComp temp-spatial noise filter :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.