Log in

View Full Version : interlaced artifacts in both fields


jkwarras
29th June 2005, 17:47
Hi,

I'm into a problem and I don't know if there's a solution. Let's see if someone here can help me out :)

I'm preparing a shorfilm to be encoded into xvid and h264. But for soem reason I don't remember (footage is mine), both fields shows interlaced artifacts (jagged), I'm almost sure that I did deinterlace the footage before making the final shortfilm video, but I guess is not (I did it a long time ago).

I've tried the following deinterlacers without succes:
Fielddeinterlace
Adeint
Separatefields
KernelDeInt and LeakKernelDeInt
GreedyHMA
DGBob
TomsMoComp

Here's a vidcap of a frame of the footage to show you what I'm facing (png, no recompress):

Original (both fields):
http://img140.echo.cx/img140/9066/leabothfields0ta.th.png (http://img140.echo.cx/my.php?image=leabothfields0ta.png)
Even fields:
http://img131.echo.cx/img131/1406/leaevenfields0un.th.png (http://img131.echo.cx/my.php?image=leaevenfields0un.png)
Odd fields:
http://img131.echo.cx/img131/7571/leaoddfields8ee.th.png (http://img131.echo.cx/my.php?image=leaoddfields8ee.png)

Script used to take the snapshots:
AVISource("H:\Mis cortos\Lea\lea-hf.avi")
separatefields().selecteven() [or selectodd()]
lanczosresize(720,576)


So, does someone knows a magic method to deinterlace or improve this footage in order to get a better encoding? :)

Any help/advice will be much appretiated. Thanks.

AVIL
29th June 2005, 22:18
Hi:

Try this script:

AVISource("H:\Mis cortos\Lea\lea-hf.avi")
separatefields().separatefields()

If the movement is progresive, i.e. the image advances uniformily from frame to frame, you can deinterlace with your preferred deinterlace (i suggest you tdeint from tritical). Add this deinterlacer to the second separatefields.

If, as is more probably, the image advance with jumps, forward and backward, or one frame is the same as the next, etc... you must make it uniform. Try, adding after the second separate field, selectevery (4, 3,2,1,0) selectevery (4, 2,3,1,0) or any logical order of the parameters until the image advances uniformly. If a frame is repeated then eliminate of the output in the parameters of selectevery. If you can uniformize with this technique after that do the deinterlacing. If not, try the filter msu_fieldshiftfixer.

Good luck

jkwarras
29th June 2005, 23:19
If, as is more probably, the image advance with jumps, forward and backward, or one frame is the same as the next, etc... you must make it uniform. Try, adding after the second separate field, selectevery (4, 3,2,1,0) selectevery (4, 2,3,1,0) or any logical order of the parameters until the image advances uniformly. If a frame is repeated then eliminate of the output in the parameters of selectevery. If you can uniformize with this technique after that do the deinterlacing. If not, try the filter msu_fieldshiftfixer.
Thanks for the info :)

The image advance with jumps, I'll try to see if I can make it uniform or use the filter you mentioned. Gracias!

scharfis_brain
30th June 2005, 05:29
jkwarras, instead of posting already processed images you should upload an unprocessed short clip somewhere.

how did you produce this strange thing?

Mug Funky
30th June 2005, 06:25
this hasn't been vertically resized before deinterlace has it? that'll do it.

make sure your nonlinear editing program isn't touching the video at all (premiere tends to just bugger up everything it touches), and let avisynth do all the hard work. sometimes an incorrect pixel-aspect ratio is the culprit...

FYI, don't deinterlace unless you really really have to.

jkwarras
30th June 2005, 19:24
jkwarras, instead of posting already processed images You should upload an unprocessed short clip somewhere.
The problem is that this is the final video, I don't have a clean version of it apart the raw material which I can't capture (i don't have a capture card for that) from the DVCAM tape.

how did you produce this strange thing?
I did it like 5 years ago and it was my first shortfilm, so I didn't really know anything about deinterlacing/postprocessing/etc... So I really don't remember what I did. I guess I tried to make some sort of TV effect, but I really don't know how I make these jagged effect, because it wasn't what I was looking for. I didn't pay attention to that in the past because I wasn't educated in seeing these artifacts (I discovered avisynth and the wonderful world of processing/denoising/etc... some years after that editing).

So, in short, no idea. I guess I deinterlaced it in after effects and I did something weird to it. I'll guess a part from editing the film again (which I'll not do) I should live with it :)