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 > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th April 2014, 16:23   #25861  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Can somebody tell me what algorithm is used in NNEDI3 upscaling or at least point out where I can read about it? I can't find any useful source.
RBG is offline   Reply With Quote
Old 11th April 2014, 16:33   #25862  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by RBG View Post
Can somebody tell me what algorithm is used in NNEDI3 upscaling or at least point out where I can read about it? I can't find any useful source.
NNEDI3 is the name of the algorithm.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th April 2014, 16:42   #25863  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by nevcairiel View Post
NNEDI3 is the name of the algorithm.
Ok, and where can I read about this algorithm?
RBG is offline   Reply With Quote
Old 11th April 2014, 16:48   #25864  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Do a google search for edge directed interpolation (EDI). tritical implements it with a neural network (NN). Further discussion should be in a new thread or an existing related thread.
Guest is offline   Reply With Quote
Old 11th April 2014, 17:51   #25865  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by huhn View Post
CUVID deint is the same like dxva deint the case you linked me where dxva deint was very bad but CUVID was totally fine
I remember something along the lines of "pixel adaptive deinterlacing" in nvidia's sales pitch...and IIRC when I compared 576i25@50p between YADIF & non-HQ CUVID deinterlacing, the latter looked quite a bit better so HQ might further help.

The whole point for me with CUVID is that it runs on the GPU(using the PureVideo routines so it's not hogging mVR's potential cycles) & it especially doesn't work behind Reclock's back...I can just pop a PAL or NTSC interlaced video DVD in, LAV does the 2X magic, mVR rolls refresh rates automatically et voilą: 50/59.94fps video upscaled via NNEDI, what a fantastic way to give DVD's a second youth

James Cameron said that he would prefer a higher fps rate over a higher resolution and I haven't run any real-world comparison but there's a good chance that I would pick NNEDI'ed 540p59.94/576p50 DVD's over 25/29.97 720p.

Quote:
Originally Posted by neuron2 View Post
Do a google search for edge directed interpolation (EDI). tritical implements it with a neural network (NN). Further discussion should be in a new thread or an existing related thread.
Yeah, even tritical isn't too verbose regarding how NNEDI achieves those impressive results......but this link is kinda clear on what EDI really does and how stunning it looks

Last edited by leeperry; 11th April 2014 at 17:53.
leeperry is offline   Reply With Quote
Old 11th April 2014, 18:51   #25866  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by leeperry View Post
[...]we'll see about that as it's undeniable that my 7850 looks outstanding with mVR [...]
Hear! Hear!

As does mine! Especially so since I can use NNEdi chroma upscaling for most situations on my HD7850.
G_M_C is offline   Reply With Quote
Old 11th April 2014, 19:39   #25867  |  Link
annovif
Registered User
 
Join Date: Apr 2012
Location: Italy
Posts: 41
I've understood that now, nvidia has 20-30% more efficiency with NNEDI than Ati .
annovif is offline   Reply With Quote
Old 11th April 2014, 20:10   #25868  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Another advantage I found of new window mode is it properly detects video when film mode is forced as 2:2.

Would it be possible to detect between 25/29 and 50/59 native fps rather than toggling double framerate deinterlacing? A lot of interlaced footage is only 25/29, there isn't any advantage to outputting this at 50/59 fps is there?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 11th April 2014, 20:28   #25869  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by turbojet View Post
A lot of interlaced footage is only 25/29, there isn't any advantage to outputting this at 50/59 fps is there?
If its interlaced, then it needs to be output at twice its rate (ie one frame for each field), or you lose information.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th April 2014, 21:06   #25870  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
Quote:
Originally Posted by leeperry View Post
I remember something along the lines of "pixel adaptive deinterlacing" in nvidia's sales pitch...and IIRC when I compared 576i25@50p between YADIF & non-HQ CUVID deinterlacing, the latter looked quite a bit better so HQ might further help.

The whole point for me with CUVID is that it runs on the GPU(using the PureVideo routines so it's not hogging mVR's potential cycles) & it especially doesn't work behind Reclock's back...I can just pop a PAL or NTSC interlaced video DVD in, LAV does the 2X magic, mVR rolls refresh rates automatically et voilą: 50/59.94fps video upscaled via NNEDI, what a fantastic way to give DVD's a second youth
The problem with Nvidia hardware acceleration is things like this:

https://esports.geforce.com/forums/topic/527075/geforce-drivers/hardware-acceleration-decoding-issue/1

and

https://esports.geforce.com/forums/topic/616833/geforce-drivers/hardware-acceleration-decoding-issue-new-/
__________________
System specs: Sager NP9150 SE with i7-3630QM 2.40GHz, 16 GB RAM, 64-bit Windows 10 Pro, NVidia GTX 680M/Intel 4000 HD optimus dual GPU system. Video viewed on LG notebook screen and LG 3D passive TV.
Anime Viewer is offline   Reply With Quote
Old 11th April 2014, 21:17   #25871  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Quote:
Originally Posted by turbojet View Post
Another advantage I found of new window mode is it properly detects video when film mode is forced as 2:2.

Would it be possible to detect between 25/29 and 50/59 native fps rather than toggling double framerate deinterlacing? A lot of interlaced footage is only 25/29, there isn't any advantage to outputting this at 50/59 fps is there?
Interlaced footage by its nature is going to be 50/60 fps. If it's PsF (progressively-segmented-frames) then it should be weaved to 25/30 fps instead. nVidia's "video mode" deinterlacing algorithm detects this situation pretty well IME and will apply weaving as appropriate.

AMD's vector adaptive deinterlacer seems to detect this well too. Makes you wonder why so many TVs (even high end ones) seem to have issues detecting 2:2 cadence.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7

Last edited by DragonQ; 11th April 2014 at 21:22.
DragonQ is offline   Reply With Quote
Old 11th April 2014, 21:18   #25872  |  Link
Ceremony
Registered User
 
Join Date: Jan 2014
Posts: 93
@madshi, if you ever get into (h)UMA, just give me a call/pm for testing. I switched to a AMD APU (A10-7850K)
Ceremony is offline   Reply With Quote
Old 11th April 2014, 21:19   #25873  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Anime Viewer View Post
The problem with Nvidia hardware acceleration is things like this:

https://esports.geforce.com/forums/topic/527075/geforce-drivers/hardware-acceleration-decoding-issue/1

and

https://esports.geforce.com/forums/topic/616833/geforce-drivers/hardware-acceleration-decoding-issue-new-/
The first issue is fixed on Maxwell cards, I didn't test the second, but it might as well be.
Its a very rare occurrence really, I've never encountered it in any real video, only weird short sample clips people post here.

If you want to compare, AMDs hardware acceleration is anything but glamorous.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th April 2014, 22:47   #25874  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by nevcairiel View Post
If its interlaced, then it needs to be output at twice its rate (ie one frame for each field), or you lose information.
29 and 59 look identical to me (dithering so not exactly)[/URL].
EDIT: removed video link, it wasn't native 29.

Quote:
Originally Posted by DragonQ View Post
Interlaced footage by its nature is going to be 50/60 fps. If it's PsF (progressively-segmented-frames) then it should be weaved to 25/30 fps instead. nVidia's "video mode" deinterlacing algorithm detects this situation pretty well IME and will apply weaving as appropriate.

AMD's vector adaptive deinterlacer seems to detect this well too. Makes you wonder why so many TVs (even high end ones) seem to have issues detecting 2:2 cadence.
I can only speak for nvidia but yes it does handle it well but madvr is using much more gpu outputting to 59 fps.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0

Last edited by turbojet; 12th April 2014 at 05:22.
turbojet is offline   Reply With Quote
Old 12th April 2014, 00:49   #25875  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by Anime Viewer View Post
The problem with Nvidia hardware acceleration is things like this
This is an issue with hardware acceleration in general. Maybe not those specific samples, but you will be able to find ones which do the same thing on AMD/Intel as well, I'm sure.

But this is extremely rare if you are watching commercial content i.e. Blu-ray discs. I've only seen it happen twice out of probably thousands of discs at this point.
6233638 is offline   Reply With Quote
Old 12th April 2014, 01:00   #25876  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Quote:
Originally Posted by leeperry View Post
The whole point for me with CUVID is that it runs on the GPU(using the PureVideo routines so it's not hogging mVR's potential cycles) & it especially doesn't work behind Reclock's back...I can just pop a PAL or NTSC interlaced video DVD in, LAV does the 2X magic, mVR rolls refresh rates automatically et voilą: 50/59.94fps video upscaled via NNEDI, what a fantastic way to give DVD's a second youth
The deinterlacing is not done entirely by PureVideo, that handles the decoding but not all the computation required for deinterlacing. At least this was true for VP5 and it is probably the same for VP6. Remember the GT520 when VP5 first came out that used lower quality deinterlacing because it didn't have enough shaders for the higher quality deinterlacing?


Quote:
Originally Posted by turbojet View Post
29 and 59 look identical to me (dithering so not exactly) on a 29 fps source.
Screenshots to show the difference or lack thereof between 29 and 59 fps? Try watching a panning shot, someone running, or something with motion.

If you do not trust nevcairiel on this point, this is from 100fps.com interlaced video
"Because of this time intermix (1 frame=time1+time2) it is impossible to:

1) deinterlace a frame
AND 2) keep 25 frames/second
AND 3) keep the full quality (=all information of a picture).
Impossible. You will have to alter at least one of those points. Except, when there was no motion."
Asmodian is offline   Reply With Quote
Old 12th April 2014, 01:08   #25877  |  Link
bombadilio
Registered User
 
Join Date: Mar 2014
Posts: 8
Anyone figure out how to get this to work with 4k video started using SVP and cant figure out the best way to upconvert 4k video to 60 fps
bombadilio is offline   Reply With Quote
Old 12th April 2014, 02:44   #25878  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Quote:
Originally Posted by bombadilio View Post
Anyone figure out how to get this to work with 4k video started using SVP and cant figure out the best way to upconvert 4k video to 60 fps
What to work with 4k video? madVR works with 4k 60 fps video for me.

Quote:
Originally Posted by 6233638 View Post
But this is extremely rare if you are watching commercial content i.e. Blu-ray discs. I've only seen it happen twice out of probably thousands of discs at this point.
It seems like it is usually a problem with broadcast streams more than blu-ray as it is due to errors or other issues with the stream that are unlikely to make it onto a pressed disc.

I think AMD has recently put some effort into making their hardware decoding more resilient and I have been unable to find any recent reports of issues like those but there was this example from 2010.

Of course they have their own odd random issues.
Asmodian is offline   Reply With Quote
Old 12th April 2014, 05:18   #25879  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Asmodian: I'm not talking about playing native 59 fps at 29 or 59, 59 would be optimal and that's what all those samples (except mousse_smooth_big.avi is kind of close, duplicate frames to go from 24 to 50) on 100fps is discussing. I'm talking about native 29 fps played at 59 fps by duplicating every frame. Is there some advantage to it or is it just a waste of gpu and would be better off just playing at 29 fps?

Nevermind the video sample above, it played in wtv as 29 and 59 fps but detects as 3:2 in mpg. I think it's a potplayer issue, resolution is detected wrong too.

Here's a native 29 fps video. Screenshots of a 29 fps frame is bit identical to the 2 59 fps frames.

This could be about a 50% performance gain with the relatively common native 29 fps videos when double rate deinterlacing is enabled. Another large performance gain could be checking 50 and 59 fps for film. It's quite common to see film in 720p59. Just giving madshi some ideas if he hasn't already thought about it. i can provide samples when the time comes.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0

Last edited by turbojet; 12th April 2014 at 05:25.
turbojet is offline   Reply With Quote
Old 12th April 2014, 06:52   #25880  |  Link
StinDaWg
Registered User
 
Join Date: Jan 2014
Posts: 216
I've been messing with the settings trying to get the best setup for 720p->1080p NNEDI3 doubling, and I was noticing something was off but I couldn't pinpoint it until now. No matter what algorithm I use for downscaling, I get aliasing with text if anti-ringing is used. Anything else and text looks great, even Lanczos4 (no AR). Has anyone else noticed this or knows why this happens? I don't see any more ringing with it turned off, so I'm just going to leave it off for now.

Last edited by StinDaWg; 12th April 2014 at 06:59.
StinDaWg is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling


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 17:20.


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