PDA

View Full Version : Deinterlace Anime Without Blend/Ghost?


Caspar
3rd March 2005, 00:00
I ran into some problems trying to deinterlace this anime (clip below, will supply Huffyuv if required).

I have tried fielddeinterlace and Tdeint both either produced frames with ghosting or very bad frames without ghosting (interpolate). It doesn't look that bad before I decimate the frame rate from 30fps to 23fps. At 23fps it looks very bad.

Here's what the d2v file look like:

Stream_Type=1,0,0
iDCT_Algorithm=2 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Picture_Size=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=4:3
Field_Operation=0 (0:None 1:ForcedFILM 2:SwapOrder 3:RawFrames)
Frame_Rate=29970
Location=0,0,1,5900

7 0 2048 1 1 10 10 10 10 10 10 10
7 0 141312 1 1 0 0 10 10 10 10
7 0 296960 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 481280 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 688128 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 919552 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 1120256 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 1335296 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 1564672 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
7 0 1810432 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10
...
7 1 46116864 1 5 10 10 10 10 10 10 10 10 10 10 10 10 10
7 1 46381056 1 6 10 10 10 10 10 10 10 10 10 10 10 10 10
7 1 46546944 1 6 10 10 10 10 10 10 10 10 10 10 9

FINISHED 0.00% FILM

Sample: Sample Interlaced Clip (http://www.james.seedhost.com/oa-sample/Interlace.avi)

I don't think this is telecided source... please correct me otherwise (I have also tried telecide(order=1,post=0) just as a test and it didn't turn out too well). Can someone also explain what type of source this from the d2v file? The tutoral at http://www.doom9.org/ivtc-tut.htm doesn't seem to cover this?

Bleh, you may be getting tired of all these interlace threads already. Please point me to a similar thread with this type of source if you know of any.


Thank you.

neuron2
3rd March 2005, 00:23
It's your standard crappy blended fields rate conversion video. Do a search on "blended fields". But why are you trying to convert to 23fps? That's a very off-the-wall-rate.

Caspar
3rd March 2005, 00:31
Sorry about that. I made a mistake, it should have been 24fps (29.970 to 23.976 rounded). I'll look into the 'blend field' now.

Edit:
Blended Fields. Some streams have fields that are blends of two original film progressive pictures! Some NTSC/PAL conversions can cause this, for example. Usually such a stream has a lot of these and the solution is to run postprocessing with blend=true to clean up the output stream. Using blend=true mode seems to work best and the blended fields appear as blended frames, which lends a kind of motion blur and reflects the "intent" of the input stream.

In cases where there are a lot of blended frames, there is no point in using Telecide at all. Just use FieldDeinterlace() to treat the clip as interlaced video.

According to this, it says I should use fielddeinterlace... but that produces a lot of ghosting... bobbing doesn't work so well either... :(

neuron2
3rd March 2005, 05:39
There's no magic bullet. Sorry.

You can try such things as "Unblend", but I never had much success with them.