[Removed original post]
+ Reply to Thread
Results 1 to 18 of 18
-
You need to find a download site that doesn't try to install malware. Otherwise, you can upload those samples directly into the forum. There are size restrictions, but the two samples don't appear to be anywhere near the limits. When you start a reply, look below the reply window for "UploadFiles/Manage attachments".
Otherwise, your links wouldn't download.Last edited by sanlyn; 21st Mar 2014 at 08:39.
-
double post, Not a good day.
Last edited by sanlyn; 21st Mar 2014 at 08:39.
-
Right, -140-, All you have to0 do is hit the right "download" button. Wrong button=adware. As I said, not a bad day.
@Tri P, you could use the stab() plugin to steady the frame hopping a little more. It's a bit oversaturated, especially red. But your encode doesn't looks pretty good otherwise.
Why are you resizing? Is this for PC-only display?
ED: Apparently the guys at your download site must have fixed something. The downloads worked this time. But thanks for your patience.Last edited by sanlyn; 21st Mar 2014 at 08:40.
-
OK, here's an effort with some different filters. The source is film, which inherently has some fine grain to begin with; removing all of it will result in banding (a little of which is showing up already). I retained the original frame size, but that's up to you.
In my haste I forgot the audio. oh, well.....
Script attached.
ED: In playback I just noticed some junk along the right-hand border. My fault. It can be cropped off. I should have saved the Crop() and AddBorders() until last. Like I said, bad day going on here....Last edited by sanlyn; 21st Mar 2014 at 08:40.
-
You want really heavy noise reduction? Try McTemporalDenoise(settings="very high"). I posted stab() a few days ago:
https://forum.videohelp.com/threads/359380-Restoring-Cartoons?p=2273034&viewfull=1#post2273034 -
Don;t know what's going on with that wiki, but I';ve some trouble with it recently myself. I think they'r making a big server change (?). Why the plugins have to be in Megui9's folders is a mystery. Haven't used that app in some time now, I don't even think I remember how.
Stab attached. You'll also need:
- DePan http://avisynth.org.ru/depan/depan1100.zip
- RemoveGrain package http://home.arcor.de/kassandro/prerelease/RemoveGrain-1.0.rar
RemoveGrain has multiple dll's. Just use the ones with "SSE2" in the name.
Stab() will literally move the whole frame around to stabilize it, so you'll see some side border pixels "vibrate" after running it. Most people just crop them off and use AddBorders to get the frame size back. They'll "pop" maybe 1 or 2 pixels in each direction. Moral: you can't have everything.
A touch of MCTemporalDenoise as jagabo suggests might make things even smoother. I'd stick with settings of medium or lower; anything really heavy is likely to be overkill. I also tried this effort afterward and it calmed things down even more:
Code:QTGMC(preset="faster",InputType=1)
Last edited by sanlyn; 21st Mar 2014 at 08:41. Reason: The usual typos. The letters move around when you're not looking.
-
Good work. Yes, if you're a little behind the curve with AVisynth filters, it's a hassle keeping them straight. Sorry there was a delay here, but there are actually two syslib dll's involved.
Attached are files required by MCTemporalDenoise and a copy of VariableBlur. The fftw3 dll's are also inside. The big MCTD zip has a folder of plugins, a folder of the fftw3 stuff, a folder of documentation, and a text file of instructions. The files used by MCTD are required by many other plugins, and include nifty standalone filters like LSFMod and GradFun2DBmod. You might already have some of the plugins; if you do, continue using those that you already installed.Last edited by sanlyn; 21st Mar 2014 at 08:41.
-
Not really. It's the result of previously poor processing and low-bitrate encoding. This kind of noise should be treated early-on in lossless yuv media before other filtering. You can try a few fixes such as derainbow filters like BiFrost.avsi, or chroma movers like ChromaShift.dll . The original oversaturation and juiced-up contrast didn't help, either. Another problem: the effects are intermittent, look different in other shots, and don't appear in some at all. It would involve playing with chroma cleaners forever and splitting the video into separate shots to suit each filter for each problem. In the shot posted, you didn't note the red bleed on the shirt sleeve and the magenta smear on the white elbow.
Last edited by sanlyn; 21st Mar 2014 at 08:42.
-
This struck me as an interesting problem so I spent some time on it. I came up with something that almost works for that one image. I don't know how well it will work with the entire video. My first idea was to convert the bright areas of the picture to greyscale. Unfortunately, when setting the threshold low enough to remove the color bleeding in the white areas it ended up removing colors in other bright parts of the picture (the blue eyes, the tan background). So I decided to build a mask that combined the brightness with the saturation (inverted) of the image. So only bright areas that are already nearly white are converted to greyscale. Here's what I came up with:
Code:# return the saturation of the clip, must be YUV # this isn't really saturation but it's close enough for our purposes here function Saturation(clip clip) { umask = UtoY(clip) umask = Overlay(umask.ColorYUV(off_y=-128), umask.Invert().ColorYUV(off_y=-128), mode="add") # abs(U-128) vmask = VtoY(clip) vmask = Overlay(vmask.ColorYUV(off_y=-128), vmask.Invert().ColorYUV(off_y=-128), mode="add") # abs(V-128) # add the u and v saturations Overlay(umask, vmask, mode="add") # back to the original frame size BilinearResize(clip.width, clip.height) } ImageSource("4mru.jpg", start=0, end=23, fps=23.976) ConvertToYV12() # build a mask based on the brightness of the image greymask=GreyScale().ColorYUV(off_y=-160).ColorYUV(gain_y=10000) # build a mask based on the saturation of the image, inverted satmask = Saturation() # saturation less than 16 removed, then mask brightened and inverted satmask = satmask.ColorYUV(off_y=-16).ColorYUV(gain_y=10000).Invert() # multiply the two masks together -- only areas where both masks are bright pass though, soften the edges mask=Overlay(greymask, satmask, mode="multiply").Blur(1.0) # use the mask to overlay a greyscale version of the image Overlay(last, GreyScale(last), 0, 0, mask)
Unfortunately, it also removed the slight cyan tinge on the front side of the glasses. It will do the same on any other near white areas. And it only removes the tinge on bright areas. If Donald was grey the tinge would not be removed.
A similar approach would be to remove the color on all parts of the image that are already nearly grey. You could do that with this script by only using satmask. That would get rid of the tinge and still have the problem where the glasses turn white. But it would also work on grey and black areas.Last edited by jagabo; 21st Oct 2013 at 20:24.
-
Cool. I figured some sort of masking technique would be the only way.
Last edited by sanlyn; 21st Mar 2014 at 08:42.
Similar Threads
-
1) Encoding to youtube, 2) Reduce encoding time.
By moghbr in forum Video ConversionReplies: 9Last Post: 30th Aug 2013, 07:40 -
Difference/Relationship among encoding, re-encoding & decoding?
By iqbal88 in forum DVD RippingReplies: 12Last Post: 19th Aug 2011, 14:46 -
ENC encoding versus no ENC encoding
By RL in forum ffmpegX general discussionReplies: 3Last Post: 4th Feb 2011, 17:44 -
AVCHD encoding format vs. H.264 encoding format?
By coody in forum Authoring (Blu-ray)Replies: 3Last Post: 28th Aug 2010, 20:51 -
Encoding MKV to MP4 with .ass subtitles without re-encoding.
By smilegreen in forum Video ConversionReplies: 7Last Post: 26th Apr 2009, 14:11