PDA

View Full Version : Change scene detector and de blend


You Know
22nd June 2004, 14:33
Hi,

i try to elaborate a very noise interallaced and blended anime. (Capitan Harlock).

PAL 25fps

I have try to deinterallaced simply by

MPEG2Source("prova.d2v",cpu=4,iPP=true)
AssumeTFF()
SeparateFields()
or SelectEven()
or SelectOdd()
ConvertToRGB32()


buy sometimes

even field is good
odd field is good
both field is good

there is not a precise scheme of which field retain (I think)

I have read some some some thread but only gain more confusion on which type of deinterlacer to use.

tried
[list=1]
KernelDeint()
FieldDeinterlace()
DGBob()
TomsMoComp(1,5,0)
restore24(a2, b2)
[/LIst=1]
buy all jagged line, only SSTomsMoComp("tff") work good.

But blended frame remain. There is possibility to take only correct not blended frame but i do not know.

After i make script above to separate fields which filter i must use to detect correctly blend and decimate?

But deinterallace and deblend is not sufficent....there is other problem...at every change scene on the bottom of frame there are a background noise
http://wwwstud.dsi.unive.it/~nfalco/doom9/striscia.jpg (http://wwwstud.dsi.unive.it/~nfalco/doom9/striscia.png)

so i ask if exist a plugin for change scene detector to select frame before and after change scene and substitute those frame with other
for example
frame
A B C D E
scene change between C and D so i want substuite C with B and D with E to obtain
A B B E E

obvious chenge detector must work as scene forward in virtualdub but with an input thresold (virtualdub not always detect scene)

My first step now is for delete damn blended frame and preserve correct frame after separetefield and set exatly 23.976 fps (not 24)

Restore24 make too artifact recostructing blend area so i do not like this, correct field there are.

mf script i like but blend must be deleted

scharfis_brain
22nd June 2004, 14:58
provide an *unprocessed* sample
either as VOB-snipplet
or if it isn't from DVD as MJPEG (better: interlaced XVid)

max Filesize 10MB (better 3MB)
min Frames : 100 (4 secs)

kassandro
22nd June 2004, 18:18
Originally posted by You Know
so i ask if exist a plugin for change scene detector to select frame before and after change scene and substitute those frame with other
for example
frame
A B C D E
scene change between C and D so i want substuite C with B and D with E to obtain
A B B E E

obvious chenge detector must work as scene forward in virtualdub but with an input thresold (virtualdub not always detect scene)



My Filter ImproveSceneSwitch, which is part of the Removedirt plugin, does just this. It can be downloaded from www.removedirt.de.tf (http://www.removedirt.de.tf).

You Know
22nd June 2004, 18:34
i want try to understand very good intelaced, i follow a link (http://home.arcor.de/scharfis_brain/ExotischesInterlacing/) founded in prevous thread of your page but i do not speak german. If you want translate that page of interlaced material in english i'm happy to understand interlaced mystery

Are extracted from vob and cutter with MPEG editXpress, structure should be maintained
SCENE 01 (http://wwwstud.dsi.unive.it/~nfalco/extra/scene01.mpg)
SCENE 02 (http://wwwstud.dsi.unive.it/~nfalco/extra/scene02.mpg)

@kassandro
thanks i try now

You Know
25th June 2004, 02:07
@kassano
i have try you filter ImproveSchene switch work as i hope

i think show option should show on a frame (as dup for example)
frame count
frame used
and 2 tag
FIRST [on/off]
LAST [on/off]


so I can understand immediately where filter work without use debugview

For this video (as also GTO) some times not sufficent substitute sequence n-1,n,n+1 by n-1,n-1,n+2,n+2 but is useful have variable to set more than one post and pre dup ... for example is useful for me substitute not only first and last but also post first and pre last ... having variables than tell filter that last is n-2 and first is n+3

ImproveSceneSwitch(clip,orig, ratio= integer, extrapolate= boolean, \
first=boolean, firstlenght=[1..5], last=boolean, lastlenght=[1..5], \
field=0,1,2, debug= boolean)

so ImproveSceneSwitch(dein,input, ratio=2, first=true, firstlenght=2, last=boolean, lastlenght=1)
it substitute n-1,n,n+1,n+2 by n-1,n-1,n+3,n+3,n+3

I WILL POST A SCREEN SHOT where you can show how your filter work catching a post frame (n+2) very dirty and very scratch

scharfis_brain
25th June 2004, 08:31
I think, you should run improvesceneswitch after restore24...

this clip is a Film -> NTSC -> PAL conversion...


use restore24 for recreating progressive 24fps

after that you may try improving the scene switches