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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th February 2010, 10:00   #301  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
Hi LaTo,
have you tried the pre-search routine for better motion vectors search introduced by Didee in TGMC?
Terka is offline   Reply With Quote
Old 8th February 2010, 10:55   #302  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,407
What for? MCTD already offers "normal" pre-filtering for motionsearch, and that is fully sufficient. The routine in TGMC is custom-tailored to remove the typical on-off-on-off resp. up-down-up-down of spatially-interpolated bobbing. For arbitrary non-interlaced input, there is not any benefit to use that particular method. Chances are that it would come out less good than FFT3D-prefiltering.

For very tough cases, sometimes it is benefitial to use some additional stabilization after FFT3D, since FFT3D might leave back some "nervous" areas that still can mislead the motion engine (see the "HQDN3D" addendum in my predecessor-to-MCTemporalDenoise script). (In MCTD, this is partly achieved via debanding - it's not temporal stabilisation, but helps to dimish the sideffects that *floating* banding imposes on the motionsearch).
But that's big guns for big enemies, and not related to what TGMC is doing.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 8th February 2010, 13:18   #303  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
ok. to be clear for me.
(all following is regarding progressive filtering)
1.temporalsoften routine from TGMC part is worse than ttf3d (or fft3d +HQDN3D)
2.how do you check the quality of motion search? (mean for practical testing-which prefilter to use etc.)
Terka is offline   Reply With Quote
Old 8th February 2010, 13:55   #304  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,407
Quote:
Originally Posted by Terka View Post
1.temporalsoften routine from TGMC part is worse than ttf3d (or fft3d +HQDN3D)
No, that's a false statement. If it would be "worse" and FFT3D would be "better", then tell me why I didn't use FFT3D within TGMC?

It's not worse, it's just different. For what is to be done in TGMC, the temp-gauss temporalsoften is method-of-choice. For general noise removal prior to motionsearch, FFT3D is the (most versatile) method of choice.

A hammer for the nails, a screwdriver for the screws. Each for it's own purpose.

( I know you said "(all following is regarding progressive filtering)" - but even in TGMC, all filtering is in fact done on progressive frames...)


Quote:
2.how do you check the quality of motion search?
Eyeballing + experience. Very rarely, vector visualisation.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 8th February 2010, 15:49   #305  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
my problem is i cant recognize the nails/screws without putting the screwdriver on it.
Terka is offline   Reply With Quote
Old 9th February 2010, 04:04   #306  |  Link
mozzle
Registered User
 
mozzle's Avatar
 
Join Date: May 2008
Location: Californiaaaaayyy
Posts: 51
Quote:
Originally Posted by Boulder View Post
Are the older versions available somewhere? I'd like to test versions from v1.3.0.0 on to see whether my odd x264 crashes are due to MCTD. It is pretty much the only thing that I have changed recently and debugging x264 pointed the error to be related to Avisynth.

Hey Boulder. Did you figure out if it was MCTD that was crashing x264. I've been having the same crashing issue and had to revert back to x264 v1400.
__________________
mozzle
mozzle is offline   Reply With Quote
Old 9th February 2010, 04:46   #307  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,836
No, at least v1.3.0.9 didn't help and that's where the bigger changes were not yet introduced. I'm currently running a test to see whether a different Avisynth version helps (I used to have 2.6.0-MT but now I'm trying 2.5.8-MT). If that doesn't help, I'll try non-ICL builds of x264.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 9th February 2010, 23:48   #308  |  Link
~SimpleX~
Registered User
 
Join Date: Feb 2010
Location: Saint-Petersburg, Russia
Posts: 38
First of all, thanks for awesome script, LaTo. But I got some problems when tried to encode my video.

That's the problem: http://www.mediafire.com/imageview.p...ey=4jzvwmmmy2j

And this's the script I used:

Code:
setMTMode(2,0)
SetMemoryMax(256)

src=DGDecode_MPEG2Source("C:\Encoding\Cafe Junkie\VTS_01_1.d2v", info=3, cpu=0)

src=src.ColorMatrix(hints=true, threads=0)

progressive=src.AnimeIVTC(mode=1, aa=1, ifade=true)

ECMode="DFTTest().dehalo_alpha_MT(darkstr=0.7,brightstr=1.7)."+
      \ "awarpsharp2(depth=10, blur=2, chroma=2).FastLineDarkenMOD(thinning=12,strength=80, luma_cap=170)"

denoised=progressive.MCTemporalDenoise(\
                                                         settings="low", radius=2, GPU=false, fixband=true, sigma=3, chroma=true      ,\
                                                         edgeclean=true, ECmode=ECMode, ECrad=3, ECthr=16                                  ,\
                                                         enhance=true                                                                                         ,\
                                                         protect=true                                                                                          ,\
                                                         sharp=true, strength=140                                                                         ,\
                                                         post=0                                                                                                   ,\
                                                         deblock=true                                                                                           )



final=denoised.ediaa().Tweak(sat=1.1).Crop(0,0,-2,0).Spline36Resize(720, 540)

final
__film = last
__t0 = __film.trim(0, 36751)
__t0
What am I doing wrong?

Last edited by ~SimpleX~; 10th February 2010 at 00:33.
~SimpleX~ is offline   Reply With Quote
Old 10th February 2010, 04:39   #309  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,836
Quote:
Originally Posted by Boulder View Post
No, at least v1.3.0.9 didn't help and that's where the bigger changes were not yet introduced. I'm currently running a test to see whether a different Avisynth version helps (I used to have 2.6.0-MT but now I'm trying 2.5.8-MT). If that doesn't help, I'll try non-ICL builds of x264.
It seems that Avisynth 2.6.0-MT causes the problem, no crashing with 2.5.8. I'll have to ask SEt to see if he can find anything wrong there.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 18th February 2010, 12:30   #310  |  Link
ninja_racoon
Registered User
 
Join Date: Oct 2009
Posts: 16
there's a problem when I use MT and MCT+global settings together

MT("MCTemporalDenoise(settings="low")",2,0)

how can I get this to work?
ninja_racoon is offline   Reply With Quote
Old 18th February 2010, 12:32   #311  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,442
Quote:
Originally Posted by ninja_racoon View Post
MT("MCTemporalDenoise(settings="low")",2,0)

how can I get this to work?
Use triple quotes to allow nested string literals:
MT("""MCTemporalDenoise(settings="low")""",2,0)
Gavino is offline   Reply With Quote
Old 19th February 2010, 00:43   #312  |  Link
Poutnik
Useless idea generator
 
Poutnik's Avatar
 
Join Date: Apr 2004
Location: Europe, Czech Republic, Brno
Posts: 332
Quote:
Originally Posted by Gavino View Post
Use triple quotes to allow nested string literals:
MT("""MCTemporalDenoise(settings="low")""",2,0)
The question is, if MT() in conjunction of MC scripts is a good idea.
Most people think it is not, because MC need to cover all spatial scope.
__________________
Vista64 Premium SP2 / C2D E4700 2.6GHz/ 6GB RAM/ Intel GMA 3100 / DTV Leadtek DONGLE GOLD USB2 /
focused to DVB-T MPEG2 PS capture -> ProjectX -> M2V/MP2 -> MeGUI/AVS -> MP4[AVC/AAC]
Poutnik is offline   Reply With Quote
Old 25th March 2010, 01:13   #313  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,520
I get an error when using settings="very low" or settings= "low". It seems that mode doesn't have the correct value in line 1060:

Code:
GFc = (enhance==true) ? TTc.GradFun2DBmod(thr=GFthr,thrC=chroma?GFthr:1.0,mode=0,str=AGstr,strC=0.0,temp=temp,adapt=bias,mask=false,show=false)

Last edited by nautilus7; 25th March 2010 at 01:17.
nautilus7 is offline   Reply With Quote
Old 25th March 2010, 01:31   #314  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 6,017
Meh.. I use MT all the time with MDegrain2. It's not optimal, but I've yet to see hideous artifacts.

SetMTMode is probably preferable, but it's caused more problems in my case.

MCTD is fantastic, especially in a pure 64 bit environment with the latest 2.5.8 builds!!!

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 25th March 2010, 07:20   #315  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by nautilus7 View Post
I get an error when using settings="very low" or settings= "low". It seems that mode doesn't have the correct value in line 1060:

Code:
GFc = (enhance==true) ? TTc.GradFun2DBmod(thr=GFthr,thrC=chroma?GFthr:1.0,mode=0,str=AGstr,strC=0.0,temp=temp,adapt=bias,mask=false,show=false)
Quote:
Originally Posted by mozzle View Post
I am getting the following error in MeGUI with 1.4.08:

Quote:
AviSynth script error:

'mode' have not a correct value! [1,2,3]

(GradFun2dBmod.v.1.5.avsi, line 175)
(MCTemporalDenoise.v.1.4.08.avsi, line 1061)
(MCTemporalDenoise.v.1.4.08.avsi, line 1079)
(C:\PATH TO AVS SCRIPT)
Any help would be appreciated.
Quote:
Originally Posted by LaTo View Post
Re-download GradFun2DBmod v1.5! (here)
Answer was in the topic, page 15
LaTo is offline   Reply With Quote
Old 25th March 2010, 14:14   #316  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,520
Sorry, my bad.
nautilus7 is offline   Reply With Quote
Old 26th March 2010, 05:54   #317  |  Link
Poutnik
Useless idea generator
 
Poutnik's Avatar
 
Join Date: Apr 2004
Location: Europe, Czech Republic, Brno
Posts: 332
Quote:
Originally Posted by Blue_MiSfit View Post
....
MCTD is fantastic, especially in a pure 64 bit environment with the latest 2.5.8 builds!!!
I feel little simple-minded but how is it possible to use MCTD in pure 64bit enviroment ?
I know there is 64bit Avisynth, but are there all needed Avisynth plugins ported to 64bit yet?
It would be great news for me.
__________________
Vista64 Premium SP2 / C2D E4700 2.6GHz/ 6GB RAM/ Intel GMA 3100 / DTV Leadtek DONGLE GOLD USB2 /
focused to DVB-T MPEG2 PS capture -> ProjectX -> M2V/MP2 -> MeGUI/AVS -> MP4[AVC/AAC]
Poutnik is offline   Reply With Quote
Old 26th March 2010, 06:02   #318  |  Link
levi
Registered User
 
Join Date: Mar 2003
Posts: 116
not to get off-topic, but you can find the 64bit avisynth + 64 bit plugins here
levi is offline   Reply With Quote
Old 26th March 2010, 06:24   #319  |  Link
~Revolution~
Registered User
 
Join Date: Sep 2009
Posts: 89
I'm not sure if its just me but MDegrain2 with MT always causes a transparent type, very light, grainy horizontal line straight in the middle of the video.
~Revolution~ is offline   Reply With Quote
Old 26th March 2010, 07:20   #320  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 303
How much faster would MCTD perform using a 64bit build of avisynth and 64bit pluigns versus all 32bit avisynth software?
lych_necross is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.