View Full Version : Filter to remove little bit of jerky movement
Kayaker
20th March 2006, 15:31
Hi there.
I'm encoding several interlaced cartoons to Xvid.
I use deinterlace blend=false and a little bit of resize.
the thing is the final video has a little jerky motion (mostly up and down, but sometimes sideways )
It's a little bit, maybe a couple of pixels of the whole frame.
I don't know if this is because the source (cartoons) or because of the deinterlacing.
I suppose it's because the cartoons.
The question is, What is the recommended filter to remove this little bit of jerky up and down and sideways motion of the whole frame from time to time ?
Thanks.
foxyshadis
20th March 2006, 16:02
blend=false? fielddeinterlace, then? Try TDeint or LeakKernelDeint. In particular tdeint combined with eedi is good for cartoons but so slow. (This is assuming you're entirely sure it's not telecined, which shouldn't be deinterlaced.)
Kayaker
20th March 2006, 17:32
It's not telecined.
But let's forget for the moment about the deinterlacing stuff ( I'll try anyway your suggestions about deinterlacing ), the problem is with the little bit of jerky movement of the whole frame.
any filter can detect this little movement and "keep the frames steady" ?
BTW Can you point me to a sample script with Tdeint/EEDI2 usage ? I'm kinda lost...
foxyshadis
20th March 2006, 18:01
Oh, you might need depanstabilize. You might have to play with the settings so it won't mess with pans, but when it works it's great. CelStabilize also works well sometimes (other times fails badly), but it's better measured in seconds per frame than vice versa.
As for eedi:
For TFF clips:
AssumeTFF()
Interp = SeparateFields().SelectEven().EEDI2(field=1)
TDeint(order=1,field=1,edeint=Interp)
For BFF clips:
Interp = SeparateFields().SelectEven().EEDI2(field=0)
TDeint(order=0,field=0,edeint=Interp)
trolltuning
20th March 2006, 18:01
Try searching on depan. I think this is the filter you need.
Chainmax
20th March 2006, 18:05
Keep in mind that some cartoons (like Ed, Edd and Eddy) are intended to be that way. As for how to deinterlace according to foxyshadis's suggestion, here it is:
How to IVTC:
For TFF clips:
AssumeTFF()
Interp = SeparateFields().SelectEven().EEDI2(field=1)
Deinted=TDeint(order=1,field=1,edeint=Interp)
TFM(mode=6,order=1,PP=7,slow=2,mChroma=true,Clip2=Deinted)
TDecimate(mode=1)
For BFF clips:
Interp = SeparateFields().SelectEven().EEDI2(field=0)
Deinted = TDeint(order=0,field=0,edeint=Interp)
TFM(mode=6,order=0,PP=7,slow=2,mChroma=true,Clip2=Deinted)
TDecimate(mode=1)
How to Deinterlace:
For TFF clips:
AssumeTFF()
Interp = SeparateFields().SelectEven().EEDI2(field=1)
TDeint(order=1,field=1,edeint=Interp)
For BFF clips:
Interp = SeparateFields().SelectEven().EEDI2(field=0)
TDeint(order=0,field=0,edeint=Interp)
How to Bob:
For TFF Clips:
Interp = SeparateFields().EEDI2(field=3)
TDeint(mode=1,order=1,edeint=Interp)
For BFF Clips:
Interp = SeparateFields().EEDI2(field=2)
TDeint(mode=1,order=0,edeint=Interp)
[edit]Oops, beaten to the punch :).
Kayaker
20th March 2006, 18:13
Ok.
Thanks to everybody !!!
I'll play around a little with differents types of deinterlacing / resizing.
And with depanstabilize to see what happens.
Fizick
20th March 2006, 19:07
DePanStabilize, deShaker.
But I am not sure it can helps.
Chainmax
20th March 2006, 20:19
It seems I got the deiterlacing part wrong, post corrected.
Kayaker
21st March 2006, 12:34
Fool of me !!!
After several hours of struggling around with several deinterlacers and a lot of parameters, always getting jagged lines and artifacts, I saw what I should have seen in the first place.... It was telecined material.
I'll whip myself and sing along "I must check telecine properly before any deinterlacing" :)
Thanks you all for the time and support.
Next time I'll bring a more intelligent question :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.