VideoHelp Forum
+ Reply to Thread
Page 4 of 4
FirstFirst ... 2 3 4
Results 91 to 114 of 114
Thread
  1. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by brassplyer View Post
    Script error:There is no function named "m4"
    (DeHalo_alpha.avsi, line 20)
    The m4 function is at the end of the DeHalo_alpha.avsi file:
    Code:
    function m4(float x) {return(x<16?16:int(round(x/4.0)*4))}
    Quote Quote  
  2. Originally Posted by brassplyer View Post
    It's in the plugins folder per the screen cap above
    Like mvtools, there's several versions of masktools as well. I could only see the mt-masktools in your screenshot, not MaskTools.dll.

    I think dehalo relies on the older version, (i.e. MaskTools.dll). It is hotlinked in the mediawiki
    Quote Quote  
  3. Brassplayer, someone in another thread linked to this site:
    http://in-trans.appspot.com/entry/fictionjunction-yuuka-popjam-2005
    The links to the exact filter versions there might help you.
    Last edited by jagabo; 30th Jan 2010 at 20:24.
    Quote Quote  
  4. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Like mvtools, there's several versions of masktools as well. I could only see the mt-masktools in your screenshot, not MaskTools.dll.

    I think dehalo relies on the older version, (i.e. MaskTools.dll). It is hotlinked in the mediawiki
    Can you take a screen shot of your plugins folder? Still getting the same error.
    Quote Quote  
  5. Originally Posted by brassplyer View Post
    Can you take a screen shot of your plugins folder? Still getting the same error.
    I don't think it will help you, my plugins folders is a mess . It would probably confuse you more than anything - I have about 500 items, folders, avsi, avs, documents etc... that doesn't include subfolders and their contents. I should delete everything and start over

    Try downloading the dehalo avsi again and replace it . That line defines function m4 within that script, so maybe yours is corrupted or missing stuff.
    Quote Quote  
  6. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Okay, I'm revisiting this, never got it to work before and want to get to the bottom of why.

    Given Jagabo's original scripts

    AVISource("test.avi")
    ConvertToYV12(interlaced=true)
    TempGaussMC_Beta1(sharp=0)
    Dehalo_Alpha(darkstr=0.9,brightstr=0.9)
    MCTemporalDenoise(settings="high")


    If instead I do just this much

    AVISource("test.avi")
    ConvertToYV12(interlaced=true)
    TempGaussMC_Beta1(sharp=0)

    It works.

    However, when I add the dehalo filter

    AVISource("test.avi")
    ConvertToYV12(interlaced=true)
    TempGaussMC_Beta1(sharp=0)
    Dehalo_Alpha(darkstr=0.9,brightstr=0.9)


    I get the error "Script error: there is no function named "expand"
    (, line 21)

    This is the dehalo filter I'm using.

    http://avisynth.org/mediawiki/upload/8/8b/DeHalo_alpha.avsi

    Alternately, if I do Tempgauss and the MCTemporaldenoise

    AVISource("test.avi")
    ConvertToYV12(interlaced=true)
    TempGaussMC_Beta1(sharp=0)
    MCTemporalDenoise(settings="high")

    I get

    FFT3DFilter: Cannot load FFTW3.DLL!
    (, line 242)

    Any ideas as to what's causing these errors?
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by brassplyer View Post
    I get the error "Script error: there is no function named "expand"
    DeHalo_alpha requires the older version of MaskTools: http://manao4.free.fr/MaskTools-v1.5.8.zip
    FFT3DFilter: Cannot load FFTW3.DLL!
    You need to put fftw3.dll in the appropriate system folder.
    For XP, this would be C:\WINDOWS\SYSTEM32.
    Quote Quote  
  8. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Gavino View Post
    Originally Posted by brassplyer View Post
    I get the error "Script error: there is no function named "expand"
    DeHalo_alpha requires the older version of MaskTools: http://manao4.free.fr/MaskTools-v1.5.8.zip
    FFT3DFilter: Cannot load FFTW3.DLL!
    You need to put fftw3.dll in the appropriate system folder.
    For XP, this would be C:\WINDOWS\SYSTEM32.
    Thanks. Is there a problem with different versions of MaskTools in the plugins folder - does it need to be one or the other?

    What is and where do I find FFTW3.dll?

    I find this

    http://fftw.org/install/windows.html

    but extracting the files nets several .dll's none of which are specifically called fftw3.dll

    Image Attached Thumbnails Click image for larger version

Name:	fftw_files.jpg
Views:	2366
Size:	22.5 KB
ID:	1487  

    Last edited by brassplyer; 23rd Apr 2010 at 05:41.
    Quote Quote  
  9. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by brassplyer View Post
    Is there a problem with different versions of MaskTools in the plugins folder - does it need to be one or the other?
    Both versions can co-exist as they intentionally use different function names (eg expand vs mt_expand).
    What is and where do I find FFTW3.dll?
    I find this http://fftw.org/install/windows.html
    but extracting the files nets several .dll's none of which are specifically called fftw3.dll
    As noted in the FFT3DFilter documentation, you need the (older) version from ftp://ftp.fftw.org/pub/fftw/fftw3win32mingw.zip. (It's actually on the page you quoted, but under 'older stuff'.)
    Quote Quote  
  10. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Gavino View Post
    Originally Posted by brassplyer View Post
    Is there a problem with different versions of MaskTools in the plugins folder - does it need to be one or the other?
    Both versions can co-exist as they intentionally use different function names (eg expand vs mt_expand).
    They both have the same name, how do I get them both into the plugins folder?
    Quote Quote  
  11. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    What do you mean?
    For v1.5.8, the file is called MaskTools.dll.
    For v2.0a, it is mt_masktools-25.dll.
    Quote Quote  
  12. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Gavino View Post
    What do you mean?
    For v1.5.8, the file is called MaskTools.dll.
    For v2.0a, it is mt_masktools-25.dll.
    The one I had in there was even older, it was also MaskTools.dll, I replaced it with v1.5.8
    Quote Quote  
  13. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Okay, making progress, it now works with Dehalo_Alpha, but when I add the temporal denoise

    AVISource("test.avi")
    ConvertToYV12(interlaced=true)
    TempGaussMC_Beta1(sharp=0)
    Dehalo_Alpha(darkstr=0.9,brightstr=0.9)
    MCTemporalDenoise(settings="high")

    I get this
    Image Attached Images  
    Quote Quote  
  14. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    You need the latest version of RemoveGrain.

    You're not having much luck with this so far - I hope it's worth it in the end.
    Quote Quote  
  15. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Gavino View Post
    You need the latest version of RemoveGrain.

    You're not having much luck with this so far - I hope it's worth it in the end.
    I'm making progress, couldn't get it to do anything originally. Avisynth seems to be something of a butt-pain to get to work but seems like it could be useful. Seems it's better to know about it than not know about it.
    Quote Quote  
  16. AviSynth is the most powerful tool for video processing. The problem is there is not much coordination between the developers around the world. So you end up with this version number mess. But once you get it set up and learn to use it you'll find it indispensable. This particular use, TempGaussMC_beta1mod(), is a rather difficult one to get set up for beginners.

    Oh, and TempGaussMC_beta1mod() is the latest version. I recently set my system up to use it and the older TempGaussMC_beta1() no longer works. So you might try using the mod version:

    http://avisynth.org/mediawiki/TempGaussMC
    Quote Quote  
  17. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    Oh, and TempGaussMC_beta1mod() is the latest version.
    Someone referred me to a beta2, which I'm told is the newest. It seems to be marginally faster, seat of the pants assessment is it yields about the same results.

    Btw, I really appreciate all your input on this issue since I first posted about it several months ago.
    Quote Quote  
  18. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Is it correct that when deshaking the 60p Huffyuv files I should have it set on square pixels?
    Quote Quote  
  19. Set the pixel AR to whatever the pixel AR of your source is.
    Quote Quote  
  20. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    Set the pixel AR to whatever the pixel AR of your source is.
    If the Huffyuv file is made from a DV file, what would that be?
    Quote Quote  
  21. If regular DV, 4:3 if fullscreen, 16:9 if widescreen
    Quote Quote  
  22. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray View Post
    If regular DV, 4:3 if fullscreen, 16:9 if widescreen
    I don't think we're talking about the same thing, I'm talking about these options - assuming the Huffyuv file that's being deshaken was made from a 16:9 (anamorphic I believe) file.
    Image Attached Images  
    Quote Quote  
  23. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by brassplyer View Post
    I don't think we're talking about the same thing, I'm talking about these options - assuming the Huffyuv file that's being deshaken was made from a 16:9 (anamorphic I believe) file.
    You want Anamorphic NTSC or Anamorphic PAL, depending on your source - probably NTSC, if you're in the USA.
    Quote Quote  
  24. The very first post of this thread had a 16:9 NTSC NTSC DV AVI. If you're still working with that file or one like it you want the Anamorphic NTSC (1.215) setting.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!