Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 20th March 2006, 15:31   #1  |  Link
Kayaker
Registered User
 
Kayaker's Avatar
 
Join Date: Oct 2005
Location: Argentina
Posts: 155
Filter to remove little bit of jerky movement

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.
Kayaker is offline   Reply With Quote
Old 20th March 2006, 16:02   #2  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
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.)
foxyshadis is offline   Reply With Quote
Old 20th March 2006, 17:32   #3  |  Link
Kayaker
Registered User
 
Kayaker's Avatar
 
Join Date: Oct 2005
Location: Argentina
Posts: 155
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...

Last edited by Kayaker; 20th March 2006 at 18:17.
Kayaker is offline   Reply With Quote
Old 20th March 2006, 18:01   #4  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
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:
Quote:
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)
foxyshadis is offline   Reply With Quote
Old 20th March 2006, 18:01   #5  |  Link
trolltuning
Registered User
 
Join Date: Dec 2003
Posts: 215
Try searching on depan. I think this is the filter you need.
trolltuning is offline   Reply With Quote
Old 20th March 2006, 18:05   #6  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
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:

Code:
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 .
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.

Last edited by Chainmax; 20th March 2006 at 20:18.
Chainmax is offline   Reply With Quote
Old 20th March 2006, 18:13   #7  |  Link
Kayaker
Registered User
 
Kayaker's Avatar
 
Join Date: Oct 2005
Location: Argentina
Posts: 155
Ok.
Thanks to everybody !!!

I'll play around a little with differents types of deinterlacing / resizing.

And with depanstabilize to see what happens.
Kayaker is offline   Reply With Quote
Old 20th March 2006, 19:07   #8  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,182
DePanStabilize, deShaker.
But I am not sure it can helps.
Fizick is offline   Reply With Quote
Old 20th March 2006, 20:19   #9  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
It seems I got the deiterlacing part wrong, post corrected.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 21st March 2006, 12:34   #10  |  Link
Kayaker
Registered User
 
Kayaker's Avatar
 
Join Date: Oct 2005
Location: Argentina
Posts: 155
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
Kayaker is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.