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

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th June 2011, 08:56   #401  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,373
I really like how nnedi3 evolved. I compared it to eedi3 which I once had it as the ultimate solution for strong AA and surprised myself on how nnedi3 outperformed it, which says a lot. Anyhow I observed that under occasional circumstances eedi3 was doing better. Maybe it is just due to the nature of the filter itself, but wanted to take it noted.

source(x2) eedi3 nnedi3


__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 26th July 2011, 23:58   #402  |  Link
hamsterstyle
Registered User
 
Join Date: Feb 2009
Posts: 11
What advantage is there running NNEDI3 as a de-interlacer rather than tdeint()? What kind of math does it do differently? Does it still make decisions about where the combed areas are by using a motion mask? Or is it purely spatial?

Also,

Is there an advantage to running say:
Yadifmod(Edeint=nnedi3()) or Tdeint(edeint=nnedi3()) as opposed to just running nnedi3 by itself?
hamsterstyle is offline   Reply With Quote
Old 27th July 2011, 00:08   #403  |  Link
SSH4
Registered User
 
Join Date: Nov 2006
Posts: 90
Dogway i played with nnedi/eedi too. replace nnedi to eedi on daa(). and result made me happy too on some anime source. nnedi3(pscrn=0) made shrper result (on daa()) but eedi on it made more correct result.
so both plugins are really usefull
SSH4 is offline   Reply With Quote
Old 17th February 2012, 01:28   #404  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
So, as of v0.9.4 the default etype is better for image enlargements and for deinterlacing we should switch to etype=1, right?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 21st February 2012, 08:39   #405  |  Link
huhuyaya
huhuyaya
 
Join Date: Jun 2008
Posts: 3
if can be used to downsize~
just like:LoadPlugin("nnedi3.dll")
nnedi3_rpow2(rfactor=-2,cshift="spline36resize")
that will be great
huhuyaya is offline   Reply With Quote
Old 21st February 2012, 10:42   #406  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
There's no reason to use something as hefty as an (artificial) neural network ("NN"EDI) interpolator for something that's easily handled by something like Bilinear and Lanczos.

And thing is, NNEDI, if memory serves, is indeed "Neural-Network Edge-Directed Interpolator"
With interpolation needed for upscaling, since we need new data to fill the gaps.

With downscaling, we already have all the data we need.
So yeah, use Lanczos/Spline, or hell - BilinearResize(x,y) for that.
Bloax is offline   Reply With Quote
Old 26th February 2012, 21:35   #407  |  Link
Portioli
Continuous Beta Tester
 
Join Date: May 2011
Location: Greece
Posts: 54
hello

i would like to do some kind of supersampling (1080p --> 4K) using needi3,
then Sharpen the image using LimitedSharpenFaster
and then downsampling back to 1080p using lanczos or spline64resize.

could you please help me write the avisynth script?
Portioli is offline   Reply With Quote
Old 26th February 2012, 21:49   #408  |  Link
PhrostByte
Grand Fruitioner
 
PhrostByte's Avatar
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 115
Quote:
Originally Posted by Portioli View Post
hello

i would like to do some kind of supersampling (1080p --> 4K) using needi3,
then Sharpen the image using LimitedSharpenFaster
and then downsampling back to 1080p using lanczos or spline64resize.

could you please help me write the avisynth script?
LSF already super-samples the clip internally, so this won't be as brilliant as you hoped.
__________________
Lanczos4, Spline36, what!? Don't know how to pick a resizer? Take a look at my kernel visualizations.
Want a high-quality, gamma-aware resizer? Check out my ResampleHQ filter.
PhrostByte is offline   Reply With Quote
Old 27th February 2012, 10:34   #409  |  Link
SubPixie
Registered User
 
Join Date: Jul 2011
Posts: 10
I'd be curious to see if it looks good anyway, don't hesitate to post your findings Portioli
SubPixie is offline   Reply With Quote
Old 16th March 2012, 01:53   #410  |  Link
Pulp Catalyst
Registered User
 
Join Date: May 2006
Posts: 297
just a quick confirmation,

Startrek DS9 (really weird deintelacing, many here probably already know that a lot of 90's scifi programs are difficult to handle)

anyway, for this particular source is there any better combination than

"Yadifmod+NNEDI3"

for the record "QTGMC always crashes Xvid and x264 when using with Staxrip and MeGUI"

i'm just after confirmation if yadifmod+nnedi3 is as good as it get or near as, any feed back i would really appreciate it.

EDIT

DVD to Xvid/x264 (no resizeing, only cropping....MAX quality takes priority, but there is still an upper limit on file size i won't go over)

Last edited by Pulp Catalyst; 16th March 2012 at 01:56. Reason: added task at hand.
Pulp Catalyst is offline   Reply With Quote
Old 16th March 2012, 02:02   #411  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 442
Have you seen the MEECH DS9 releases? He encoded all seasons at max quality.

If you still want to do it yourself, I recommend QTGMC. I know you said it crashes but I use it with MeGUI all the time with no crashes.
SubJunk is offline   Reply With Quote
Old 16th March 2012, 03:00   #412  |  Link
Pulp Catalyst
Registered User
 
Join Date: May 2006
Posts: 297
when you look at each episode, the part where the defiant is just about to vanish in the background (intro credits), you will see some savere interlace problems (most deinterlacers have trouble with this section because it's so small), i have tried many..... sources shall we say... and all suffer the same issue.

I have just installed Xvid4PSP, has QTGMC built in, seems to work flawlessly with this program..... go figure.

seeing what it can do now, just running quick test and will compare with yadifmod+nnedi3

downside to Xvid4PSP though is having to put in

SetMemoryMax(512)
SetMTMode(5,3)
......
SetMTMode(2)
......
......


on every episode, i have asked in forum, there is no way around it...... the template system is very good and mature in development in Xvid4PSP, however not so good when wanting to insert certain lines of code permanently on all future projects (like doing DVD episodes)

if i recall, i also believe that i found it very hard to get 100% cpu usage when doing Xvid encoding to which was annoying, a symptom that Staxrip and MeGUI did not have with the above additions to the avisynth script.

i did try for sometime to findout why QTGMC crashed in MeGUI and Staxrip (although it was the encoder that crashed in MeGUI, however in Staxrip, it was the program itself that stopped responding), tricky to work out, encoder crashed in one, but application crashed in the other????

gave up in the end however....... i put the problem on the backburner (meaning will deal with the issue once and for all when i do my next round of PC tower upgrade cycle), what tests i did do however i realized quite quickly that my tripple core could not be used on large scale jobs with QTGMC.... just not realistic when talking about 24 x 7 episodes LOL

Last edited by Pulp Catalyst; 16th March 2012 at 03:08.
Pulp Catalyst is offline   Reply With Quote
Old 5th April 2012, 15:43   #413  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
I have some homemade footage that shows artifacting on the right side of the frame, which I am trying to antialias away. The filterchain is as follows:

Code:
SetMemoryMax(900)

SetMTMode(5,4)

MPEG2Source("X:\wherever")

SetMTMode(2)

a=last

b=a.Crop(704,0,16,576,align=true).nnedi3_rpow2(rfactor=2,nsize=3,nns=4,qual=2,pscrn=4,cshift="spline36resize").nnedi3_rpow2

(rfactor=2,nsize=3,nns=4,qual=2,pscrn=4,cshift="spline36resize").Spline36Resize(16,576)

Overlay(a,b,704)

rest of the filtering

Distributor()
I am getting a crash that VDubMod attributes to an out-of-bounds error that might be originated in nnedi3. How can I modify this to be able to encode?


[edit] I just noticed that I was doing this previous to bobbing. However, that was not enough: in addition to placing it after bobbing, I had to sandwich the nnedi3 line(s) between turnright() and turnleft().
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.

Last edited by Chainmax; 7th April 2012 at 16:38. Reason: more data
Chainmax is offline   Reply With Quote
Old 3rd June 2012, 05:59   #414  |  Link
plonk420
amd & h.264 fanboy
 
plonk420's Avatar
 
Join Date: Jun 2002
Location: NTSC
Posts: 420
is there a way i can NNEDI3 + EEDI2/3 while keeping 60fps? (e.g. nnedi3's field = -2)

i tried EEDI3(field = -2, sclip=nnedi3(field = -2)), (as well as 2) but it has the "poorly deinterlaced video bounce"

edit: and can this be done with just built in filters?

Last edited by plonk420; 3rd June 2012 at 06:12.
plonk420 is offline   Reply With Quote
Old 27th July 2012, 00:26   #415  |  Link
NicolasRobidoux
Nicolas Robidoux
 
NicolasRobidoux's Avatar
 
Join Date: Mar 2011
Location: Montreal Canada
Posts: 269
quick and dirty comparison with state of the art ImageMagick filters

http://www.imagemagick.org/discourse...tart=15#p88094 (NNEDI3) VS http://www.imagemagick.org/discourse...tart=15#p88102 (Elliptical Weighted Averaging with slightly sharpened Jinc-windowed Jinc 3 with sigmoidal halo minimization).
P.S. I should have written "experimental" instead of "state of the art": "sigmoidization" as a halo minimization method with negative lobe filters is just over 2 weeks old.
P.S.2 Better sigmoidal result: http://www.imagemagick.org/discourse...p=88156#p88155

Last edited by NicolasRobidoux; 27th July 2012 at 17:29. Reason: better link
NicolasRobidoux is offline   Reply With Quote
Old 27th July 2012, 08:21   #416  |  Link
wOxxOm
Oz of the zOo
 
Join Date: May 2005
Posts: 208
second picture has more aliasing and blur with just a few better scaled small spots.
wOxxOm is offline   Reply With Quote
Old 5th August 2012, 21:04   #417  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 264
Hey tritical, you seem to be the go-to guy for EDI solutions in AviSYnth... Have you ever considered doing an implementation of "Fast EDI-1.5"?
http://www.eie.polyu.edu.hk/~wcsiu/p...1569292991.pdf

The paper talks about it being both faster and more accurate for uscaling images by a factor of 1.5x (e.g. for going from 480p to 720p) than the traditional approach of using NEDI to go up to 2x, and then downsizing by 3/4. Could be a useful addition to the AviSynth upscaling armoury...?

Last edited by pbristow; 5th August 2012 at 21:07.
pbristow is offline   Reply With Quote
Old 10th September 2012, 08:41   #418  |  Link
active1
Registered User
 
Join Date: Nov 2011
Location: spain
Posts: 45
is the nnedi3 resizer better than ResampleHQ?

Last edited by active1; 10th September 2012 at 09:00.
active1 is offline   Reply With Quote
Old 10th September 2012, 10:06   #419  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 264
Quote:
Originally Posted by active1 View Post
is the nnedi3 resizer better than ResampleHQ?
In some ways yes, in some ways no... They're each tackling completely different problems with the resizing process: NNEDI fills in missing *detail* (sort of) to prevent staircase artefacts and broken lines, while Resample HQ works around the side-effects of non-linear sampling of the colour values of pixels. Which one you would chose to use depends on which is the bigger problem in the case you're dealing with.

Ideally we would have NNEDI-ised version of Resample HQ, (or to put it another way, a gamma-aware version of NNEDI3) to combine the benefits of both...
pbristow is offline   Reply With Quote
Old 10th September 2012, 10:46   #420  |  Link
active1
Registered User
 
Join Date: Nov 2011
Location: spain
Posts: 45
Quote:
Originally Posted by pbristow View Post
In some ways yes, in some ways no... They're each tackling completely different problems with the resizing process: NNEDI fills in missing *detail* (sort of) to prevent staircase artefacts and broken lines, while Resample HQ works around the side-effects of non-linear sampling of the colour values of pixels. Which one you would chose to use depends on which is the bigger problem in the case you're dealing with.
thanx, but can you please explain what kinds of images that i should use NNEDI3 or ResampleHQ with?
for example, if i had a linear image and i want to resize it with gamma-correction then i should choose ResampleHQ, right? if it is, what about NNEDI3?

Quote:
Originally Posted by pbristow View Post
Ideally we would have NNEDI-ised version of Resample HQ, (or to put it another way, a gamma-aware version of NNEDI3) to combine the benefits of both...
that would be great
active1 is offline   Reply With Quote
Reply

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 03:34.


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