Log in

View Full Version : Advice on how to Improve/restore video quality with avisynth


ricardo.santos
1st October 2012, 23:49
Hi everyone!

I'm trying to improve the video quality on a old music video clip, convert it to dvd resolution and hopefully be able to improve it.

A few years ago (2006) i asked for some help on a similar situation:
http://forum.doom9.org/showthread.php?t=112993

i followed some advices of that thread but im unable to improve the video, i tried the demo version of neat video + virtualdub but didnt help either, tried the noise filters in avidemux but i didnt see any difference.

Can someone help me/give advice on how to do it with avisynth? Perhaps the quality cant be improved?

here's the link to the video (10mb).
http://www.mediafire.com/?1cshqp3uh7xgps1


Thanks

lansing
2nd October 2012, 03:21
those are not really noise but artifacts instead. dfttest or fft3dfilter would be a good choice in this case, you may need to add a dithering filter after for the banding problem

wiseant
2nd October 2012, 03:26
@ricardo.santos

assuming Pal 1/2 dvd 352x576

I would open with ffvideosource

resize to (352,576) with your favourite resizer

use assumefps=25

use dfttest() - the default settings are slow - but it is better than fft3dfilter
then encode with HCenc or Quenc using dvd-compliant settings

e.g.
ffvideoSource("C:\video.mp4") - you'll need ffmpegsource -> http://code.google.com/p/ffmpegsource/
assumefps(25)
bilinearresize(352,576)
dfttest()

you will need libfftw3f-3.dll in system32 folder for dfttest
ftp://ftp.fftw.org/pub/fftw/fftw-3.3.2-dll32.zip

ricardo.santos
2nd October 2012, 20:29
Hi
Thanks for the advices and tips, been trying to setup dfttest but while playing the avisynth script a message pops up saying there isnt a function called dfttest().

i copied the dll to windows/system32 folder, im using windows 7, i tried to copy the contents from the fdttest zip to avisynth plugins folder but same message appear, can anyone help?

lansing
2nd October 2012, 21:27
what windows 7 are you using? 32bit or 64bit?

StainlessS
2nd October 2012, 21:29
Requires libfftw3f-3.dll to be in the search path eg system32 (or syswow64 on 64bit, I think).
dfttest.dll in Avisynth plugins dir.

EDIT:
i tried to copy the contents from the fdttest zip to avisynth plugins

Best if you remove everything in zip from avisynth plugins except dfttest.dll

ricardo.santos
8th October 2012, 20:23
Hi everyone!

Thanks for all the info/help, just in case anyone finds this thread in the future, the dfttest.dll isnt in the zip links provided in the previous comments, thats why it wasnt working :)

the correct link for the 2 files (libfftw3f-3.dll and dfttest.dll) is:
http://web.missouri.edu/~kes25c/dfttestv18.zip

Thanks everyone!