I think that (almost) all of the goodies from avisynth are available in the mjpegtools package too, rescalers, smoothing, noise reduction, sharpen, de/interlacing, brighten and a lot more ;)
And there easy to use to, they all work in a yuv4mpeg pipe, so you start mplayer with as output the pipe
Code:
mkfifo -m 660 stream.yuv
mplayer -noframedrop -nosound -vo yuv4mpeg -osdlevel 0 yourmovie.avi
then you start a new command wich reads the pipe and port it to the encoder.
Code:
cat stream.yuv | yuvdenoise -F -f | yuvscaler -v 0 -M WIDE2STD -O 352x240 -n n | mpeg2enc -v 0 -f 0 -K kvcd -b 2400 -q 6 -V 40 -n n -F 2 -a 2 -g 24 -G 24 -P -d -o test.m1v
In this case the movie is denoised and black borders are added to the movie.[/code]