Log in

View Full Version : Reinterlacing Filter?


Buck746
13th March 2004, 04:33
Does anyone know of a filter to "reinterlace" a video? What I mean is I have a video that is running at 59.94fps. There is a filter for After Effects that can do it from realsmart's fieldskit filter set, but I can't open .ts files in After Effects. Opening an .avs with directshowsource won't work in AE but will thru VDUB.

The footage is off of 720p hdtv. I tried decommpressing it to an avi and used the filter in AE and fond it's got the correct pattern for 3:2 pulldown. So if I can reinterlace it and then do IVTC I will have the original 24fps material. The problem is just the massive amount of HD space to do it thru VDUB then AE. I have tried using the decimate filter with very poor results. Going thru AE seems to cancel out the few visible artifacts from the mpeg commpression.

Does Directshowsource have a limit to 4gb files? The .ts files I have are sized to fit onto a dvd-r. When i open them thru avisynth the ends get cut off. Is there another way of opening mpeg-2 transport and program streams? I know I probably sound very ignorant here but that's because I am, I'm just learning this. If you've heard this before, i'm sorry.

stickboy
13th March 2004, 05:22
Originally posted by Buck746
Does anyone know of a filter to "reinterlace" a video? What I mean is I have a video that is running at 59.94fps.So you want to take, say, the even scanlines from the even frames and the odd scanlines from the odd frames and merge them together? If so, then try my JDL_Interlace function from http://www.avisynth.org/stickboy/
Opening an .avs with directshowsource won't work in AE but will thru VDUB.Try using ffvfw (http://forum.doom9.org/showthread.php?s=&threadid=49964).

scharfis_brain
13th March 2004, 08:25
this can also be done with three avisynth - commands:

separatefields()
selectevery(4,1,2)
weave()

stickboy
13th March 2004, 10:51
That is much simpler.

Why didn't I think of that? :D

(Would you mind if I use that instead of my current implementation?)

Buck746
13th March 2004, 22:29
Thenks Now I just need to solve the problem of not being able to read the whole files and IVTC. It feels good to make progress.

joshyg2
16th March 2004, 02:06
scharfis_brain would that be the same for a 50 fps clip?

or would the selectevery be different.

scharfis_brain
16th March 2004, 06:50
this turns every 60p to 60i and 50p to 50i

the selectevery - command has influence on the fieldorder

selectevery(2,1,0) and selectevery(2,0,3)
are valid.

one of both makes bff and the other tff.

you can check this with an additional
info()
after the weave() - command

Prosper
21st March 2004, 09:05
Assuming the source is film to start with, you might have some luck simply with:

Pulldown(0,2)


This will convert a 59.94p stream to a 23.976p simply by dropping 3 out of 5 frames outright. I have had good luck with this with some HBO material (originally film)