View Full Version : Deinterlacing a Cartoon
nel-son
13th May 2016, 13:36
Hi,
i've some Videos here i want to deinterlace. after bobbing the source i've got this notation for one second of the video:
a a a a b b b b c c c c c c d d d d e e e e f e f f f f g g g g h h h h h h i i i i j j j j k j k k k k l l l l m m m m m m n n n n
the green frames belong to the next second. as you can see the video jumps back after the firs f-frame to the e-frame and then again to the f-frame. the same with j and k. with other cartoons i've got very good results with
tfm().tecimate(23.976)
any idea how to deinterlace this video?
here is a sample: http://www20.zippyshare.com/v/RYjeCbKu/file.html
password: fordoom9only
nel-son
the posted sample is 4:2:2:2:2 with no frame jumps. the sample doesn't have a single interlanced frame all frames are PsF.
so the source is 25 FPS.
nel-son
13th May 2016, 15:38
wrong sample, sorry. here is the right one: http://www120.zippyshare.com/v/yQeMlGzc/file.html
ok the file is repeating interlanced frames as frames and not the fields.
and DXVA deinterlancer don't like this.
removing the repeated frames first and than field matching should do the trick.
i don't know how to this sorry.
nel-son
13th May 2016, 17:19
a simple
tfm().decimate()
looks very good. after that the framerate is 23.976.
GMJCZP
14th May 2016, 15:03
Seems a Disney's cartoon, then must be of 29.970 fps.
A trick: Japanese video (anime) -> Film (23.976 fps)
North American cartoon -> NTSC (29.970 fps)
European cartoon -> probably PAL (25.000 fps)
EDIT: try this:
Yadifmod(edeint=nnedi2))
Motenai Yoda
14th May 2016, 23:51
mmm no
usually disney's are 23.976fps too (at least the old ones)
and usa/european are 15 or 18 fps, like this
it depends on what is used to as a source.
the first sample is created from 25 FPs the second samples is technically broken.
there are repeated frames with 2 different fields like this: abab
GMJCZP
15th May 2016, 00:47
mmm no
usually disney's are 23.976fps too (at least the old ones)
and usa/european are 15 or 18 fps, like this
Indeed, the old Disney movies are 23.976, but in this case (I clarify now) is video made exlusively for TV (NTSC).
wonkey_monkey
15th May 2016, 01:30
Indeed, the old Disney movies are 23.976, but in this case (I clarify now) is video made exlusively for TV (NTSC).
I thought 24fps was still the standard, just as it is for "NTSC" TV dramas.
the problem here is that the standard was ignored.
GMJCZP
15th May 2016, 02:27
What complicates analysis is that this video was not made intended for the cinema, such as " The Jungle Book 2 " .
If it looks good with IVTC then nothing more add.
bcn_246
15th May 2016, 04:42
Given that cartoons use duplicate frames for still scenes I would look for some high motion section (such as rolling end credits). Also, you might be wise to use a free decimator like TDecimate(mode=2, frate=24/1.001).
ChiDragon
15th May 2016, 19:10
The sample originates from VHS. The repeats are inserted frames resulting from a poor capture.
The way to fix this is to go back to "your" source and capture it properly.
Max_143
15th May 2016, 21:43
FFVideoSource("E:\Temp\test1.mkv")
AssumetFF()
SeparateFields()
b1=last
SelectEvery(2, 0)
tdecimate(cycle=6)
b2=last
b1
SelectEvery(2, 1)
tdecimate(cycle=6)
Interleave(b2,last)
weave
TFM(mode=5, PP=1, slow=2)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.