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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th September 2010, 09:59   #1  |  Link
albesp77
Registered User
 
Join Date: Sep 2004
Posts: 27
Search for alternative of some MSU Filters

Dear All,
i want to know if there are some valid alternatives for using with AviSynth, possible with having good results, to those commercial MSU Filter:

http://compression.ru/video/frame_ra...x_en_frcn.html - Advanced Frame Rate Converter (AFRC)
http://compression.ru/video/old_film.../index_en.html - VirtualDub MSU Old Film Restoration
http://compression.ru/video/super_re...lution_en.html - MSU Super-Resolution Filter
http://compression.ru/video/super_re...cision_en.html - MSU Super-Precision Filter
http://www.compression.ru/video/deshaker/index_en.html - VirtualDub MSU Deshaker filter
http://www.compression.ru/video/grai.../index_en.html - Grain-Degrain Project
http://www.compression.ru/video/resa.../index_en.html - High quality image and video resampling

And another one for Deblocking, please.

Thanks to all peoples that reply to my question

Best Regards
albesp77 is offline   Reply With Quote
Old 27th September 2010, 10:26   #2  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
You can use the Filters (which are very good indeed) inside Avisynth via LoadVirtualDubPlugin ("filename", "filtername", preroll)

http://avisynth.org/mediawiki/Plugins

Keep in mind, that they do require a certain colorspace, which is most often NOT YV12

I do not know any substitutes to this filters, since they are very developed.

You can try those:
http://avisynth.org.ru/depan/depan.html [DESHAKE]
http://www.removegrain.de.tf/ [GRAIN REMOVAL]
http://avisynth.org.ru/docs/english/...s/addgrain.htm [GRAIN ADDITION]
http://forum.doom9.org/showthread.php?t=144271 [OLD FILM RESTORATION]
http://avisynth.org/mediawiki/FPS [FRAMERATE CONVERSION]
http://avisynth.org/mediawiki/LSFmod [LIMITED SHARPENING / SUPERSAMPLING / UPSAMPLING]

Last edited by Hagbard23; 27th September 2010 at 10:42.
Hagbard23 is offline   Reply With Quote
Old 27th September 2010, 11:05   #3  |  Link
Vitaliy Gorbatenko
viterra
 
Join Date: Feb 2003
Location: St. Peterburg, Russia
Posts: 142
http://avisynth.org/mediawiki/External_filters

MSU Super-Precision Filter look's like frfun + GradFun2DBmod
High quality image and video resampling http://forum.doom9.org/showthread.php?t=147695
Deblocking - http://avisynth.org/mediawiki/Deblock_QED
Vitaliy Gorbatenko is offline   Reply With Quote
Old 27th September 2010, 12:01   #4  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
I was actually going to post a similar thread about this topic. I was wondering how I go about using the MSU Smart Sharpen filter inside an avs script using the sharpen borders only preset...thx
WILLIS is offline   Reply With Quote
Old 27th September 2010, 16:06   #5  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
Any Super Resolution Filter (No upscaling just improvements of the Details and NR based on adjacent frames)?
royia is offline   Reply With Quote
Old 28th September 2010, 09:05   #6  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
Quote:
Any Super Resolution Filter (No upscaling just improvements of the Details and NR based on adjacent frames)?
I think those are worth a try...

Hagbard23 is offline   Reply With Quote
Old 28th September 2010, 09:43   #7  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
They are not "SuperResolution" filters.
SuperResolution filters use Deconvolution process.

It's not Sharpening, it's Restoration.
royia is offline   Reply With Quote
Old 28th September 2010, 10:05   #8  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Quote:
Sweet dreams are made of this, ...
Read me! (once, twice, and if necessary, thrice.)


What is possible: >Such<, for example. (Basic filter kit, not optimized.)
Whether you can get there with MSU filters, I'm not so sure ... with Avisynth, you can anyway.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)

Last edited by Didée; 28th September 2010 at 10:09.
Didée is offline   Reply With Quote
Old 28th September 2010, 10:41   #9  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
Quote:
Read me! (once, twice, and if necessary, thrice.)
Fully agree - thanks for that -cool- statement...

Quote:
They are not "SuperResolution" filters.
SuperResolution filters use Deconvolution process.

It's not Sharpening, it's Restoration.
Go and spend some thousand dollars for senseless terms like "Super Resolution" - and you know what? You are still better off with the three free filters i mentioned (at least most of the time)
Hagbard23 is offline   Reply With Quote
Old 28th September 2010, 13:12   #10  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
Quote:
Originally Posted by Hagbard23 View Post
Fully agree - thanks for that -cool- statement...

Go and spend some thousand dollars for senseless terms like "Super Resolution" - and you know what? You are still better off with the three free filters i mentioned (at least most of the time)
Sharpeners can only enhance the details which exists.
Super Resolution can restore details.
Those are 2 completely different operations.

I don't know about the Plug In's the OP mentioned for VirtualDub (Whether they are real and good Super Resolution Algorithms) I was just wondering if anyone developed one for AviSynth.

Didee, I read your post.
I don't agree with you.
Let's say I have one Blurred Frame.
Using Deconvolution I can restore Blurred details to some level.
This is Ill Poised problem, When of the toughest in Image Processing world yet it can be done to some extent.
And that's using one frame only and it's completely different from Sharpening.

As far as I know, SuperResolution just get more data for the "Deconvolution" process using adjacent frames.
Hence it should help restore "Blurred Details".

I don't know about the implementation in the Plug In the OP linked to. The above implementation might not use the Deconvolution process or doesn't do it well and hence you can't see improvements in the "Blurred Details".

I must say my knowledge is based on a Project I did about Deconvolution of Out of Focus Still Images.

Anyhow, if the user reports say they didn't notice "Blurred Details" improvement, I agree with your implication, no need to use it.
royia is offline   Reply With Quote
Old 28th September 2010, 13:33   #11  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
So you mean, your "Super Resolution" "Deconvolution" Blah Blah, can make something visible, which doesn't exist anymore? ...I don't believe in that..but i will try it out, as soon as a good plugin goes my way...
Hagbard23 is offline   Reply With Quote
Old 28th September 2010, 13:36   #12  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
A sharpen filter is a deconvolution filter. Even Avisynth's simple "sharpen(x)" does deconvolution.

No need to get lengthy again - here's my opinion on the matter of (blind) deconvolution.


Sure, there are plenty of "whitepapers". There even are whitepapers about constructing a perpetuum mobile.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 28th September 2010, 14:57   #13  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
I see Didee.
I meant a Deconvolution after estimating the PSF.
I don't think that what's Avisynth does, Doesn't it?

If you make a good estimation of the PSF it works well in real life, not only on White Papers.
It can't do magic, Yet easily recover details no other Sharpening filter can.

Anyhow, I'll take your word on this.
I guess there aren't decent Super Resolution Filters for VirtualDUB / AviSynth.

Thanks.
royia is offline   Reply With Quote
Old 28th September 2010, 20:13   #14  |  Link
zee944
Registered User
 
Join Date: Apr 2007
Posts: 240
Quote:
Originally Posted by royia View Post
It can't do magic, Yet easily recover details no other Sharpening filter can.
If you're so sure about the superresolution effect, could you show us a few good examples you've achieved with MSU Superresolution?
zee944 is offline   Reply With Quote
Old 28th September 2010, 20:32   #15  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
Quote:
Originally Posted by zee944 View Post
If you're so sure about the superresolution effect, could you show us a few good examples you've achieved with MSU Superresolution?
Did you read my messages?
Never used it.

I have no experience with Super Resolution.
My Latest Project on University was about Out Of Focus Image Restoration (Stills Images). I just said that if you estimate the PSF (The Blurring Function) well you get a great results from Deconvolution.
It's not easy, yet it restores details no Sharpener can.

Theoretically Super Resolution should yield better results since you have not only one frame but more. If you utilize that into a good Deconvolution Algorithm you should get great results on details that were blurred.

I don't know about the Plug In's the OP wrote.
Yet if Didee rights about the impressions he has, I guess the Super Resolution Algorithm implemented there can't get what theoretically it might.

Anyhow, one day maybe someone will make such Plug In.
royia is offline   Reply With Quote
Old 28th September 2010, 20:59   #16  |  Link
zee944
Registered User
 
Join Date: Apr 2007
Posts: 240
Quote:
Originally Posted by royia View Post
Did you read my messages?
Never used it.
Mmm, sorry, I thought you've written the original post too.
zee944 is offline   Reply With Quote
Old 29th September 2010, 07:52   #17  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
"Deconvolute" THIS:

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

That should show what our opinion here is. If you have a video without details, which is so far out "flat" you can't do anything - even with your super-hyper-mega-scientific "Super-Resolution" Filter. It is just impossible to restore something, that is not there anymore. Maybe you get to the point, that you can restore some single pixels, but you have to invest hours and hours for the calculation - and if i understood it right, you have to do a new calculation for every new video source.

I a time of HD_content present all over the place, noone sees the sense of spending so much energy for calculating things, you can get easily -without work- if you choose the right source. And if you have video, which -for some reason- is not available in HD (old b/w films for example) you will not get any gain in details, because of the noise all over the place - and so it is not worth the time. The best, you can achieve with those sources is to amplify noise.

It's not, that we don't respect the whitepapers, which -in theory- are making sense. It is, that we don't see efficiency and practicability. Its not, that you write such a plugin in some hours or days. You really have to invest time and work - for -lets say- nearly nothing.

Sorry, if my statement was some little unkind. It was not meant personally...
Hagbard23 is offline   Reply With Quote
Old 29th September 2010, 13:40   #18  |  Link
royia
Drazick
 
Join Date: May 2003
Location: Israel
Posts: 139
Hello.
No Problems.

I have no Video Experience.
As I wrote it can be done for Still Frames.
I'm not talking about restoring an image which was blurred by something equivalent of Gaussian Blur with STD of 10.
There is no come back from there.

My algorithm worked well for things equivalent of GB with STD about 3 and below.
That's something.

All I said that in Video you have more data.
If you use it well you can better result that I got.
Moreover, I'm sure there are out there people with much more experience than I have about Image Restoration.
So even better results are achievavle.

You're right about speed.
My algorithm takes about 3 sec per channel per frame (I worked on Grayscale Images of size 800x800).
It's not meant for HD that's for sure.

I just there's something decent to make a 720x576 Video look good even though it was captured by a 270,000 Pixels CCD.
royia is offline   Reply With Quote
Old 17th January 2017, 16:42   #19  |  Link
JClement
Registered User
 
Join Date: Oct 2010
Posts: 27
Alternative to frame rate converter FRC

Go to the Smooth Video Project (SVP)
https://www.svp-team.com/wiki/Main_Page

They have free AviSynth plugins that do, to my eyes, a perfect job of frame rate conversion. Neither of the free MSU FRC plugins do anywhere near as good a job. I used SVP to double the frame rate of a 16fps 8mm film to 32 and set the final frame rate down to 30. I have not tried other ratios, but it can be set to any input/output ratio you want. Doubling the frame rate with it was much faster than the MSU plugin. The older free MSU left horrible artifacts with tall thin objects broken into horizontally displaced blocks during pans. The newer demo cut off the tops of some tall thin objects on alternate frames. SVP just looks perfect either when run up to speed or single stepped.

The SVP plugin pack includes Apple, Windows, an Linux plugins, so you have your choice. Here is a sample AVS script. I commented out the parts that didn't work.
--------------------------------
SetMemoryMax(1024)
source = AVISource("C:\folder...\file.avi").ConvertToYV12()
source
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\svpflow2.dll")

threads=9
#SetMTMode(3,threads)
# Some input here
#SetMTMode(2)

# All parameters set to defaults which means high quality frame doubling
super=SVSuper("{gpu:1}")
vectors=SVAnalyse(super, "{}")
SVSmoothFps(super, vectors, "{}",mt=1)
-----------------------------------
The parameter for rate change is:
Rate:{Num=2, Den=1, abs=false}
These are the numberator, denominator, and abs=true means absolute frame rate rather than a multiplier of the original rate.
JClement is offline   Reply With Quote
Old 17th January 2017, 17:01   #20  |  Link
JClement
Registered User
 
Join Date: Oct 2010
Posts: 27
Good deshaker

A VirtualDub filter Deshake does a good job.
http://www.guthspot.se/video/deshaker.htm
It is not free, but the cost is very reasonable. While the AvisSynth filter may work as well, the ability to preview and easily change parameters is valuable.

Many video editors such as Magix Movie Edit Pro also have deshakers, but with limited options. The MEP deshaker gives greater stability when adjusted well, but can't retain the original full frame size. Deshake can retain the original full frame by using earlier and later frames. However this has problems with moving objects at frame edges and progressive shifts in brightness. The large number of options can seem daunting, but with a bit of playing it can produce excellent results. However you can not use it with other filters that use more than one frame at a time such as Temporal smoother.
JClement is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.