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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st March 2011, 04:16   #21  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
8:13, I'm not sure this is the right thread to use to post your scripts because you have different goals to me and your scripts are different.
If you could create your own thread instead that would be good
SubJunk is offline   Reply With Quote
Old 21st March 2011, 04:28   #22  |  Link
Jeremy Duncan
Didée Fan
 
Jeremy Duncan's Avatar
 
Join Date: Feb 2006
Location: Canada
Posts: 1,079
Ok, no problem. I deleted my reply and will start my own thread in the avisynth Usage forum.
__________________
When I get tired during work with dvd stuff i think of River Tamm (Summer Glau's character). And the beauty that is Serenity.
Jeremy Duncan is offline   Reply With Quote
Old 21st March 2011, 05:05   #23  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
Great, thanks! BTW I'm a Firefly fan, too
SubJunk is offline   Reply With Quote
Old 21st March 2011, 05:53   #24  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 949
SubJunk, I also made my own function based on that same webpage, and some Didée's posts, with lots of tweaking and test and error. DoubleFPS: It performs sometimes better than yours, sometimes worse, have a try for comparison (signature), it might be a help.
Dogway is offline   Reply With Quote
Old 21st March 2011, 06:29   #25  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
Quote:
Originally Posted by Dogway View Post
SubJunk, I also made my own function based on that same webpage, and some Didée's posts, with lots of tweaking and test and error. DoubleFPS: It performs sometimes better than yours, sometimes worse, have a try for comparison (signature), it might be a help.
Ah very nice, I didn't know about it. I'll check it out for sure and probably borrow some things Thanks!
SubJunk is offline   Reply With Quote
Old 22nd March 2011, 03:49   #26  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
I just updated to 1.1 and changed the sample videos accordingly.

The changes in 1.1 from 1.0.2 are:
- Renamed Quality preset to Medium (default)
- Renamed Speed preset to Fast
- Increased quality of Medium (default) preset
- Added Placebo preset (little quality gain with big performance hit, not recommended)
- RemoveGrain is now required for Medium (default) preset
- EEDI2 is required for Placebo preset

I also updated the first post to give a more detailed description.

Last edited by SubJunk; 22nd March 2011 at 05:19.
SubJunk is offline   Reply With Quote
Old 22nd March 2011, 12:20   #27  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,390
Quote:
Code:
Preset != "Fast" ? Eval("""
		DeGrainedSource = Input.RemoveGrain()
Not good. What if a user wants to use "medium" or "placebo", but does not want RemoveGrain( [mode=2] ) to remove the end points of thin lines, to kill the highlights in people's eyes, etc.?



Quote:
Code:
Preset == "Placebo" ? Eval("""
            CustomPelClip = EEDI2(Input, field=1).Spline36Resize(2*width(Input), 2*height(Input), src_left=0.25)
[edit: my statement below was incorrect.]
Not good. src_left=0.25 is wrong, you are causing a registration error. What you need there is src_top=-0.5.
[/edit]


Though, I'd rather suggest to use NNED3_rpow2. EEDI2 often does look artificial on natural sources. Moreover, NNEDI3 is also faster on MultiCore CPUs.
__________________
- 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; 22nd March 2011 at 14:54.
Didée is offline   Reply With Quote
Old 22nd March 2011, 13:32   #28  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,373
Quote:
Originally Posted by Didée View Post
Not good. src_left=0.25 is wrong, you are causing a registration error. What you need there is src_top=-0.5.
No, I believe SubJunk is correct, since the pelclip must have original pixels aligned at the top left. The required vertical alignment is produced by EEDI2, and an offset of 0.25 is required for the horizontal resizing of Spline36Resize.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 22nd March 2011, 14:51   #29  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,390
Ayyy!

Yes, you're right. I didn't think of the shifted alignment that MVTools is using.
__________________
- 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 22nd March 2011, 18:03   #30  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Quote:
Originally Posted by SubJunk View Post
I had a look at similar things and the word Script seems to work well, I changed it to that.
If it is not a plugin (or core), then this thread is more appropriate to "Avisynth Usage" subforum.


Here is my very fast frame doubling script

source=last
super=source.msuper(pel=1)
vec=manalyse(super,isb=true)
interleave(source, source.mFlow(super,vec, time=50))
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 22nd March 2011, 21:32   #31  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
Quote:
Originally Posted by Didée View Post
Not good. What if a user wants to use "medium" or "placebo", but does not want RemoveGrain( [mode=2] ) to remove the end points of thin lines, to kill the highlights in people's eyes, etc.?
That line is only used for motion analysis; the final video retains the grain

Quote:
Originally Posted by Didée View Post
Though, I'd rather suggest to use NNED3_rpow2. EEDI2 often does look artificial on natural sources. Moreover, NNEDI3 is also faster on MultiCore CPUs.
I had tested NNEDI3 with and without ABS and found EEDI2 produces the best results. Not to the human eye, but for MVTools; remember we are only passing the EEDI2 clip to MVTools as a pelclip which is used to make predictions, it is still mostly using the detail from the main clip in the output

Quote:
Originally Posted by Fizick View Post
If it is not a plugin (or core), then this thread is more appropriate to "Avisynth Usage" subforum.
OK, I'll make a new thread there and redirect from here to there
P.S. Welcome to the thread, Fizick! My hero

Quote:
Originally Posted by Fizick View Post
Here is my very fast frame doubling script

source=last
super=source.msuper(pel=1)
vec=manalyse(super,isb=true)
interleave(source, source.mFlow(super,vec, time=50))
I guess there's some error in there because MeGUI gives me "fatal error" when I run it

Last edited by SubJunk; 23rd March 2011 at 06:43. Reason: clarification
SubJunk is offline   Reply With Quote
Old 22nd March 2011, 22:05   #32  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 441
OK the new thread is here so please move any discussion to that one, thanks
SubJunk is offline   Reply With Quote
Reply

Tags
48fps, 60fps, framedoubling, interframe, smooth motion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:05.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.