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 19th July 2020, 09:17   #561  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 1,036
@real.finder can you have a look at nnedi3_resize16()? I had stability issues when used on YUV444P16 format as opposed to stacked.
Dogway is offline   Reply With Quote
Old 19th July 2020, 09:44   #562  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
Quote:
Originally Posted by Dogway View Post
@real.finder can you have a look at nnedi3_resize16()? I had stability issues when used on YUV444P16 format as opposed to stacked.
they are not a same I note this before https://forum.doom9.org/showthread.p...63#post1903763
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 19th July 2020, 10:17   #563  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 1,036
It's not quality issues but performance/stability, maybe an avisynth bug, just updated AVS+ and plugins to latest yesterday.


By the way I fixed a stability issue in "Stabilization Tools Pack", do you want me to PR it?

Code:
UVfix ? eval("""
clpDith=Dither_convert_8_to_16()

ScriptClip ("
blue=round((AverageChromaU(clp) - AverageChromaU()) * 256.0)
red=round((AverageChromaV(clp) - AverageChromaV()) * 256.0)

SmoothTweak16(clpDith,saturation=1.0,hue1=min(384,blue),hue2=min(384,red),HQ=true)
DitherPost(stacked=true,prot=false,mode=6)
", args="clp,clpDith" )
""") : last
It would be wise to convert this to internal avisynth but I couldn't find a U and V axis based HUE function, read on Tweak or ColorYUV. (I think I can swap planes as a dirty trick tho)

Last edited by Dogway; 19th July 2020 at 10:20.
Dogway is offline   Reply With Quote
Old 19th July 2020, 10:27   #564  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
Quote:
Originally Posted by Dogway View Post
It's not quality issues but performance/stability, maybe an avisynth bug, just updated AVS+ and plugins to latest yesterday.


By the way I fixed a stability issue in "Stabilization Tools Pack", do you want me to PR it?

Code:
UVfix ? eval("""
clpDith=Dither_convert_8_to_16()

ScriptClip ("
blue=round((AverageChromaU(clp) - AverageChromaU()) * 256.0)
red=round((AverageChromaV(clp) - AverageChromaV()) * 256.0)

SmoothTweak16(clpDith,saturation=1.0,hue1=min(384,blue),hue2=min(384,red),HQ=true)
DitherPost(stacked=true,prot=false,mode=6)
", args="clp,clpDith" )
""") : last
It would be wise to convert this to internal avisynth but I couldn't find a U and V axis based HUE function, read on Tweak or ColorYUV. (I think I can swap planes as a dirty trick tho)
I didn't get what "PR it" mean

I think UV bug fixed in some update of depan plugin

and indeed HBD is slower than lsb (not nlsb) in case of nnedi3_resize16, since lsb use 8bit for nnedi3 (it will be 16bit if you set nlsb to true), also some new script functions (like I said in case of slimit_dif vs Dither_limit_dif16 in the old link) not as fast as the old dither functions (I think it used asm optimization)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 19th July 2020, 10:51   #565  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 1,036
PullRequest over Github. I don't know if Depan is fixed, should run a test but I'm just finishing a project, also need to run a test to see if current internal Resizers are as fast as the ResizersMT from avsresizers by jpsdr. It's been some time since I last checked.
Dogway is offline   Reply With Quote
Old 19th July 2020, 10:59   #566  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
Quote:
Originally Posted by Dogway View Post
PullRequest over Github. I don't know if Depan is fixed, should run a test but I'm just finishing a project, also need to run a test to see if current internal Resizers are as fast as the ResizersMT from avsresizers by jpsdr. It's been some time since I last checked.
then sure, why not? if you note I keep it in the edit I made in Stabilization Tools Pack in Stab3 but made it false by default (in case some one need it if using old things for debug or whatever)

internal Resizers should be faster than the ResizersMT when using external MT (prefetch in avs+) and no internal MT (set the Threads to 1 in ResizersMT)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 25th July 2020, 04:58   #567  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
since there are no answer to this https://forum.doom9.org/showthread.p...40#post1915440

I plan to make some trick with something like how QTGMC_GetUserGlobal work, mean if the user set some global thing like set_plugins_threads it will be used in all scripts for internal multi-threading

I will not start work on this as soon as possible, maybe it will done in some days or weeks
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 1st August 2020, 08:44   #568  |  Link
LeXXuz
17 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 282
real.finder I've been playing around with motion compensated dfttest a little.

I've noticed camera pans in a noisy movie look more blury and noisy with increased tbsize.

I always thought increasing temporal resolution would benefit motion compensated noise reduction, especially in pans. Or do I misunderstand this?

I did two encodes with identical settings. One with tbsize=3 and one with tbsize=7. The latter gets bigger in file size and looks less clean on moving objects
LeXXuz is offline   Reply With Quote
Old 1st August 2020, 16:53   #569  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
Quote:
Originally Posted by LeXXuz View Post
real.finder I've been playing around with motion compensated dfttest a little.

I've noticed camera pans in a noisy movie look more blury and noisy with increased tbsize.

I always thought increasing temporal resolution would benefit motion compensated noise reduction, especially in pans. Or do I misunderstand this?

I did two encodes with identical settings. One with tbsize=3 and one with tbsize=7. The latter gets bigger in file size and looks less clean on moving objects
didn't you note this in the script itself?
Code:
# tbsize should not be set higher than mc * 2 + 1.
and it's better set the mc not the tbsize in dfttestMC since by default tbsize will change itself to mc * 2 + 1
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 1st August 2020, 17:21   #570  |  Link
LeXXuz
17 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 282
Quote:
Originally Posted by real.finder View Post
didn't you note this in the script itself?
Code:
# tbsize should not be set higher than mc * 2 + 1.
and it's better set the mc not the tbsize in dfttestMC since by default tbsize will change itself to mc * 2 + 1
Whoops. I didn't notice that, no. Thanks for the explanation. Any recommendet values for mc for very noisy/little noisy sources?
LeXXuz is offline   Reply With Quote
Old 1st August 2020, 22:42   #571  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,777
Quote:
Originally Posted by LeXXuz View Post
Whoops. I didn't notice that, no. Thanks for the explanation. Any recommendet values for mc for very noisy/little noisy sources?
for very noisy you may want to use mc=5, anyway trying and testing is the best thing
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Tags
avisynth, avs script, avs+, banding, generator, hbd, mod

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 11:11.


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