Log in

View Full Version : i dont know how to deinterlace this kind of stream


chichen0417
29th June 2002, 06:05
first of all, we know that each frame contains two fields, odd and even fields.
assume the frame 1 has o1 and e1 fields, f2 has o2 and e2 field, and so on.
now, i re-write it,

f1 f2 f3 f4 f6 f7 (frame order)
o1 e1 o2 e2 o3 e3 o4 e4 o5 e5 o6 e6 (field order)

:confused: my problem is,
how do i re-construct the origional stream to be this order?

f1 f2 f3 f4 f6 f7 (frame order)
e1 o2 e2 o3 e3 o4 e4 o5 e5 o6 e6 o7 (field order)

one more question,
does any one know that any mjpeg code has a real lossless function?

:eek:

chichen0417
29th June 2002, 06:11
f1---> o1 e1
f2---> o2 e2
f3---> o3 e3
f4---> o4 e4
f5---> o5 e5

now, i wanna get this construction.


f1---> e1 o2
f2---> e2 o3
f3---> e3 o4
f4---> e4 o5
f5---> e5 o6

i think this one will be clearer.

Leuf
30th June 2002, 08:40
So you just want to delete the first field? The easiest way to do this is with avisynth

SeparateFields()
Trim(1,0)
Weave()

You may need to use SwapFields() after

chichen0417
30th June 2002, 09:21
thank you very much.