Log in

View Full Version : Plays slooow after deinterlace


coaa
9th July 2004, 23:21
Hey guys. Using this script on a PAL source to convert it to NTSC:

LoadPlugin("c:\avisynthplugins\dgdecode.dll")
LoadPlugin("c:\avisynthplugins\SmoothDeinterlacer.dll")
MPEG2Source("d:\tempspidey\movie.d2v")
ConvertToRGB()
SmoothDeinterlace()
LanczosResize(720,480)
ChangeFPS(59.94) # or ConvertFPS(59.94)
SeparateFields()
SelectEvery(4,1,2)
Weave()
#ConvertToRGB()

When I play the script in media player, it is really, really slow. If I comment the SmoothDeinterlace out it runs at normal speed. Is this just due to the processing power required to run the filter? After I encode this will it play at normal speed? I can't encode it yet because I just found out my free trial to TMPGEnc has expired so I am waiting for my copy to come in the mail.

Oh and while I'm on the topic, are there any alternatives to SmoothDeinterlace?

scharfis_brain
10th July 2004, 00:15
do not use a media player for previewing your AVS-Script

use VDub for that purpose.

smoothdeinterlace is really CPU-time consuming, meaning your PC isn't able to process the video in real time.

you should definately replace smoothdeinterlace with kernelbob or some other bobber with enhanced interpolation.

replace converttorgb()

with converttoyuy2(interlaced=true)

this will solve two issues:
- speedup, cause YUY2 is faster than RGB24
- correct chroma upsampling for an interlaced source
(if your source is PROGRESSIVE then avoid using the whole script you've posted, do a slowdown to 23.976 fps instead)