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
+ Reply to Thread
Results 1 to 11 of 11
-
-
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 -
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. -
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........
I have also tried with LOGO filter ,but I got error,
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
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.
-
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)
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. -
@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. -
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. -
-
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. -
Similar Threads
-
Order for filters in Avisynth on Virtualdub!!
By Cauptain in forum Video ConversionReplies: 10Last Post: 4th Jun 2011, 14:29 -
Is there a way to use avisynth plugins/filters within Virtualdub?
By Milardo in forum EditingReplies: 5Last Post: 5th Jan 2011, 03:52 -
Which filters I should use for this anime? (avisynth)
By Cloudstrifeff7 in forum Newbie / General discussionsReplies: 1Last Post: 29th Dec 2010, 12:32 -
Avisynth Filters (help pls)
By Enkidu in forum EditingReplies: 14Last Post: 30th Jul 2010, 21:41 -
video plays 2x faster using avisynth
By zsuppguy in forum Newbie / General discussionsReplies: 7Last Post: 15th Jan 2010, 09:18