Log in

View Full Version : What filter for STATIC clean up?


FulciLives
31st August 2004, 14:01
Hi :)

I got the following script I use that never fails me :)

LoadPlugin("C:\Copydvd\Convolution3Dyuy2\Convolution3d.dll")
avisource("D:\CAPTURE\frank1_20040831-062526.avi")
Trim(1656,27858) ++ Trim(27973,45246) ++ Trim(45422,93997) ++ Trim(94299,115590) ++ Trim(115741,134090) ++ Trim(134251,155582)
crop(0,4,-0,-12)
SeparateFields()
odd=SelectOdd.Convolution3D (0, 32, 128, 16, 64, 10, 0)
evn=SelectEven.Convolution3D (0, 32, 128, 16, 64, 10, 0)
Interleave(evn,odd)
Weave()
AddBorders(16,8,16,8)
AssumeFPS(29.970, true)
ConvertToYUY2(interlaced=true)

I have found Convolution3D to be a great filter.

However ...

My source is an LP speed VHS recording from cable TV and this old recording has a lot of STATIC noise that was part of the original reception.

I never had this STATIC noise on a source before SO I have no idea how to deal with it.

Here are some screen shots from VirtualDubMod using the above script:

These are 4 consecetive screen shots:

http://www.cryptofhorrors.com/frankenstein/frankenstein01.jpg

http://www.cryptofhorrors.com/frankenstein/frankenstein02.jpg

http://www.cryptofhorrors.com/frankenstein/frankenstein03.jpg

http://www.cryptofhorrors.com/frankenstein/frankenstein04.jpg

As you can see the STATIC jumps around a lot.

As for my part here ... I have a website where I can post a short segment of the original captured AVI for download if that would be helpful? If so how long does it need to be? The capture is PICVideo MJPEG on the 19 quality setting. I can only get about a 50MB file on my website. I'm not sure how long that would be but I hope it is long enough ... if you guys think you want a clip let me know and I'll post it on my website then post a link here to it.

Thanks :)

- John "FulciLives" Coleman

tedkunich
31st August 2004, 16:10
John,

Look for Frizik's Despot filter... worked wonders on my laser rot problems...


T

FulciLives
31st August 2004, 16:53
Originally posted by tedkunich
John,

Look for Frizik's Despot filter... worked wonders on my laser rot problems...


T
Sweet momma did that do the trick :)

It sucks the filter only works in YV12 though since my capture is YUY2 (PICVideo MJPEG).

Anyone care to double check to see if my script makes sense in-so-far as how I am applying the filters?

LoadPlugin("C:\Copydvd\Convolution3Dyuy2\Convolution3d.dll")
Loadplugin("C:\Copydvd\Despot\avisynth_c.dll")
LoadCPlugin("C:\Copydvd\Despot\despot.dll")
avisource("D:\CAPTURE\frank1_20040831-062526.avi")
Trim(1656,27858) ++ Trim(27973,45246) ++ Trim(45422,93997) ++ Trim(94299,115590) ++ Trim(115741,134090) ++ Trim(134251,155582)
crop(0,4,-0,-12)
SeparateFields()
odd=SelectOdd.Convolution3D (0, 32, 128, 16, 64, 10, 0)
evn=SelectEven.Convolution3D (0, 32, 128, 16, 64, 10, 0)
Interleave(evn,odd)
Weave()
ConvertToYV12(interlaced=true)
despot(interlaced=true)
AddBorders(16,8,16,8)
AssumeFPS(29.970, true)
ConvertToYUY2(interlaced=true)

Thanks for the help!

- John "FulciLives" Coleman

scharfis_brain
31st August 2004, 18:30
telecide & decimate your Film, BEFORE doing any noise-related processing.

it looks much like telecined film.

your script could looklike this:

LoadPlugin("C:\Copydvd\Convolution3Dyuy2\Convolution3d.dll")
Loadplugin("C:\Copydvd\Despot\avisynth_c.dll")
LoadCPlugin("C:\Copydvd\Despot\despot.dll")
LoadCPlugin("decomb.dll")
avisource("D:\CAPTURE\frank1_20040831-062526.avi")
Trim(1656,27858) ++ Trim(27973,45246) ++ Trim(45422,93997) ++ Trim(94299,115590) ++ Trim(115741,134090) ++ Trim(134251,155582)
crop(0,4,-0,-12)
telecide(order=0,post=0) #or maybe order=1
decimate(5)
Convolution3D (0, 32, 128, 16, 64, 10, 0)
ConvertToYV12(interlaced=false)
despot(interlaced=false)
AddBorders(16,8,16,8)
AssumeFPS(23.976, true)
ConvertToYUY2(interlaced=false)

Leak
31st August 2004, 22:36
Originally posted by scharfis_brain
telecide & decimate your Film, BEFORE doing any noise-related processing.

it looks much like telecined film.

I'd hazard a guess that the noise he wants to filter either comes from the video being stored on tape or from bad reception - which of course means it was "added" after telecining the movie; are you sure the noise isn't going to throw Telecide/Decimate off?

np: Isan - What This Button Did (Lucky Cat)

FulciLives
1st September 2004, 00:27
Originally posted by Leak
I'd hazard a guess that the noise he wants to filter either comes from the video being stored on tape or from bad reception - which of course means it was "added" after telecining the movie; are you sure the noise isn't going to throw Telecide/Decimate off?

np: Isan - What This Button Did (Lucky Cat)
The STATIC noise I am trying to remove was part of the original cable reception. Top it off that this is an LP speed NTSC VHS recording and well it doesn't look all that pretty hence the Convolution3D filter along with DeSpot for the STATIC stuff.

Unfortunately this is a VERY rare 2-part TV movie that hasn't been shown in the complete 2-part form in a VERY long time (and the only video release was a much shortened VHS release). Hence my desire to save this tape to DVD-R.

I used the script that was posted by scharfis_brain and I see interlaced artifacts when using telecide(order=0,post=0) but I don't see any interlacing artifacts when I change it to telecide(order=1,post=0)

However I must admit that doing IVTC is something I usually shy away from since I never know if it is going to do more harm than good. Yes I have stepped through the source AVI in VirtualDubMod and it does appear to have a 3:2 pattern but still I thought if the pattern wasn't stable through out that IVTC could actually cause some errors or artifacts in the out-of-phase portions of the 3:2 pattern?

In short I never do IVTC as it makes me a bit nervous and being and old VHS from an old cable broadcast I wouldn't call this source a clean source to begin with (also I am cutting out the TV commeircials which I imagine can throw off the 3:2 pattern).

Comments on using my script (interlaced) or doing the IVTC instead are welcome.

- John "FulciLives" Coleman

Chainmax
1st September 2004, 00:42
Maybe you could try TMPG's automatic or manual IVTC, SmartDecimate or Leak's Blendbob + decimation if the Decomb package is not IVTCing well.