View Full Version : problem...litle white pixels
killerhis
22nd March 2003, 00:17
When i use avisynth.. and playback the movie (avisynth scrip), i get sometime little white pixels. I don't know how they come there, or how to remove them. I think that it;s a side effect of Deinterlacing. This is the scrip that i'm using:
#version 1.2 alpha
# plugins
loadplugin("C:\Program Files\AviSynth 2.5\plugins\mpeg2dec_avisynth25\MPEG2DEC.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\decomb406b4\Decomb.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\UnDot\UnDot.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\BicublinResize beta 1\BicublinResize.dll")
# source
video=mpeg2source("C:\ripping\Ghost in the shell.d2v")
# video converting
FieldDeinterlace(video, full=true)
Crop(8, 24, -8, -24)
UnDot()
#BicublinResize(640,352)
I also can't get BicublinResize running.. when i run the file (in mediaplayer) it gives a fatel error :(
So anyone any ideas how i can fix these problems!
Thankz
Killer HIS
manono
22nd March 2003, 02:10
Hi-
If you're using DivX 5.xx with GMC and/or Q-Pel, you might try with them turned off. They have been known to cause artifacts such as you describe. I don't think that FieldDeinterlace will cause it.
killerhis
22nd March 2003, 11:07
Well, i'm not using divx, but Xvid. And the noise is already in the avisynth script...!
Any other ideas!
killerhis
22nd March 2003, 19:20
Well.. I've got some extra info about those white noise problem of me.. First, it occures not often and the noise pixel is only 1 fame size, here is a previeuw of the noise
http://home.wanadoo.nl/chourak/white noise.JPG
So anyone know how i can remove this??
Thankz!
MasterYoshidino
29th March 2003, 20:30
its in your source
nothing you can do about that
WyldeF1r3
29th March 2003, 22:51
well if you wanna spend ALOT of time, you can try opening the d2v file in TMPEGenc and go to the frame that happens on and try to reorganize the frame distrobution in the IvTC tab to omit that frame. That of course generally only works if you HAVE a clean frame withing a few frames of that one, that the error is not in them, and if there isn't much/any motion between the frames or you'll get blocky movement. But I did this to remove many of these errors from old source anime DVDs like Argento Soma and Kare Kano. You can save the tpr of your manually set frames and load it into avisynth through tprivtc, and it should work fine that way.
killerhis
29th March 2003, 23:54
Well.. first i wanna thank you all for your reply... BUT NONE ot the reply's are USEFULL! I've found out that the NOISE IS IN THE SOURCE
:((..... but after playing a lot around.. i got it FIXED... how?
Well i now use this:
dup(threshold=2.0, copy=true, blend=true, debug=false)
And why is the threshold so high?? Well i've discovered if i put the threshold =<1.5 (normal value for PAL anime) I have those white noise, but by putting it >1.5 it faides. And you don't see it anymore at a value of 2.0
So anyone got the same problem, use this, but apply it before using any smoothers, otherwise the noise is gonna be adhanced :))
Have fun with it!
MasterYoshidino
30th March 2003, 02:31
=)
only thing im afraid of is jerky play back of fadein/fadeout scenes
happens when you set the threshold too high
Kurosu
30th March 2003, 15:16
@Killerhis
You could have alternatively tried this:
function CopyFrame(clip vid, int n1, int n2)
{
vid2 = vid.trim(n2,1)
vid.trim(0,n1-1) + vid2 + vid.trim(n1+1,0)
}
mpeg2source("C:\ripping\Ghost in the shell.d2v")
FieldDeinterlace(video, full=true)
Crop(8, 24, -8, -24)
UnDot()
<Method>Resize(640,352) (I'll let you choose your resize filter)
CopyFrame(<bad frame number>,<good frame number>)
Edit
D'oh, replaced Replace by the needed CopyFrame
It's only usefull if this is a transient spot and the frame is static enough. Contrary to dup, it only changes one frame, therefore you have to use it several times in case of consecutive bad frames.
killerhis
30th March 2003, 18:45
Well this is the **** I want to hear.... I'll try it soon... meanwhile anyone got some sugestions/ideas.. post it! :)
lex3
31st March 2003, 12:36
If it is a one-frame-spot you can try SpotRemover filter for VirtualDub.
It is available from http://konstant.freeshell.org
MasterYoshidino
2nd April 2003, 08:20
sometimes its from a real bad master film, like the Soreyuke Marin-chan OVA series I purchased a month ago.
below is a screenshot link (notice the very bad frame quality on the top area)
http://masteryoshidino.adultbouncer.com/images/soreyuke_source_nofilter.png
the only way around that is dupicating frames before them (bad frames) as it seems to occur during scene changes
Requires a very complex dup script :\
lex3
2nd April 2003, 11:13
Probably, at scene change the 1st frame can be just manually trimmed?
It should not harm much the whole sequence...
sh0dan
2nd April 2003, 15:45
Feeling inspired by this thread I actually used a possible solution for your problem as an example in the conditional filtering thread (http://forum.doom9.org/showthread.php?s=&threadid=50105). Don't know if it helps your problem though. Note that sound it offsetted by one frame in the example - it should however be quite easy to solve, by inserting a frame in the first source, instead of removing one from the next.
killerhis
2nd April 2003, 19:39
This is a reply on MasterYoshidino post.. I have also the same problem with the noise above and below.. so i cropped 20 up and down!
Still anymore ideas on how te effectly remove the dots.. please post :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.