Live action help

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Live action help

Post by AaronAMV » Sun Dec 21, 2008 12:10 am

So I just ripped my Supernatural DVDs, and now I need help filtering and deinterlacing. I'm told it's the same, but I dunno!

Any help? :?
Interlacing:
Image

Grain(?):
Image

I still need to do the tweaking and resizing, but I just want the deinterlace and grain removal please. ^^'
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Live action help

Post by Vax » Sun Dec 21, 2008 12:36 am

Deinterlace

Code: Select all

TDeint()
SmoothDeinterlacer()
Grain

Code: Select all

TemporalCleaner()
removegrain(mode=2)
Not sure if these are really good but worth a shot. I'de use two deinterlacers because for me one doesn't really work =X

User avatar
JaddziaDax
Crazy Cat Lady!
Joined: Tue Mar 16, 2004 6:25 am
Status: I live?
Location: Somewhere I think O.o
Contact:
Org Profile

Re: Live action help

Post by JaddziaDax » Sun Dec 21, 2008 1:47 am

for grain in live action, its best to not filter it out too much or you will end up with some weird pasty looking footage...

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Live action help

Post by AaronAMV » Sun Dec 21, 2008 1:22 pm

The temporalcleaner isn't doing anything, and I need the plug-in for removegrain.

I don't have TDeint, and whenever I try to use SmoothDeinterlacer, it crashes on me.
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Live action help

Post by mirkosp » Sun Dec 21, 2008 1:52 pm

when I have to deinterlace, I always use tomsmocomp(1,5,1). It does make miracle with PAL sources, not sure how well will it work on NTSC, but there shouldn't be any difference.
About the grain, fft3dfilter() with default settings might do the job just fine. You need to download it (click here) and you'll also need to put the FFTW3.DLL file in this package in your system32 directory.
Image

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Live action help

Post by AaronAMV » Sun Dec 21, 2008 3:10 pm

The tomsmocomp worked like a charm, now with the fft3dfilter, I put that FFTW3.DLL in the folder, and put the folder in my System 32 directory. However, it still says there is no function named fft3dfilter().

C:\Windows\System32\fftw3win32mingw

Right?
Image

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Live action help

Post by AaronAMV » Sun Dec 21, 2008 4:50 pm

Sorry for double post, but this is the script I have:

Code: Select all

LoadPlugin("C:\Windows\System32\fftw3win32mingw\FFT3DFILTER.dll")
mpeg2source("C:\SUPERNATURAL_S3_D5\VIDEO_TS\Half to End.d2v")
tomsmocomp(1,5,1)
fft3dfilter()
Crop(4,4,-4,-4)
LanczosResize(848,480)
I also have:

Code: Select all

LoadPlugin("C:\Windows\System32\fftw3win32mingw\FFT3DFILTER.dll")
mpeg2source("C:\SUPERNATURAL_S3_D5\VIDEO_TS\Half to End.d2v")
tomsmocomp(1,5,1)
fft3dfilter()
Crop(4,4,-4,-4)
LanczosResize(848,480)
With both, they say that
FFT3DFilter: Can not load FFT3DFILTER.dll !
C:SUPERNATURAL_S3_D5\VIDEO_TS\preview.avs, line 4
Image

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Live action help

Post by Scintilla » Sun Dec 21, 2008 5:51 pm

You got it backwards. FFT3DFilter is the one that goes in your AVISynth plugins directory, and FFT3W has to go in your system directory (that is why FFT3DFilter complains that it can't be loaded even after you manually tried to load it).
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Live action help

Post by AaronAMV » Sun Dec 21, 2008 6:35 pm

Oh, oops, I got it now! But the second script was supposed to go to my avisynth folder. :P

Now, I can tell a difference, but there is some grain still there. When I use AvsP, the filter isn't showing up on the side list, which isn't really a problem, I just need to know the dimensions and such to tweak the filter around. I need it to be a little stronger.
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Live action help

Post by mirkosp » Sun Dec 21, 2008 6:59 pm

AaronAMV wrote:Oh, oops, I got it now! But the second script was supposed to go to my avisynth folder. :P

Now, I can tell a difference, but there is some grain still there. When I use AvsP, the filter isn't showing up on the side list, which isn't really a problem, I just need to know the dimensions and such to tweak the filter around. I need it to be a little stronger.
Scintilla's god-like avisynth guide wrote:FFT3DFilter
A denoiser that makes use of the Fast Fourier Transform (FFT). It can also be used for limited sharpening.

Type: Plugin
Found in file: FFT3DFilter.dll
Author: Fizick
Homepage: http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
Colorspaces: YUY2 or YV12
Interlacing: Progressive or interlaced
Speed: Slow (14 fps at default settings)

Defaults: FFT3DFilter(sigma=2.0, plane=0, bw=48, bh=48, bt=3, ow=16, oh=16, sharpen=0, interlaced=false)
Parameters:

* sigma (any float > 0 ) indicates the noise level of the video. Increasing this value will strengthen the denoising but may introduce oversmoothing or gridding artifacts.
* plane (0-4) determines what color planes the filter should process:
o plane=0 processes only the luma.
o plane=1 processes only the U chroma channel (the blue offset).
o plane=2 processes only the V chroma channel (the red offset).
o plane=3 processes both chroma channels.
o plane=4 processes all three channels (luma and chroma).
* bw and bh (any positive integers) determine the width and height respectively of the blocks to be used for the transforms. Lowering these values will speed up the filter but may make gridding artifacts more likely; raising them may improve denoising but will slow down the filter. Setting these too high or too low may make the filter useless; Fizick recommends values from about 32 to 64.
* bt (-1 to 4) determines the nature of the temporal element of the filtering:
o bt=-1 does sharpening only without denoising, 2D only. (If you use this mode, make sure to specify a value for the sharpen parameter; otherwise the filter will do nothing.)
o bt=0 does Kalman filtering that takes into account all previous frames, allowing for stronger noise reduction than the Wiener modes.
o bt=1 does 2D Wiener filtering (spatial only).
o bt=2 does 3D Wiener filtering taking into account the previous frame.
o bt=3 does 3D Wiener filtering taking into account the previous frame and the next frame.
o bt=4 does 3D Wiener filtering taking into account the two previous frames and the next frame.
* ow and oh (any positive integers less than half of bw and bh respectively) determine the overlap width and height for each block. Larger values will reduce gridding/blockiness/ringing but will slow down the filter.
* sharpen (any float?) determines sharpening strength; by default this is set to 0, for no sharpening at all. Fizick recommends values of about 0.3 to 1.0 if you want to sharpen; anything higher than about 2 is probably a bad idea. Negative values will actually have the opposite effect, softening your edges (somewhat similar to UnFilter's behaviour).
* interlaced (true/false) should be set to true if your source video is interlaced.

Usage notes:

* If you encounter gridding artifacts, then try one or more of the following:
o Increase ow and/or oh
o Increase bw and/or bh
o Decrease sigma
* FFT3DFilter can also do sharpening in conjunction with denoising; if you wish to do so, set sharpen to something higher than 0 (but keep in mind that this will counteract your compression gains somewhat). If you only want it to do sharpening (no denoising), then set bt=-1 as well.
* Of course, if you encounter oversmoothing, then reduce sigma.
Shamelessly copypasted from here. This guide is a charm. :P
Image

Locked

Return to “AviSynth Help”