Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
30th March 2002, 18:11 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
A faster TemporalSoften
Some of you prefer TemporalSoften over TemporalSmoother, but TemporalSoften is slow and somewhat buggy.
Try this version, it should be faster and more stable. (sources included) The filter is named TemporalSoften2 and takes the same arguments as the built-in filter (but radius is limited to 7). Please report bugs here. PS: I remember posts talking about bugs in TemporalSmoother, but I can't find any substantial claim with the search function in the forums. Temporalsoften2 may suffer from the same bugs since buffering is done in the same way. Any info appreciated.
__________________
dividee Last edited by dividee; 30th March 2002 at 18:21. |
31st March 2002, 03:26 | #3 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Well, I haven't used it much either
For the tresholds, if pixels differs less than this value, they are averaged together. I'd say start with something like (3,10,15) but you'll have to experiment
__________________
dividee |
31st March 2002, 08:06 | #4 | Link |
Registered User
Join Date: Jan 2002
Posts: 331
|
Great Filter!
I have never used this filter before, but I have used your Temporal Smoother a lot with a setting of (3) before resize...its reduced file size whith some light noise removal.
I have been working with some noisy material recently and I am trying to get it to fit on one cd with no luck. With the addition of your Temporal Soften 2 I am able to do it. Thanks!! I used a setting of (3,5,7) with great results. The noise is gone and structure intact. No other "spatial" noise remover has been able to do the same. I guess even smaller values may be useful with clean sources, but I will try it soon enough. Note: I am using both filters at the same time. First Temporal Soften then Temporal Smoother at the settings mentioned for noisy sources. For clean ones I would stick with Temporal Smoother @ a setting of 3. Maybe moderately noisy sources could use a (3,2,4) setting? Good job Dividee, Dali |
31st March 2002, 09:52 | #5 | Link |
Registered User
Join Date: Feb 2002
Posts: 970
|
i think that temporal smoother is something to use with care
i use 1,7,11 mostly Dividee, your lumafix keep warning me that im saving in uncompressed RGB, fix this please,and while you are on, try to fix the ecf bug too please. Last edited by movmasty; 31st March 2002 at 09:55. |
31st March 2002, 14:38 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Thanks for testing it. You're right, the tresholds I gave above are too high for most sources.
@movmasty: First, this is off-topic. Second, my fix for Nandub has nothing to do with that warning. Third, a version with the ecf fix is available from doom9 (ok I should probably remove the version on my site, but as you can see I didn't update it for a while).
__________________
dividee |
1st April 2002, 13:55 | #8 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Here is a sample script:
Code:
LoadPlugin("k:\temp\mpeg2dec.dll")
LoadPlugin("k:\temp\temporalsoften2.dll")
mpeg2source("I:\movie\movie.d2v")
TemporalSoften2(3,6,8)
crop(10,4,702,564)
BicubicResize(608,336,0,0.5)
Read the avisynth doc at www.videotools.net for a description of TemporalSoften.
__________________
dividee |
1st April 2002, 16:47 | #9 | Link |
Registered User
Join Date: Oct 2001
Posts: 88
|
Thanks. one more question. can I run temporal smoother along side Temporal soften in Avisynth. I cant seem to find temporal smoother for avisynth. I know Virtual dub has it. Do I have to use VD If I want temporal smoother?
|
1st April 2002, 18:21 | #12 | Link |
Registered User
Join Date: Mar 2002
Posts: 53
|
Yes, I am sure. The only way it would not be there is if you had an ancient, and I mean ancient, copy of mpeg2dec. Just to be sure, go to Dividee's site and download it.
http://users.win.be/dividee/ http://users.win.be/dividee/mpeg2dec_dll.zip Last edited by ShinerSpoon; 1st April 2002 at 18:24. |
1st April 2002, 20:58 | #13 | Link |
Registered User
Join Date: Oct 2001
Posts: 88
|
Thank you very much. I was using 1.0 by accident I have one last question. Im trying to use Casbuki's 2d cleaner along side Deeveedee (sp)temporal smoother. I converting some anime. THis is my code:
LoadPlugin("c:\winnt\system32\vobsub.dll") LoadPlugin("C:\vobfiles\mpeg2dec\mpeg2dec.dll") LoadPlugin("C:\vobfiles\decomb.dll") Loadplugin("C:\vobfiles\TemporalSoften2.dll") Import("vdfilters.avs") mpeg2source("C:\vobfiles\nadia.d2v") VD_2DCleaner(12,2) ConvertToYuY2() Telecide() Decimate(mode=1,threshold=50) fieldDeinterlace TemporalSmoother(2,1) vobsub("C:\vobfiles\VTS_06_0") MY problem is: TO use Telecide I must use YUY2 but to use 2D cleaner it must be RGB32. What should I do? Am I screwed? Im trying to IVTC the anime and let it remain as MPEG2 (Im going to put it on dvd). Also I want to run a 2d cleaner and the temporal smoother to get out the jaggies and the other artifacts. Thanks for your help. |
2nd April 2002, 07:55 | #14 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Hi-
A couple of things, although I can't help with the main question. I use the 2D Cleaner in VDub-Nandub, but make sure you have the optimized version. It's way faster (for use only with Athlons-P3-P4). Also, the FieldDeinterlace is now integrated into Telecide(), so you don't need that line. Just make sure you have a recent version (3.8 is the latest). And you shouldn't really have jaggies left over, unless it's in the source material. I find that sometimes that this works: Telecide(Guide=1,Gthresh=50,Chroma=true,Threshold=30) |
2nd April 2002, 17:53 | #15 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
@Octagon:
I can't see the problem: just use ConvertToRGB() and ConvertToYUY2() as needed before the filters that only support those color spaces. Of course it will slow things down, but you're already stacking up a lot of filters so I guess speed isn't your main concern.
__________________
dividee |
3rd April 2002, 00:37 | #16 | Link |
Registered User
Join Date: Oct 2001
Posts: 88
|
ACtually you guys speed is kind of a concern. You see I tried using 2d optimized and Warpsharp in Tmpeg (im making a dvd) and BAM! 20Hrs. I cant wait that long for 100 min on anime. So Instead Im trying to run the avs through Vdub and then use Vdub and avisynth and DVd2avi to framserve to CCESp2.50 and now its only taking about 7 hours. Thats a lot faster. I will report what happens.
@mamano. Im using 3.8 but I was told to leave it in just in case decomb didnt so some part correctly. I'll try your code next dvd i do. Also: whats the difference between Vdub and nandub? Why is nandub all the rage these days? |
3rd April 2002, 04:50 | #17 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Hey Octagon-
I was told to leave it in just in case decomb didnt so some part correctly. You were told correctly, but it is in by default. No need to do it twice. But, the default setting of 15 is sometimes too strong for certain anime and may screw up good frames and make them jaggie. That's the reason for Threshold=30 in my sample line. If you ever wanted to disable the deinterlacer, you would add Post=false (not recommended for anime). This is explained in more detail in the Help file. Nandub is a hacked version of VDub and is used to make .avis using the DivX 3.11 codec. Virtual Dub is used for DivX 4,5 and XviD. But I know nothing about making DVDs. |
5th April 2002, 12:51 | #18 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
Could it be an option for you to use TemporalSoften with a higher radius, or SpatialSoftenMMX (from the GordianKnot package) instead of 2D-Cleaner? They are working in YUV color spaces, AFAIK.
|
|
|