-
video grain removal
Posted by Bryan Wells on May 28, 2005 at 9:10 pmI have some video I shot at night which is noisy due to low light and infrared. Does Vegas have any filters that will smooth out the noise or remove the grain; kind of like Neat Image does for digigtal phogtography?
Here is a sample:
https://www.sunkhaze.org/movie/noise_sample.wmv
thanks
BryanBryan Wells replied 20 years, 11 months ago 3 Members · 8 Replies -
8 Replies
-
Mike Kujbida
May 28, 2005 at 11:24 pmMike Crash has two filters (Dynamic Noise Reduction & Smart Smoother) on his page at https://mikecrash.wz.cz/ that might be of some help.
Mike
-
Bryan Wells
May 29, 2005 at 1:15 pmI tried the noise remover you recommended and it made the video a lot better. Thanks!
I was playing around with AviSynth and its plugins. There are a lot of filters people have written to remove noise, but I do not understand how to run the filter and save the output. I can play the filter in windows media player. Is there some way to use AviSynth from Vegas? DOes anyone know what I need to do to save an AVI after the filter I want has been applied?
-
Mike Kujbida
May 29, 2005 at 1:41 pmI’m not positive but I think you need to get into frameserving.
Satish has one on his site at https://www.debugmode.com/frameserver/ along with instructions and a user forum. -
Allen Zagel
May 29, 2005 at 4:48 pmHi
I downloaded that DNR filter from Mike Crash’s site and installed it. But it installed in the “Sony-Filters” directory.Now I can’t find it to call it up in Vegas. Do I need to get it into the FX Filter Packages directory?
How do I get to that filter and use it?
Thanks
AllenMy web site features;
China, China Railways and music.
https://www.azagel.comVideo site;
https://www.asxmediaproductions.com -
Bryan Wells
May 29, 2005 at 8:24 pmI just installed it like you did, exited Vegas and found the Dynamic noise filter in the same place as all my others near the top of the list.
-
Bryan Wells
May 29, 2005 at 8:31 pmI discovered a great solution for a good noise reduction method. The output of the following script was much better than any other I have tried.
I used AviSynth and a user-provided script. I used a program called Link2 which wraps the avs script with an avi wrapper so that Vegas opens the wrapped avi for rendering. It worked very well. AviSynth is the frameserver, and link2 connects Vegas to the frame server. For some reason, the avi link2 gave me was missing the audio, but I did not need it so I did not try and figure that out.
Here is my avs script for use with AviSynth. As you can see, you need to get the plugins from the AviSynth plugin download page.
And you need link2: http://www.videotools.net
#loadplugin(“tomsmocomp.dll”)
#loadplugin(“e:Avisynth_2.5oldPluginsLoadPluginEx2.dll” )
#loadplugin(“e:Avisynth_2.5oldPluginsmvtools.dll”)loadplugin(“fft3dfilter.dll”)
LoadPlugin(“MPEGDecoder.dll”)function tmcbob(clip i, int se)
{
e=i.tomsmocomp(-1,se,0)
o=i.doubleweave().selectodd().tomsmocomp(-1,se,0)
interleave(e,o)
}function reYV12(clip i)
{
yx=i.converttoyv12().greyscale()
x=i.separatefields().separatefields().selectevery(4,0,2).weave()
ux=x.utoy().converttoyv12()
vx=x.vtoy().converttoyv12()
ytouv(ux,vx,yx)
}function manaodenoise(clip source)
{
function efficace(clip c, bool backward, int del)
{
v = c.mvanalyse(isb = backward, lambda = 1000, blksize = 8, delta = del, idx = 1, pel = 2)
d = c.mvcompensate(v, mode = 1, thscd1 = 2500, thscd2 = 170).deblock(quant = 30)
return v.mvchangecompensate(d)
}bw3 = source.efficace(false, 3)
bw2 = source.efficace(false, 2)
bw1 = source.efficace(false, 1)
fw1 = source.efficace(true, 1)
fw2 = source.efficace(true, 2)
fw3 = source.efficace(true, 3)
source.mvdenoise(bw3, bw2, bw1, fw1, fw2, fw3, thsad = 2500, thmv = 200, tht = 30, thscd1 = 2500, thscd2 = 170)
}#input=avisource(“c:tempmyclip.avi”).assumebff()
input = MPEGSource(“g:tempbear_p_in_p.mpg”)
input.ConvertToYV12(interlaced=true)
#input.reYV12().tmcbob(5).manaodenoise()
input.tmcbob(5).manaodenoise()
#input.manaodenoise()
output=converttoyuy2().assumebff().separatefields().selectevery(4,0,3).weave()
return output -
Allen Zagel
May 29, 2005 at 9:04 pmAhhhh
You’re right! I had to exit Vegas then re-start and it was there. Didn’t do too badly either.Did you find that AVIsynth better? I never messed with that one. Don’t yoou have to get the film into0 AVIsynth first then open it in Vegas or can you access the frameserv directly from Vegas?
I’d hate to have to render the thing as an AVI then into AVIsynth then back to Vegas.
Allen
My web site features;
China, China Railways and music.
https://www.azagel.comVideo site;
https://www.asxmediaproductions.com -
Bryan Wells
May 30, 2005 at 2:23 amI tried the noise filter I posted on the raw avi’s that I imported into vegas but there were problems with color conversions I did not figure out. I render from vegas out to mpg2 (NTSC DVD) and then use AviSynth to render the meg2 from Vegas as mpg2 again. I could have gone to AVI from vegas too I am guessing, but I didnt have the time to figure it all out. I would have liked to go stright from the raw avi through the Avisynth filter in vegas. It should work and I am sure if I messed with it enough, it would have worked.
For my low-light IR video, it AviSynth was much better. I am sure for others, its not so noticable.
Reply to this Discussion! Login or Sign Up