I have found out yesterday a much better way to do this. The problem with Jorel solution is that fields are not aligned, one field is shifted up and the other down, so temporal filtering won't work right. What this funcition below does is put odd fields in the left side and even fields on the right side of each frame, apply filters and interlace fields back. It's a much better approach! A interlaced frame like this:
AAAAAAAAAAAAAA - Frame 1
BBBBBBBBBBBBBB
AAAAAAAAAAAAAA - Frame 2
BBBBBBBBBBBBBB
AAAAAAAAAAAAAA - Frame 3
BBBBBBBBBBBBBB
Becomes:
AAAAAAAAAAAAAABBBBBBBBBBBBBB - Frame 1
AAAAAAAAAAAAAABBBBBBBBBBBBBB - Frame 2
AAAAAAAAAAAAAABBBBBBBBBBBBBB - Frame 3
Then you apply the filters and get back to:
AAAAAAAAAAAAAA - Frame 1
BBBBBBBBBBBBBB
AAAAAAAAAAAAAA - Frame 2
BBBBBBBBBBBBBB
AAAAAAAAAAAAAA - Frame 3
BBBBBBBBBBBBBB
Check it out:
http://forum.doom9.org/showthread.php?threadid=59029
[]'s
VMesquita