Log in

View Full Version : To many artifacts. Need the suitable filters!!


Pages : [1] 2

plomon
30th January 2006, 03:50
Here are a few caps from 'The Silence of the Lambs'. Please suggest the suitable filters to eliminate them

Cap1
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap1.jpg


Cap2
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap2.jpg

Cap3
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap3.jpg


Cap4
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap4.jpg


Cap5
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap5.jpg

Revgen
30th January 2006, 04:00
These captures look predenoised.

I don't know if there is any way to make them look natural again.

plomon
30th January 2006, 04:06
These captures look predenoised.

I don't know if there is any way to make them look natural again.
what do you mean by predenoised. I haven't applied any noise filters. These caps are taken from VDubMod consisting the following script:

LoadPlugin("d:\program files\avisynth 2.5\plugins\TomsMoComp.dll")
mpeg2source("e:\sol\sol.d2v")
TomsMoComp(1,5,1)
Crop(4,14,-8,-14)
LancZosResize(640,344)

The only filter I applied before taking the captures is the TomsMoComp filter. However, despite the application of this filter(to remove interlacing), I still find a lot a artifacts(as shown in the above pictures).

There must be some way out.

foxyshadis
30th January 2006, 05:04
Not denoised by you. Denoised by the studio. This is the original movie, correct? 60's and 70's stock already smears a bit, and tends to be grainier than modern stock. If they used something like very strong smart smoother + strong temporalsoften on it in a misguided attempt to denoise it for dvd transfer, they've destroyed almost all detail across the film. It might as well be anime now.

There's no way to restore it, beyond reducing blocking and haloing. Find another release if you want anything better.

plomon
30th January 2006, 05:33
yes it the original movie. It was released very recently. It's theatrical release was in 1991. The DVD that I've now must had been released somewere around 2001, as it contains Dolby Surround 5.1 and DTS 5.1 tracks unlike it's previous DVD Releases which have only Dolby 2.0 track(refer here (http://www.imdb.com/title/tt0102926/dvd)).

So, it actually doesn't belong to the 60's or 70's category as it appears in these caps.

The video before applying the TomsMoComp filter has an Interlaced look. After applying TomsMoComp filter, it looked a little better.

Here's a small sample:

Before applying TomsMoComp Filter:
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap09.jpg

After applying TomsMoComp Filter:
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap10.jpg


Since TomsMoComp filter has succesfully created some difference, I'm unable to agree with the fact that other filters can't help in enhancing the picture in a better way.

There must be some way out.

foxyshadis
30th January 2006, 06:07
Definitely turn vertical blur (the third parameter) off. The second really looks like it's been hit by a hard sharpen filter. Still, the first looks very fuzzy, as if it's slightly out-of-focus, but doesn't have the cartoony xsharpen look of the other.

I should ask, you've already tried to IVTC this and failed for some reason? I can't think why a theatrical release would need plain deinterlacing.

plomon
30th January 2006, 06:58
Definitely turn vertical blur (the third parameter) off. The second really looks like it's been hit by a hard sharpen filter. Still, the first looks very fuzzy, as if it's slightly out-of-focus, but doesn't have the cartoony xsharpen look of the other.

I should ask, you've already tried to IVTC this and failed for some reason? I can't think why a theatrical release would need plain deinterlacing.
I did not use any IVTCing through AVISynth. The only IVTC I made is using Forced Film in DVD2AVI for saving the .d2v project. I think you're quite confused about 'why I used IVTC in DVD2AVI'. I guess I made a mistake there. I used 'Forced Film' for an Interlaced NTSC source. It's a big mistake.

I changed the d2v file now. I saved it without 'Forced Film' now. Thereafter, I applied same filter to remove interlacing artifacts and for 2:3 pulldown(IVTC).

Am I correct now ??

Revgen
30th January 2006, 07:08
Well if "Forced Film" isn't doing the job then you need to try avisynth filters like TIVTC or Decomb.

plomon
30th January 2006, 07:30
Well if "Forced Film" isn't doing the job then you need to try avisynth filters like TIVTC or Decomb.
What does a 'Forced Film' do ? It can IVTC an NTSC 29.97 source to 23.976 film. That's it. Isn't it ??

Can it improve the quality of my picture. I mean can it remove the artifacts shown in the above pictures. Even if I used a 'Non Force Film' option in DVD2AVI or DGIndex and saved my .d2v file, and then opened this non-IVTCed project in VDubMod using AVISynth, it does nothing to improve the quality of image.

"Even after opening a non-IVTCed .d2v project, I need to use some De-Interlacer like TomsMoComp to reduce the Interlacing Artifacts"

Anybody please tell me, is the above statement true or not(atleast after seeing the caps in Post#5) ??

foxyshadis
30th January 2006, 07:56
What revgen means is that you should skip force film and add an ivtc to the filter chain. They can typically do a better job of matching and removing artifacts, because force film doesn't work for all sources. In fact this DVD might be coded as a pure 30p video in which case force film has zero effect, and you have to IVTC anyway.

In this case you do not apply deinterlacing directly, you apply an IVTC with post-processing (or feed it a deinterlaced clip to pull from).

plomon
30th January 2006, 08:15
What revgen means is that you should skip force film and add an ivtc to the filter chain. They can typically do a better job of matching and removing artifacts, because force film doesn't work for all sources. In fact this DVD might be coded as a pure 30p video in which case force film has zero effect, and you have to IVTC anyway.

In this case you do not apply deinterlacing directly, you apply an IVTC with post-processing (or feed it a deinterlaced clip to pull from).
I think revgen is correct. Now, I'm using DGIndex v1.4.5 to save my project with 'No Force Film' settings. Then, I will have to IVTC this .d2v project using AVISynth filters. Can you guys suggest the best filter for IVTCing the NTSC Interlaced sources like mine.

I found two articles on the net describing two different methods of IVTCing an Interlaced NTSC source. They can be found here:

Performing IVTC Using AVISynth filters: http://www.inmatrix.com/articles/ivtcsynth.shtml

Performing IVTC Using TMPGEnc: http://www.inmatrix.com/articles/ivtc.shtml

Please do suggest the best method.

Now, after IVTCing the source using AVISynth filters, if I fail to agree with the image quality, what is the next alternative for quality enhancement. Should I opt for de-interlacing techniques then(like using TomsMoComp) at the least.

I said 'at the least', coz quality enhancement has no limits for trying our best with the AVISynth Filters, and I believe 'de-interlacing is the first step followed by other filters like noise removal, smoothening, sharpening etc..

foxyshadis
30th January 2006, 10:16
First try following that article. Add Telecide() and Decimate(), if you have problems add post=true and the other options. If it's still combed or jerky try TIVTC, which is slightly smarter by default and has many more options for repairing bad telecines. Or just try TFM and TDecimate (from TIVTC) first, they're my favorites.

Heh, you definitely won't need smoothing or noise removal, and you'll have to be very careful sharpening...

Mug Funky
30th January 2006, 10:20
this (to me) looks like you've got a filter running that you don't know about. are you grabbing these frames from virtualdub? if so, are there any filters running inside it? do the input and output panes look identical? or am i barking up the wrong tree? :)

plomon
30th January 2006, 10:38
this (to me) looks like you've got a filter running that you don't know about. are you grabbing these frames from virtualdub? if so, are there any filters running inside it? do the input and output panes look identical? or am i barking up the wrong tree? :)
I'm not grabbing frames from VDub, and neither are any filters running in the background.

@foxyshadis
I used the following script to IVTC the NTSC Interlaced Source and applied certain other filters too:

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warp\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\Convolution3d.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\Deen.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\NoMoSmooth.dll")

mpeg2source("e:\sol\sol.d2v")
Telecide(Order=1,Guide=1,Post=0).Decimate()

ConvertToYV12()
Deen("c3d",0,10,12,3)

ConvertToYUY2()
Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
NoMoSmooth(motion_threshold=40, temporal_radius=1,temporal_threshold=6,spatial_radius=1,spatial_threshold=3,show=false)

WarpSharp (128, 3,128, -0.6)

Crop(4,14,-8,-14)
LancZosResize(640,344)

I'm quite satisfied with the way DeComb filter is performing the IVTC operation using Telecide() and Decimate() functions.

The result is good too. Watch the comparision here

Capture using IVTC on d2v project saved as 'No Forced Film' in DGIndex:
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap11.jpg

Captured without using IVTC on d2v project saved as 'Forced Film' in DGIndex:
http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap2.jpg

I observed some noticeable change. Hope u can observe it too.(watch the face of the person in the above captures). However, since you're suggesting TIVTC, I'll try that too.

I used the other filters(apart from IVTC one's) hoping to enhance the picture quality. If you find any mistakes in using them, please suggest a solution.

Didée
30th January 2006, 10:56
For my eyes, what you're achieving with all those noise filters is just a scene of destruction.

edit: give a try on FFT3DFilter, with something like

mpeg2source( ... )

WhateverIVTC( ... ) # whatever fits your needs the best here

fft3dfilter(sigma=8,sigma2=2,sigma3=2,sigma4=2, bt=4,plane=4,sharpen=0.7)

foxyshadis
30th January 2006, 11:14
Well, if nothing else, it certainly has an extremely high compressibility, with none of those pesky "details" to encode....

I've only seen the one source snap, but you absolutely do not need denoisers, let alone three in a row. IVTC, crop, resize with limitedsharpen(smode=4,dest_x=640,dest_y=344), and be done.

Of course, it's your encode, up to you how you want it.

plomon
30th January 2006, 11:52
@Didée
If you don't think otherwise, can you explain what's the relevance and advantage of using the FFT3DFilter over other denoisers and sharpening filters. here. I don't know much about the usage of these softening, denoising and sharpening filters. So, basically I would like to learn the usage of right filter in the right place at the right time.

I've only seen the one source snap, but you absolutely do not need denoisers, let alone three in a row. IVTC, crop, resize with limitedsharpen(smode=4,dest_x=640,dest_y=344), and be done.

Thank You for the suggestion a lot. But, please do explain the advantage of LimitedSharpen over MSharpen or WarpSharp filters. I'm eager to know where I went wrong in choosing the right filters for the movie. Where can I download LimitedSharpen filter ?

To both Didée & foxyshadis:
None of you suggested a softener/smoother. why is it so, coz, I thought of using Convolution3d.

foxyshadis
30th January 2006, 12:14
Limitedsharpen doesn't create bad halos, like most sharpeners do, while retaining soft edges, which xsharpen doesn't. Now that I think about it, Didée's other function, Seesaw (search for it) may help even more, if the source is soft but not smeared or too noisy.

At most use one denoiser, or several very restricted ones. You're throwing three at full strength on it, when each is made to fully denoise a normal movie on its own. FFT3dfilter is specifically better at killing more random, tiny noise, though it's about as slow as any of the other three you picked. (Degrainmedian or undot is good if you need fast denoising on a decent source.) There's a thread in sticky all about denoising.

If you post a vob clip it would help determine what you really need, it's very hard to work from heavily filtered snaps.

plomon
30th January 2006, 12:20
fft3dfilter(sigma=8,sigma2=2,sigma3=2,sigma4=2, bt=4,plane=4,sharpen=0.7)

plane=4 is an error. I guess only 3 planes exist - 0,1,2. Which one shall I use ?

Didée
30th January 2006, 12:33
plane=4 is an error. I guess only 3 planes exist - 0,1,2. Which one shall I use ?
Latest official version of FFT3D supports plane=4 (multiplane) operation:
http://forum.doom9.org/showthread.php?p=772801#post772801

With a version <v1.8.4, just use plane=0.

plomon
30th January 2006, 13:13
If you post a vob clip it would help determine what you really need, it's very hard to work from heavily filtered snaps.

Well, your idea is good, but, a small clip of 30 secs having only the video (i.e., an m2v file) costs 10MB. So, it is difficult to post a clip.

krieger2005
30th January 2006, 13:47
I had sometime ago this movie. I was a PAL-one. It was progressive (i think) and does not look that bad like yours. It was grainy but no so smeared like your shoots show yours...

plomon
30th January 2006, 16:22
Gotcha. I learnt how to use LimitedSharpen here (http://www.avsforum.com/avs-vb/showthread.php?t=469464). However, there isn't much noticeable change in issues like sharpness of the image or elimination of certain artifacts.
The new script used is here.

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\fft3Dfilter.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warp\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")

mpeg2source("e:\sol\sol.d2v")
Telecide(Order=1,Guide=1,Post=0).Decimate()

ConvertToYUY2()
fft3dfilter(sigma=8,sigma2=2,sigma3=2,sigma4=2, bt=4,plane=4,sharpen=0.7)

Crop(4,14,-8,-14)
import("d:\program files\avisynth 2.5\plugins\limitedsharpen.avs")
limitedsharpen(ss_x=1.0,

ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=40)
LancZosResize(640,344)

It's in lines with Didée's and foxyshadis's suggestions. The LimitedSharpen.avs file has been created from the script available in Didée's thread(http://forum.doom9.org/showthread.php?s=&threadid=84196&perpage=20&pagenumber=1). The new screencaptures taken from VDubMod with the above script loaded into it, still consisting a few artifacts are shown below:

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap13.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap14.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap15.jpg

Despite using the best available filters, I falied to improve the quality. Actually, I'm a bit disappointed. If any changes in the values of the existing filters is needed to be made, or if any additional filters are needed, please suggest them.

If more screencaptures are required, please let me know. I'll try my best to post as many relevant captures as possible.

Chainmax
30th January 2006, 18:13
I'd recommend you to try using FFT3DFilter(sigma=1,bw=32,bh=32,bt=3,ow=16,oh=16,sharpen=0.7) right after IVTCing/Deinterlacing and LimitedSharpen(SMode=4,LMode=3,Strength=200,wide=true) right after the resize (use Lanczos4Resize), followed by Soothe, SeeSaw and AddGrain(2,0,0). That might help.

Guest
30th January 2006, 18:31
Please do suggest the best method. Please do not ask for the "best" anything, per forum rule 12. Thank you.

plomon
31st January 2006, 05:09
Considering the ideas of Didée and foxyshadis, the script written is given below:

Script 1
## Loading Plugins ##
LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\fft3Dfilter.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warp\warpsharp.dll") ## These are needed ##
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll") ## for Limited Sharpen ##

## Loading Scripts ##
import("d:\program files\avisynth 2.5\plugins\limitedsharpen.avs")

## IVTCing the source using DeComb ##
mpeg2source("e:\sol\sol.d2v")
Telecide(Order=1,Guide=1,Post=0).Decimate()

## Denoising using fft3dfilter ##
fft3dfilter(sigma=8,sigma2=2,sigma3=2,sigma4=2, bt=4,plane=4,sharpen=0.7)

## Crop & Resize ##
Crop(4,14,-8,-14)
LancZosResize(640,344)

## Applying Custom Script - LimitedSharpen.avs for better results ##
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=40)

The result of the above script as captured from VDub is here:

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap17_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap19_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap21_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap24_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap25_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap28_solscript.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap29_solscript.jpg

Well, now considering the suggestion of ChainMax, I wrote another script(it doesn't have SeeSaw function, as it closes VDub abruptly). The script is here:

Script 2

## Loading Plugins ##
LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\fft3Dfilter.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warp\warpsharp.dll") ## These both are ##
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll") ## needed for Limited Sharpen ##
LoadPlugin("d:\program files\avisynth 2.5\plugins\Addgrain.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\Removegrain.dll") ## Needed for Soothe ##

## Loading Scripts ##
import("d:\program files\avisynth 2.5\plugins\limitedsharpen.avs")
import("d:\program files\avisynth 2.5\plugins\seesaw.avs")
import("d:\program files\avisynth 2.5\plugins\soothe.avs")

## IVTCing source with DeComb ##
mpeg2source("e:\sol\sol.d2v")
Telecide(Order=1,Guide=1,Post=0).Decimate()

## fft3dfilter used for denoising & sharpening ##
FFT3DFilter(sigma=1,bw=32,bh=32,bt=3,ow=16,oh=16,sharpen=0.7)

## Cropping & Suitable Resizing ##
Crop(4,14,-8,-14)
LancZosResize(640,344)

## Additional Sharpening with custom scripts ##

ConvertToYV12()
Soothe(LimitedSharpen(SMode=4,LMode=3,Strength=200,wide=true),last,20)
AddGrain(2,0,0)

The result of the above script as captured from VDubMod is here:

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap16_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap18_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap22_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap23_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap26_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap27_sample_script.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/sol_cap30_sample_script.jpg

I personally found extremely small difference in the images produced due to the above two scripts.

For a little surprise, let me show you the results of the following script:

Script 3
LoadPlugin("d:\programs\dgindex\dgdecode.dll")
mpeg2source("e:\sol\sol.d2v")
Telecide(Order=1,Guide=1,Post=0).Decimate()
Crop(4,14,-8,-14)
LancZosResize(640,344)

The result of the above script is here:

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_1.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_2.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_3.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_4.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_5.jpg

Script 1 takes 2 hrs. 26 minutes to encode 5minutes video in XviD - 2pass
Script 2 takes >2 hrs. 26 minutes to encode 5minutes video in XviD - 2pass

Now, obviously Script3 would take abosultely less time compared to the above two scripts.

I couldn't find the usage of the filters in Scripts 1&2 advantageous, although they show a minor difference.

My question is, Can I expect something to change if I learn more about these filters:

1.) Denoisers like RemoveGrain, DeGrainMedian, FFT3dFilter
2.) Sharpeners like LimitedSharpen, WarpSharp
3.) Custom Scripts like Soothe

so that I can customize them more and expect better results,
OR
shall I go for Script 3(the basic & simple script).

Lil' Jer
31st January 2006, 09:30
Could you maybe post pngs or 100% quality jpegs, cause those screenshots look horrible with all the blocking and mosquito noise. It's hard to make any real comparisons with the pictures being covered with jpeg artifacts.

plomon
31st January 2006, 11:27
I promise, there will be absolutely 0% difference even if I posted a png image. What you see, even I see on my computer, and it is absolutely true.

What you said is correct. There's a lot of blocking and mosquito noise present in the screenshots. And the fact is, it is present in the original movie too. I'm in fact ready to agree with the fact that I purchased a bad quality DVD.

None of the Denoisers - fft3dfilter, deen, degrainmedian,removegrain are working on this dirty source.

The best thing I'm able to do is this :

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\TomsMoComp.dll")
mpeg2source("e:\sol\sol.d2v")
chroma=blur(1.0)
Mergechroma(chroma)
Telecide(order=1,post=0,guide=1).TomsMoComp(0,-1,1).Decimate(cycle=5,mode=0)
Crop(4,14,-8,-14)
LancZosResize(640,344)

Application of any other filters produces absolutely no change at all, or, it is another way to say that 'I don't know much about applying filters'.

plomon
2nd February 2006, 07:59
After getting a brief idea of a few AVISynth filters, I came up with a comfortable solution to the noise problem existing in my video. Although I tried the strongest denoisers like fft3dfilter(), deen(), denoiser(), I wasn't able to remove any noise.

For a while even RemoveGrain() failed to work. However, then I made a final trial on RemoveGrain() filter. All the time, I wan't concentrating on the stronger modes in RemoveGrain() filter. I read the manual for a while calmly, and decided to tryout mode 17 on my video.

Like a miracle, the change occured. An excellent amount of denoising has been done with this filter in it's mode 17.

Let us see the following scripts (one doesn't use RemoveGrain filter, and the other does) and their corresponding captures from VDubMod:

Script 1(without using RemoveGrain() filter):

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")

import("d:\program files\avisynth 2.5\plugins\LimitedSharpen.avs")

mpeg2source("e:\sol\sol.d2v")
Telecide(order=1,post=0,guide=1).Decimate(cycle=5,mode=0)
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=40)
Crop(4,14,-8,-14)
LancZosResize(640,344)

The corresponding capture is below:

Capture 1(without using RemoveGrain() filter):

http://i5.photobucket.com/albums/y189/plomon/Superficial/cap_no_removegrain.jpg

Now, here's the script which uses strong degraining and denoising:

Script 2(using RemoveGrain() filter):

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\LoadPluginEX.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")

import("d:\program files\avisynth 2.5\plugins\LimitedSharpen.avs")

mpeg2source("e:\sol\sol.d2v")
Telecide(order=1,post=0,guide=1).Decimate(cycle=5,mode=0)
ConvertToYV12()
RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17)
RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17)
Crop(4,14,-8,-14)
LancZosResize(640,344)
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=0)

Capture 2(using RemoveGrain() filter):

http://i5.photobucket.com/albums/y189/plomon/Superficial/cap_removegrain.jpg

I found some satisfactory difference in the video captures. I guess, the filter did a great job. However, in sharpening the video, I'm still not succesful completely. I need a better sharpener and better settings. Any suggestions are widely accepted.

Mug Funky
2nd February 2006, 08:19
what do you have against this source?

capture without filters. only run denoisers if you have to.

is your target format DVD? if so, then no denoising is needed at all, and probably no sharpening.

i haven't yet seen an un processed screengrab or sample of your source. everything i've seen has been strongly filtered, and it's hard for us to help you if you're destroying your source before you show us what it's really like.

Boulder
2nd February 2006, 08:27
RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17)
RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17).RemoveGrain(mode=17)

Yeah right..

Why not use eDeen to vacuum away all the details:D

plomon
2nd February 2006, 08:29
@Mug Funky
First Point --> My Target format is not DVD, but , it is AVI
Second --> What do expect me to show, when u'r saying without filtering?

Give me the script you want me load into VDub and I'll show you captures from that script. Moreover, what filters did I use except IVTCing and denoising. If you believe, I'm hiding something, then I want to ask you, can I atleast show you captures by loading atleast the .d2v project without cropping and resizing i.e., the capture taken from the following script:

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
mpeg2source("e:\sol\sol.d2v")

Can I capture from the above script atleast. If you don't allow me to load even that script, then I'm not a magician to show you captures without loading a video into VDub.

plomon
2nd February 2006, 08:31
Yeah right..

Why not use eDeen to vacuum away all the details:D
are you mocking ??

do you mean to say, i'm running short of image detail.

or

do you seriously advice me to run a eDeen() filter.

Mug Funky
2nd February 2006, 08:42
LoadPlugin("d:\programs\dgindex\dgdecode.dll")
mpeg2source("e:\sol\sol.d2v")

this will do nicely.

[edit]

also, if possible upload a png file instead of a jpeg. i'm seeing DCT blocks in some of those screenshots where the script output posted would not contain them. png files are lossless and (reasonably) small, so perfect for posting.

Boulder
2nd February 2006, 08:44
are you mocking ??

No. (note the smiley, that's what they're there for)

do you mean to say, i'm running short of image detail.

Yes, due to excessive filtering (that many RemoveGrain(mode=17)'s will practically remove all details along with the noise)

do you seriously advice me to run a eDeen() filter.
I would never suggest that;) To me eDeen is the greatest detail remover ever..

plomon
2nd February 2006, 09:12
LoadPlugin("d:\programs\dgindex\dgdecode.dll")
mpeg2source("e:\sol\sol.d2v")

this will do nicely.

[edit]

also, if possible upload a png file instead of a jpeg. i'm seeing DCT blocks in some of those screenshots where the script output posted would not contain them. png files are lossless and (reasonably) small, so perfect for posting.
May be these will give you some idea.

All the captures below are UnFiltered caps in PNG format. I hope these pictures will help you guys give me more suggestions regarding the usage of correct filters.

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap01.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap02.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap03.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap04.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap05.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap06.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap07.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap08.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap09.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap10.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap11.png

http://i5.photobucket.com/albums/y189/plomon/Superficial/unfiltered_cap12.png

I tried my best to post as many as possible. Even then, if anyone of feels that I need to post more, please let me know. I'll do it.

Mug Funky
2nd February 2006, 09:21
hmm. from the look of those, you probably only need a little deblocking, and perhaps limitedsharpen (use it's "dest_x" and "dest_y" args to resize down to your desired resolution).

search the forum for deblocking scripts/plugins. i think "deblock_QED" does a pretty good job on tough samples.

you can also perform deblocking within mpeg2source: mpeg2source("source.d2v", cpu=4) should give you an idea.

Lil' Jer
2nd February 2006, 09:24
May be these will give you some idea.

All the captures below are UnFiltered caps in PNG format. I hope these pictures will help you guys give me more suggestions regarding the usage of correct filters.

...

I tried my best to post as many as possible. Even then, if anyone of feels that I need to post more, please let me know. I'll do it.

Okay I'm seeing no blocking or any excessive noise, but maybe that's due to the shots being resized. Honestly I don't see any need for filtering at all and as I suspected the blocks and noise was due to you compressing the pics and the not source itself... Maybe unresized pictures will show something those pics aren't.

plomon
2nd February 2006, 09:27
I'm sorry for the picture size. The server(www.photobucket.com) to which I uploaded them has automatically resized the pictures, coz of their relatively larger size compared to JPEG images. Pictures of large size will be automatically resized. Please wait patiently. I'll repost all of them in JPEG format. There's no other alternative left for me. Or else please suggest a photo uploading server which doesn't resize large size pictures.

Lil' Jer
2nd February 2006, 09:28
I'm sorry for the picture size. The server to which I uploaded them has automatically resized the pictures, coz, it's their rule. Pictures of large will be automatically resized. Please wait patiently. I'll repost all of them in JPEG format. There's no other alternative left for me. Or else please suggest a photo uploading server which doesn't resize large size pictures.

No don't repost them in jpeg format because they will just look as bad as the previous ones. Post them in png format to Imageshack.us as they don't require resizing and they can accept pics up to 1 meg.

plomon
2nd February 2006, 09:37
No. (note the smiley, that's what they're there for)

Yes, due to excessive filtering (that many RemoveGrain(mode=17)'s will practically remove all details along with the noise)

I would never suggest that;) To me eDeen is the greatest detail remover ever..
I didn't know anything about eDeen() till now. It's simply superb. It's equivalent to a 100 RemoveGrain() filters. Here's are the captures from eDeen() filtering.

Script is here:

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\eDeen.dll")

import("d:\program files\avisynth 2.5\plugins\LimitedSharpen.avs")

mpeg2source("e:\sol\sol.d2v")
Telecide(order=1,post=0,guide=1).Decimate(cycle=5,mode=0)
ConvertToYV12()

edeen(7,14,21,2,3,true)
Crop(4,14,-8,-14)
LancZosResize(640,344)
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=0)

These are the captures:

http://i5.photobucket.com/albums/y189/plomon/Superficial/eDeen_filter_cap01.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/eDeen_filter_cap02.jpg

You can see the unfiltered caps & script here:

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")

import("d:\program files\avisynth 2.5\plugins\LimitedSharpen.avs")

mpeg2source("e:\sol\sol.d2v")
Telecide(order=1,post=0,guide=1).Decimate(cycle=5,mode=0)
ConvertToYV12()

Crop(4,14,-8,-14)
LancZosResize(640,344)
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=0)

http://i5.photobucket.com/albums/y189/plomon/Superficial/basic_4.jpg

http://i5.photobucket.com/albums/y189/plomon/Superficial/without_filter_cap01.jpg

Thanks for the good suggestion.

plomon
2nd February 2006, 09:40
No don't repost them in jpeg format because they will just look as bad as the previous ones. Post them in png format to Imageshack.us as they don't require resizing and they can accept pics up to 1 meg.
imageshack.us doesn't support multiple picture posts, unlike photobucket.com. Anyways I'll post them on imageshack.us.

However, I may not be posting all the 12 pictures. I'll post about 6 of them. It'll take a while from now. Please wait till I post them. I'll post the remaining later.

Lil' Jer
2nd February 2006, 09:40
You can see the unfiltered caps & script here:

...

Thanks for the good suggestion.

How can you call something unfiltered when you obviously filtered it. And again, please post pngs, not these low quality jpegs. Use Imageshack.us and post unresized and unfiltered screenshots.

Lil' Jer
2nd February 2006, 09:41
imageshack.us doesn't support multiple picture posts, unlike photobucket.com. Anyways I'll post them on imageshack.us.

Yes it does. You can post as many pics to imageshack as you like. If you are wanting to do batch uploading though you need a membership.


However, I may not be posting all the 12 pictures. I'll post about 6 of them. It'll take a while from now. Please wait till I post them. I'll post the remaining later.

It doens't matter if you post them all, all I want to see is unfiltered, unresized screenshots that don't have tons of jpeg artifacts.

plomon
2nd February 2006, 09:52
Here are the PNG caps reposted :

http://img85.imageshack.us/img85/5104/unfilteredcap016ew.png

http://img85.imageshack.us/img85/4508/unfilteredcap029ul.png

http://img215.imageshack.us/img215/22/unfilteredcap034na.png

http://img85.imageshack.us/img85/9373/unfilteredcap043xq.png

http://img215.imageshack.us/img215/3953/unfilteredcap057xa.png

http://img85.imageshack.us/img85/5509/unfilteredcap064em.png

plomon
2nd February 2006, 10:16
Here are more unfiltered, uncropped, non-resized PNG captures:

http://img63.imageshack.us/img63/1652/unfiltered_cap10.png

http://img63.imageshack.us/img63/9095/unfiltered_cap09.png

http://img63.imageshack.us/img63/6901/unfiltered_cap12.png

http://img63.imageshack.us/img63/4086/unfiltered_cap07.png

http://img63.imageshack.us/img63/7753/unfiltered_cap08.png

http://img63.imageshack.us/img63/7636/unfiltered_cap11.png

plomon
2nd February 2006, 10:33
Now, after loading a few filters like DeComb, eDeen, and LimitedSharpen, this is the result

Script:

LoadPlugin("d:\programs\dgindex\dgdecode.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\DeComb.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\warpsharp.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\masktools.dll")
LoadPlugin("d:\program files\avisynth 2.5\plugins\eDeen.dll")

import("d:\program files\avisynth 2.5\plugins\LimitedSharpen.avs")

mpeg2source("e:\sol\sol.d2v")
Telecide(order=1,post=0,guide=1).Decimate(cycle=5,mode=0)
ConvertToYV12()

edeen(7,14,21,2,3,true)
Crop(4,14,-8,-14)
LancZosResize(640,344)
limitedsharpen(ss_x=1.0,ss_y=1.0,smode=3,dest_x=640,dest_y=344,strength=0)

Captures:

Cap01
http://img52.imageshack.us/img52/3139/edeen_filtered_cap04.png

Cap02
http://img52.imageshack.us/img52/1957/edeen_filtered_cap07.png

Cap03
http://img52.imageshack.us/img52/8256/edeen_filtered_cap09.png

Cap04
http://img52.imageshack.us/img52/4242/edeen_filtered_cap03.png

Cap05
http://img52.imageshack.us/img52/1122/edeen_filtered_cap08.png

Cap06
http://img52.imageshack.us/img52/3497/edeen_filtered_cap06.png

Cap07
http://img52.imageshack.us/img52/8499/edeen_filtered_cap02.png

Cap08
http://img52.imageshack.us/img52/179/edeen_filtered_cap10.png

Cap09
http://img52.imageshack.us/img52/9471/edeen_filtered_cap01.png

Cap10
http://img52.imageshack.us/img52/8933/edeen_filtered_cap05.png

Even after the application of a good and strong denoiser like eDeen(), there are a lot of artifacts left out.

plomon
2nd February 2006, 10:38
If I apply more denoising, I'm loosing detail terribly. What to do next ??

Boulder
2nd February 2006, 11:28
You are already losing all the details. I do not recommend using eDeen, ever!

You could try using Didée's MCNR_simple2.

Didée
2nd February 2006, 11:44
From what we've seen so far, what I would try is:

- load source (no deblocking)
- IVTC
- FFT3D (with exactly the settings as posted above)
- LimitedSharpen, but perhaps alittle stronger than strength=0 ... ;)