Log in

View Full Version : Newbie Question about Deinterlacing


Mr_Grimm
26th May 2003, 03:15
I've just started using .avs scripts and I've found that they are a lot faster than the VFAPI converter I was using. I'm trying to frameserve (to CCE) a concert video that was encoded interlaced. Here is some info about the source:

Frame_Rate=29.97
Video_Type=NTSC
Frame_Type=interlaced

Below is a script I'm using in an attempt to deinterlace.

LoadPlugin("txt_dir+\mpeg2dec3.dll")
LoadPlugin("txt_dir+\decomb.dll")
mpeg2source("txt_dir+\\SLL.d2v")
ConvertToYUY2(interlaced=true)
FieldDeinterlace()
convertfps(23.976)
ResampleAudio(44100)

Is there a better or faster way to accomplish this task?

Thanks
Mr_Grimm

TelemachusMH
26th May 2003, 04:06
I haven't done much with interlaced material, so I am not sure if there is a reason for this or not. But your script would go a little faster if you ConvertToYUY2 at the end, so that the other filters will process YV12 video.

TelemachusMH

Guest
26th May 2003, 04:43
LoadPlugin("txt_dir+\mpeg2dec3.dll")
LoadPlugin("txt_dir+\decomb.dll")
mpeg2source("txt_dir+\\SLL.d2v")
ConvertToYUY2(interlaced=true)
FieldDeinterlace()
convertfps(23.976)
ResampleAudio(44100)
[/B] Why are you doing the convertfps? Leave it at 29.97fps. It's a valid MPEG2 rate.

If you need YUY2 then use mpeg2dec, not mpeg2dec3. Then you can omit the ConvertToYUY2 call.