Log in

View Full Version : whats best for aliasing?


pdottz
5th October 2004, 02:25
I've been using tomsmocomp on ntsc tv caps. the options, (1,5,1) work fine for deinterlacing the video with no left over artifacts for a nice clean xvid encode.

however, i get lots of aliased lines in the final encode.
is there another filter i could use to aa it right after deint without to much fps lose? right now i get 6-10fps with this script. the Tdeint wont accept rgb input so i need to keep that colorspace.



LoadPlugin("C:\PROGRA~1\GORDIA~1\TomsMoComp.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\undot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\FluxSmooth.dll")
AVISource("D:\captures\maincap\eene.avi")
TomsMoComp(1,5,1)
Crop(0,0,720,480)
LanczosResize(512,384)
Undot()
FluxSmooth(7,7)
ConvertToRGB()


could anyone help me. please?

oh yeah. my box is 2.2ghz with 128megs of ram.

Mug Funky
5th October 2004, 07:29
what sort of avi is it? if it's DV then it can be decoded in YV12 - use ffdshow to decode DV if this is the case.

also, if it is DV, then it most likely will be bottom-field-first, rather than TFF. so tomsmocomp would be best at tomsmocomp(0,5,1). that's a guess, though...

if you're encoding Xvid, then it'll end up in YV12 anyway, so that could be done in your script (but a better solution would be a YV12 source).

Didée
5th October 2004, 07:50
For the aliasing problem, I have good success with applying either TomsMoComp or TDeint on a vertically supersampled source:

oy=last.height ox=last.width
separatefields().lanczosresize(ox,oy).weave()
TomsMoComp(1,5,1).lanczosresize(ox,oy) # or TDeint(..)

That's necessarily slower, but produces better line antialiasing for me. Somewhen in the past, we had a thread about this - but I'm too lazy to search now ;)

SpikeSpiegel
5th October 2004, 12:22
Maybe this (http://forum.doom9.org/showthread.php?threadid=83396)
can be helpful. ;)