PDA

View Full Version : Denoising AVCHD videos


SubOne
16th May 2009, 05:05
I am a complete beginner to encoding. I have been using AviSynth filters for decoding/watching videos for years, but never encoding.

I don't even know where to begin. I have some low-light videos captured with a Canon HF100 in AVCHD form. Unfortunately, they are very noisy, and the denoising options in Sony Vegas are very lacking.

So, I would like to use some suitable noise reduction filters on some of these files, that is it. Unfortunately, I don't even know where to begin! If any of you have previously done this, please let know or link me to some guides, any help will be greatly appreciated!

P.S: I can also get a YUV uncompressed AVI from Vegas to denoise.

Edit - I am only seeking the best quality. Time, size are not limitations.

shoopdabloop
16th May 2009, 05:44
fft3dgpu can help.

http://forum.doom9.org/showthread.php?t=89941

SubOne
16th May 2009, 05:58
fft3dgpu can help.

http://forum.doom9.org/showthread.php?t=89941

Thanks, I will check it out right away.

SubOne
16th May 2009, 06:23
I have a question.. While I used AviSynth with ffdshow for decoding, I am not sure what I should use for encoding. Which are good GUI based encoders, in your opinion?

Edit - Currently, I have VirtualDubMod, but it does not recognize AVCHD files. I will try using uncompressed AVIs from Vegas.

As a response to rule 12, naturally, I meant what are the best in your opinion. The same way, if you edit it to "Good", that is a matter of opinion too, and just as subjective. Sorry if it was made out as a rule-breaking offense, though.

shoopdabloop
16th May 2009, 09:26
I use x264vfw when I want to encode non-dv avi files from AviSynth+VirtualDubMod, and I use Cedocida for my DV encodes. I don't know much about AVCHD though, so you should probably use x264vfw or something else.

TheRyuu
16th May 2009, 09:38
I use x264vfw when I want to encode non-dv avi files from AviSynth+VirtualDubMod, and I use Cedocida for my DV encodes. I don't know much about AVCHD though, so you should probably use x264vfw or something else.

No one should be using x264vfw...

I have a question.. While I used AviSynth with ffdshow for decoding, I am not sure what I should use for encoding. Which are good GUI based encoders, in your opinion?

Try MeGui.

Edit - Currently, I have VirtualDubMod, but it does not recognize AVCHD files. I will try using uncompressed AVIs from Vegas.
Source it using avisynth and an applicable source filter (ffms2 - ffmpegsource), save avs, feed avs to megui, use that to encode.

SubOne
16th May 2009, 17:13
No one should be using x264vfw...



Try MeGui.


Source it using avisynth and an applicable source filter (ffms2 - ffmpegsource), save avs, feed avs to megui, use that to encode.

Thank you. I have been using MeGui like you suggested, and it works just fine!

Now, I have been experimenting with a bunch of filters for the last few hours, and I'm afraid none of them seem to do exactly what I want.

If it helps, these are extreme low light shots. The grain is coloured in nature, blue and green mostly. If I use Gaussian Blur in Sony Vegas with blue and green ticked, most of the grain disappears. Unfortunately, the blur kicks in too.

What filters do you think I should be using for this case?

poisondeathray
16th May 2009, 17:16
You can try some of the suggestions in this recent thread which may or may not be similar to your problems
http://forum.doom9.org/showthread.php?t=146764

But maybe you can post a sample to get more specific help

SubOne
16th May 2009, 17:24
Here's one that I think is particularly poor. I am not expecting any miracles, just a decent clean up.

Thanks poisondeathray for the link! Yes, that is similar to the problems I am having.

P.s: The motion probably makes it worse, I will try looking for a noisy still shot.

P.P.S: For what it's worth, Convolution3d MovieLQ has given the best results so far.

Blue_MiSfit
18th May 2009, 19:59
You have heavy chroma noise. Thankfully, it's probably easily cleaned up.

Try this:


fft3dgpu(plane=3, sigma=1.5, sigma2=2.5, sigma3=3, sigma4=1)


You could instead use fft3dfilter (with the same arguments) if you don't have a fast GPU

If you wan to go all-out, MDegrain2 will probably do a great job too :)

~MiSfit

SubOne
19th May 2009, 04:46
Thanks, I am using MDegrain2, and it has worked well enough.

I was using sigma=25 (as per the other thread). But never used 4 sigmas. I will give that a try now.

shoopdabloop
19th May 2009, 06:27
what's wrong with using x264vfw as an encoder?

Blue_MiSfit
21st May 2009, 00:56
@shoopdabloop:

This question has been discussed endlessly.

In short, it works fine for lots of people, but it's generally frowned upon because AVI isn't a proper container for H.264. Making it work is a lot of hackery, and I'd avoid it at all costs.

~MiSfit

TheRyuu
21st May 2009, 05:56
what's wrong with using x264vfw as an encoder?

It's evil and bad. You go to hell for using it.
Redemption is hard but can be achieved only by using the cli.