VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Feb 2008
    Location
    Netherlands
    Search Comp PM
    Hi peeps,

    I downloaded some great filters from MSU (especially the Denoising filter), and i really want to use them to encode stuff. But the main problem is speed, the filters are extremely slow and that just ticks me off. How can i implement
    the filters in avisynth? I mean i want to frameserve to encode, but frameserving is slow with these filters....

    I'm a complete noob with avisynth, but i use avsedit to create simple codes and maybe there's a avisynth equivalent to the MSU Denoiser? I need a good one to enhance quality, and especially ones that do not slow the encoding process down (so much).....

    Thanx in advance,

    salidarius
    Quote Quote  
  2. Hi-

    You won't gain any speed advantage by using a VDub filter in AviSynth, as you'll have to convert to RGB32 before use. If there's other filtering involved (cropping and resizing, at least), then doing them within AviSynth in the original colorspace (assuming it's YV12) before making the colorspace conversion and using the VDubFilter will still payoff with reduced encoding times.

    There are a number of native AviSynth denoising filters, but since I've never used the MSU one, I don't know which of the AviSynth ones would be directly comparable (if any). Assuming it's some kind of a temporal cleaning filter, some of them are quite fast. You might check out Remove Grain or Temporal Cleaner. You can download them and others here:

    http://avisynth.org/warpenterprises/

    Other people might chime in with AviSynth filters similar to the MSU one, or other denoising filters they like.

    I just read up on it. It's both a spatial and a temporal filter. Fast AviSynth filters that work in 3 dimensions would include Convolution3D and FluxSmooth, both available at the same place. That MSU one does look pretty good, though.

    There's some information about using VDub filters in AviSynth here:

    http://avisynth.org/mediawiki/Plugins
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    At least some MSU filters have Avisynth versions.
    Also I think their documents will tell you how to use them in Avisynth.

    There is a general, slightly complex, way to use VDub filters in Avisynth. But it probably won't be any faster in execution.
    http://avisynth.org/mediawiki/FAQ_using_virtualdub_plugins


    But there are lots of native Avisynth denoising filters.

    See https://forum.videohelp.com/topic315009.html and
    http://forums.animesuki.com/showthread.php?&t=31436 for discussions.

    There is a pretty comprehensive list with links at http://avisynth.org/warpenterprises/

    And AvsP is very good for tweaking filters and seeing the results immediately.
    Quote Quote  
  4. Member
    Join Date
    Feb 2008
    Location
    Netherlands
    Search Comp PM
    Thank you guys,

    The tips you gave me are really useful, and this wil save me huge amounts of time with encoding.
    I got AvsP man what a great proggy! Just ten times easier to use Avisynth this way, especially for
    a n00b like me......LOL

    Thanks,

    Salidarius
    Quote Quote  
  5. I have tried with LOGOAWAY filter(from VIRTUALDUB)........I haven't got any error,but couldn't get the filter effect.
    this is the screenshot........
    Click image for larger version

Name:	noeffect.png
Views:	1161
Size:	504.2 KB
ID:	5872

    I have also tried with LOGO filter ,but I got error,
    Click image for larger version

Name:	errorwy.png
Views:	994
Size:	531.2 KB
ID:	5874

    although I have used it in avisynth script directly with no error.


    But when I try to 'import" the LOGO.avs in the original script(contains filters),I get the error
    Click image for larger version

Name:	error1.PNG
Views:	558
Size:	61.8 KB
ID:	5873

    another interesting thing when I try to encode the script with Megui,it previews ok,but give me error while in virtualdub encoding with same script goes nicely.
    Last edited by rijubrata; 3rd Mar 2011 at 13:02.
    Quote Quote  
  6. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    Sadly, over the years, I had to let go of some VirtualDub filters (in AviSynth) since converting to RGB32 not only takes more encoding time, but the shifting of color spaces also can hurt quality.

    At any rate, if you do indeed want to call out a VDub filter (ex:VDUBFILTER) in AviSynth, the easiest way is:

    Code:
    LoadVirtualDubPlugin("C:\Program Files\VirtualDub\plugins\vdubfilter.vdf", "VDUBFILTERNAME",0)
    ConvertToRGB32()
    VDUBFILTER(parameter list)
    This is, of course, assuming VirtualDub is in the Program Files folder (but you can call it from any folder).

    You can call the filter anything you like (ex:VDUBFILTERNAME).

    The zero I placed there is the preroll. This is to compensate for a buffer and is usually trial and error and depending on the filter - I've succeeded with either using a 0 or a 1 here in all my cases.

    As for the parameter list, the easiest way is when you preview it in VirtualDub, and like your settings, save it as a .vcf file first.
    File -> Save processing settings...
    Then open it up in NotePad and your parameter list should be in after "Config". Just copy them in exactly in your script.

    Maybe I should open up a new topic on this, but if there's a way to use VDub filters in AviSynth without moving to different color spaces I'd be interested, particularly with alpha blending.
    I hate VHS. I always did.
    Quote Quote  
  7. @PuzZLeR
    what you have said,I have done all this steps,I haven't only used "peroll".from the 1st Screenshot,it is clear that I haven't got LOGOAWAY effect on the video.

    I have used successfully the script of alpha blended logo in avisynth,but when I load "LOGO" filter from virtualdub,I get error as I have given the 2nd Screenshot.
    Quote Quote  
  8. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    Try including a 1 as the preroll. It might work.

    Or maybe did you copy the parameters correctly? They would be in the .vcf file. If you like, you can post a copy of the .vcf file so one of us can help you.
    I hate VHS. I always did.
    Quote Quote  
  9. Originally Posted by PuzZLeR View Post
    Try including a 1 as the preroll. It might work.

    Or maybe did you copy the parameters correctly? They would be in the .vcf file. If you like, you can post a copy of the .vcf file so one of us can help you.
    I have just tried it,but the result is same
    Quote Quote  
  10. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    What you can do is create a .vcf file of your project and its settings from VirtualDub.

    VirtualDub -> File -> Save processing settings...

    Then open it up in NotePad and cut and paste what it says. Maybe the solution is in there for us to help you out.
    I hate VHS. I always did.
    Quote Quote  
  11. Originally Posted by PuzZLeR View Post
    What you can do is create a .vcf file of your project and its settings from VirtualDub.

    VirtualDub -> File -> Save processing settings...

    Then open it up in NotePad and cut and paste what it says. Maybe the solution is in there for us to help you out.
    If you see the 2nd screenshot,I have already done that,It is the only process to do........
    Quote Quote  



Similar Threads

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