![]() |
KVCD: Strange ghost effect on some scenes?
Ok I first though it was a problem caused by the use of AsumeFPS() line on my script but I tested it without it and I get this (right click and save as plz)
what is causing that efect? first time it happens to me, this is the 3rd movie I`m doing with AVS 2.5.x, and I didn`t noticed something like this in the others :?: heres my script Code:
## Defined Variables and Constants ## |
The guy is very cold :mrgreen:
I believe there's nothing in the script that would cause that. I believe it's a frame rate issue. UNLESS, that specific scene is right at the border of the treshold of the MA script filter switching point, and you are seeing a fast oscilation between TemporalSmoother and unfilter kicking in and out at a very high speed. The best analogy to this is "Histheresis" effect: http://ourworld.compuserve.com/homep...t/elect344.htm ( I guess my years in electronics always pay off, even in video :lol: ) So you can try something quick. Change this line: SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 \ To read: SwitchThreshold = (Width<=352) ? 10 : (Width<=480) ? 10 : 10 \ But just for a test, and encode that section again. If the problem is gone, then it is a hystheresis problem, and the way to correct it will be to implement a "SCHMITT TRIGGER" in the script ( which should be a piece of cake ;) ) Let me know :D -kwag |
Ok this is weird
I use your line on my script, it worked, removed that ghost efect but added a noise line on the right edge. So I tried to experiment my self lowering the number and replaced you line by this SwitchThreshold = (Width<=352) ? 8 : (Width<=480) ? 8 : 8 and the ghost was back there, so I rencoded with the line you gave me just to put a pic here and the ghost was ther and the line not 8O 8O I did it several times, and with diferent resolutions but all the same. I`m going mad :? BTW whats a SCHMITT TRIGGER?? I just noticed that it happens in other places of the movies too, ie a camera inside a parked car and ther woman that you can see in the dark has the same ghost efect :oops: |
Quote:
Imagine you have a bucket of water (our frame motion difference range) with a single sensor (our treshold) like this: Code:
| |\ blurring rangeSo you have an oscilation of alternating filters. The way to fix that, is to add a SCHMITT TRIGGER circuit in software, just like it is designed in digital logic. So what we do is this: If the water fed (the frame difference) just hit (tripped) over the sensor point, we LOWER the threshold point a tad. For example: If our sensor (treshold) measuring point is 2.0, we drop it (set it) to 1.8 on a "rising" transition of water (frame difference). If the water (frame difference) tripped BELOW 1.8 (lowering difference), we set the treshold back to 2.0. What does this do :?: Simple :) It avoids oscilations (hysteresis), because once a point is tripped, the water level (our threshold) needs a higher (or lower) level change to switch, and this keeps the filters from switching back and forth (oscilating) on that boundary when that condition is met :D I hope this was clear, as I tried to make it as non-technical as possible :? If you want a simple technical (digital) explanation, here it is :D : http://www.photonics.com/dictionary/.../QX/lookup.htm -kwag |
So where does the funny name come from? :P
|
Quote:
is the name of the inventor that faster "flip-flop". :wink: great link Kwag :!: |
Ok first of all sorry for the delay to answer and thank you for the help I`ve been a little bussy but now I `m back.
I think I totally understood what did you say, and it`s what in audio it`s a GATE/compressor, now How do I change the value?? I tried changing the MaxTreshold = 1.5 line but it doesnt have any noticeable effect on this case, I moved it to the min. and the max (1.0 and 1.58) I also tried this combined to changing the line you said in your first reply, that makes it look a little bit better but the effect is still there. Thanx in advance :D |
and I solved it!!!!!!
It was FFdshow issue I unistalled it and downloaded the lates Koepis XVid codec and it worked like a charm :D |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.