Hey,
I'm using Despot plugin for Avisynth to improve a video captured from a VHS tape. The video is interlaced and I'm not going to de-interlace it because I will author it as a DVD. Before setting up anything, I used the command "show" to show the areas which will be eliminated using the filter.
The problem: The areas that the filter shows are the perimeter of the people or objects in the video. I think it happens because the video is interlaced. Because it is interlaced the perimeter of people and objects looks jaggy and the filter consider it as a speck.
So what should I do?
+ Reply to Thread
Results 1 to 7 of 7
-
-
So what should I do?
Smart bob it, filter it, reinterlace it:
LeakKernelBob(Order=1)#if TFF
##Filter here##
SeparateFields()
SelectEvery(4,0,3)#if TFF
Weave()
LeakKernelBob is part of LeakKernelDeint. You can also use Yadif(Order=1,Mode=1) or maybe TDeint(Mode=1). Make sure you get the field order right. -
What you suggest seems reasonable but I'm following Doom9's guide and according to it, my problem should not happen. They also take into account that at the stage of Despot the video is interlaced. I don't want to stray from the guidelines. I guess this is a problem with the setup of the filter itself. Something I done wrong.
Any ideas? -
Hehe, having never used the filter, I didn't know it was possible to make it interlace aware. You didn't include your script, and you didn't link to the guide originally.
If you're following that guide (which is very good), then I don't see the problem. You could just go ahead and encode it and check the results. If you want to encode just a part of it first, as a test, then use the Trim command. If you add this as the last line in your script, it'll encode only between frames 2000 and 3000:
Trim(1999,2999)
And if you don't like the results, then try my script, perhaps also trimming it. Mine makes the video progressive for the filtering, before reinterlacing it, so your script will have to be adjusted accordingly. And remember, interlaced footage often looks like crap on a computer, but looks fine on TV. -
Thanks anyway.
With further reading, I discovered that when show option is turned on there are 3 kinds of markings. The gray marks a noise that won't be removed because it was detected as motion. Only the white marks the noise that will be removed!
So it works OK after all.
-
Did you use 'interlaced=true' (default is 'false')?
http://www.avisynth.org.ru/despot/despot.html -
Yes, I did.
There is another problem now: When 'Show' option is turned on - there are segments in the video in which the whole frame is colored gray. When it happens, the filter ignores the stripes it has to remove, because the whole screen is categorized as "noise that won't be removed". I tried to increase p1, p2, and mthres [interlaced=true, pwidth=720, pheight=2, p1=55, mthres=50, p2=45, show=2] and then I don't get the gray problem, but the detection is not good - it ignores the stripes and notice things that are not noise or spots.
What can I do?
Similar Threads
-
Despot plugin does not work at all
By Umen Pich in forum EditingReplies: 47Last Post: 21st Jul 2012, 02:35 -
DeSpot Filter Question
By mcpogue in forum RestorationReplies: 1Last Post: 27th Feb 2008, 15:14