Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Advanced Video Processing > Fixing Badly Interlaced Divx


Posted by: stein Feb 18 2003, 10:27 AM
Hi!

I got a divx movie, that has some ugly inrterlacing artefacts.

After a closer look I discovered the following :

- it is 688x544 at 25 fps
- there is a pattern of behavior that repeats every 12 frames. For further discussion I will use the names "frame 1" to "frame 12" to refer to a particular frame in this repeating sequence ( the movie picture does not repeat, only some of the properties of those frames ) :

- frames 11 and twelve are always the same ( except for divx compression artefacts )
- every frame is made up of two fields, that were not taken at the same moment, so there is an ugly comb effect.

- one field of a frame is from the same moment of time as one field from the following frame, except frames 8 and 9 , that have no "common" part

- if I could split the fields of all frames and then put them together like this :

from :
[ 1a 1b ] ( this is one original frame, "a" and "b" are the fields )
[ 2a 2b ]
[ 3a 3b ]
[ 4a 4b ]

to :

[ 1b 2a ]
[ 2b 3a ]
[ 3b 4a ]

then I would ( I assume ) get a picture with no interlace effect.
( frames 8 and 9 would require special treatment tho )

In virtualdub I managed to split the movie into two parts by using the deinterlace filter ( unfold side-by-side ) and crop.

Now I have two avi files , one has the even lines of original, the other the odd lines.

How can I put them back tigether , correctly ?
How do I delete each 12th frame ( to get rid of the duplicates ) ?

TIA,
stein


Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)