Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th January 2014, 07:50 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Thailand
Posts: 259
|
Infognition Super Resolution plugin for AviSynth
Super Resolution is a method to resize by using information from neighboring frames. This plugin uses quarter-pixel motion compensation and a fusion process to combine motion-compensated previously upsized frames with spatially resampled current frame. The SR process doubles the resolution and if different resolution is specified in the argument, it will first upscale with SR to 200%, then resample to desired resolution.
Usage is: SR(width, height, numThreads, options) For example: LoadPlugin("avssr.dll") AviSource("video.avi") SR(1920,1080,12) This will resize the video to exactly 1920x1080 using 12 threads. Default setting SR() is to upscale to 200% in high quality mode using all logical cores. Please check readme for detailed usage. This plugin is multi-threaded and it's recommended to not use SetMTMode at all, or SetMTMode(5). Using SetMTMode(2,0) for example will greatly decrease the performance. Tests on i7 2600K with Hyper-Threading enabled, optimal performance is achieved with 12 threads. Also works very well with ffdshow AviSynth filter for real time resizing. For SD content, such as 704x400 or 832x468, I get great results with SR 200% resize, and let the Enhanced Video Renderer resize to 1920x1080. On my i7 2600K, 704x400 the CPU load is only around 20%. Real time upscale should be possible on any i3 CPU. Unregistered version of this plugin will draw some watermark lines in the video. If you have Infognition Super Resolution plugin for VirtualDub registered, then this AviSynth plugin is free and it's already registered too. You're also eligible for license if you already have a license for Video Enhancer. http://www.infognition.com/super_resolution_avisynth/ Last edited by Mole; 27th January 2014 at 07:58. |
27th January 2014, 12:29 | #3 | Link |
Registered User
Join Date: Feb 2005
Location: London
Posts: 65
|
Would be nice to see some samples of that aliasing problem. Make sure you don't just look at first frame (where no temporal info is accumulated yet), let it process some number of frames first.
I use this plugin to watch some rips on my laptop now using default 2x upsizing and letting the player to resample the result to full screen resolution. Comparing to available resize methods in MPC-HC I usually see sharper and more detailed image than with bicubic resize. Sample: Bilinear Bicubic SR Try opening in neighbor tabs and switch back and forward to see the difference. |
27th January 2014, 13:52 | #5 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
here
original sr () (look at the boxed areas, I donno what this kind of pointresize styled artifacts is called, I call it "aliasing" for now) dither_resize16nr (1440,960,kernel="spline",taps=32).ditherpost () (I didn't get any artifacts at all!) edi_resize16 (1440,960) (my own moded version of mawen1250 "nnedi3_resize16") (sharp, thin edge, and still no artifacts at all) |
27th January 2014, 14:25 | #9 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
no the image should be 720x480 1440x960 1440x960 and 1440x960 in PNG format
original http://110.imagebam.com/download/qPwhi4gReP5gDUdjYRFt9Q/30421/304206246/original.png sr http://104.imagebam.com/download/vfKsT9rRZ9AisibvkJUtpQ/30421/304206358/sr.png dither_resize16nr http://111.imagebam.com/download/JJ3E8-ya-nfuLRdoJMuvRA/30421/304207167/spline.png edi_resize16 http://109.imagebam.com/download/weQK0PjCPJZxxHFaEyf8Jw/30421/304207421/edi.png and the artifacts is very similar to manalyse in mvtools2 with wrong "dct" parameter settings Last edited by feisty2; 27th January 2014 at 14:30. |
27th January 2014, 14:36 | #11 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
Last edited by feisty2; 27th January 2014 at 14:44. |
|
27th January 2014, 16:52 | #13 | Link |
Registered User
Join Date: Feb 2005
Location: London
Posts: 65
|
Hmm, I'll look at the pictures on another monitor tomorrow, it's hard to see the difference now on my laptop.
What it looks to me now is like the nnedi & spline results are either in RGB or YUV 4:4:4 i.e. there is no chroma subsampling while SR one is in YV12 (with U and V half the resolution). Am I right? In that case you may try converting to RGB24 or RGB32 before applying SR, this way it will work in full resolution on all channels. Also, sometimes SR makes some ghosting artifacts when parts of previous frame add some patterns to the current frame. Note: when the source is blurred due to bad focus, motion blur or just low bitrate, you won't see much difference between different resize methods. A sharper source video will give more interesting results. |
28th January 2014, 07:50 | #16 | Link |
Registered User
Join Date: Apr 2008
Location: California, USA
Posts: 127
|
I have had great success with VideoEnhancer, but only when run as the final step of my process and in its EXE form (not the plug-in). I usually need to run an Unsharp or Sharpening tool as the last filter. But then again, all my work is with surveillance videos so my usage may not be that common. Although VideoEnhancer is a bit dated (I believe it is based on MSU's 2012 work), I have yet to find anything that works better for my needs.
|
28th January 2014, 11:31 | #18 | Link |
Registered User
Join Date: Feb 2005
Location: London
Posts: 65
|
Forensic,
these AviSynth and VirtualDub plugins share the SR engine with Video Enhancer 1.9.9 released just a month ago. If you're using an older version of it, I recommend downloading the latest version, it's significantly faster (and quality is higher on some files). It's not based on MSU work. VE first appeared in 2006 and later we had one common project with MSU on super resolution for a particular client, but SR engine of Video Enhancer and these plugins is not based on that code. feisty2 et al., thanks for pointing out these artifacts, we'll try to find what exactly causes them. |
28th January 2014, 14:31 | #19 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
are you a member of the developers of this sr filter? your filter is really interesting, cuz it did gave me some more exquisite upscaled result on some areas full of dense and small details (like lots of fallen leaves on the ground) than simple lanczos4resize, just the artifacts are too bad, and are you interested in writing a detail enhancing filter using the same sr technology instead of this upscale filter, that could be a lot more useful
|
28th January 2014, 14:50 | #20 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
I did another test
original lanczos4resize (1440,960) sr eedi3 (dh=true,sclip=nnedi3 (dh=true)).turnleft ().eedi3 (dh=true,sclip=nnedi3 (dh=true)).turnright () edi_resize16 (1440,960) sr gives me slightly better result on boxed area EDIT: added more tests Last edited by feisty2; 28th January 2014 at 15:05. |
Thread Tools | Search this Thread |
Display Modes | |
|
|