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 23rd October 2019, 16:30   #461  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
link download died, anyone have alternative link?? thanks
kedautinh12 is offline   Reply With Quote
Old 23rd October 2019, 16:52   #462  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
The link on the first page works for me
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 23rd October 2019, 18:14   #463  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Quote:
Originally Posted by ChaosKing View Post
The link on the first page works for me
Oh, now it work for me
kedautinh12 is offline   Reply With Quote
Old 25th March 2020, 11:54   #464  |  Link
foobar2000
Registered User
 
Join Date: Aug 2018
Posts: 25
I have a question, when do we add smoothlevels(), at the end of the script or before tfm or before crop and resize?

I add it or coloryuv at the end of script, hope it's fine.
foobar2000 is offline   Reply With Quote
Old 28th April 2020, 16:26   #465  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
since SmoothAdjust is close source and original SmoothLevels Thread is closed

here a HBD update for the old SmoothLevels (now renamed as oSmoothLevels) https://github.com/realfinder/AVS-St...othLevels.avsi

try it with useGF=false for now
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 1st June 2020, 07:31   #466  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
With debug enabled SmoothCurve gives an Access Violation with Avisynth 3.6.
-> any hope for an update?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 1st June 2020, 11:40   #467  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Can you use with 3.6.1 test 4??
kedautinh12 is offline   Reply With Quote
Old 1st June 2020, 15:14   #468  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
How similar are oSmoothLevels results to Smoothadjust dll ?

[could it be used as source for CPP re-write]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 28th June 2020, 11:18   #469  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by StainlessS View Post
How similar are oSmoothLevels results to Smoothadjust dll ?

[could it be used as source for CPP re-write]
don't know, and didn't try it yet

anyway, I did another update to not use useGF by default in HBD and another changes that almost same as I did for MCTemporalDenoise (use GradFun2DB3 from my edit of GradFun2DBmod in avs26/avs+)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 28th June 2020, 13:55   #470  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Thanks RF.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 7th July 2021, 12:09   #471  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
For planar YUV input sources >8bit (e.g. using convertbits(12)) I am getting weird outputs with SmoothAdjust (SmoothTweak, SmoothLevels). Only the left half of the picture is affected and badly color distorted. The right half remains untouched. Using SmoothAdjust.dll version 3.20. Any explanation what could be wrong?
Sharc is offline   Reply With Quote
Old 7th July 2021, 12:53   #472  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Try use oSmoothLevels of real.finder replace
https://raw.githubusercontent.com/re...othLevels.avsi
kedautinh12 is offline   Reply With Quote
Old 7th July 2021, 14:56   #473  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Yep, oSmoothLevels() works here for higher bitdepths. Thanks.
Is there also an "oSmoothTweak()" available?
Sharc is offline   Reply With Quote
Old 7th July 2021, 15:08   #474  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Try use internal function tweak() replace
http://avisynth.nl/index.php/Tweak
kedautinh12 is offline   Reply With Quote
Old 7th July 2021, 15:19   #475  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
The internal Tweak() is working, yes. It's just the SmoothTweak() which fails for higher bitdepths.
Sharc is offline   Reply With Quote
Old 7th July 2021, 21:11   #476  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
To use SmoothAdjust with 16 bit, just
Code:
vidcurve=SmoothCurve16(ConvertToStacked(vid), HQ=true, interp=100, Ycurve="0-0;15360-30720;65535-65535", Ucurve="0-0;65535-65535", Vcurve="0-0;65535-65535").ConvertFromStacked()
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 8th July 2021, 00:17   #477  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by Sharc View Post
For planar YUV input sources >8bit (e.g. using convertbits(12)) I am getting weird outputs with SmoothAdjust (SmoothTweak, SmoothLevels). Only the left half of the picture is affected and badly color distorted. The right half remains untouched. Using SmoothAdjust.dll version 3.20. Any explanation what could be wrong?
SmoothAdjust does not support native HBD so the Stack-16 method must be used. Also all of the filter names end with 16, for example SmoothLevels16(...).

Code:
Source()
ConvertBits(16)
ConvertToStacked(16)
SmoothTweak16(saturation=1.6,Lmode=2)
ConvertFromStacked(16)
And as it states in the documentation, when working in 16 bits some parameters must be mapped to the [0-65535] range.

Edit: oops, I didn't see Emulgator's post, I started to reply some hours ago and had to leave
Reel.Deel is offline   Reply With Quote
Old 8th July 2021, 12:50   #478  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Thanks Emulgator and Reel.Deel for the hints.
Sharc is offline   Reply With Quote
Old 4th February 2024, 21:38   #479  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
When using:
Code:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\dither.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\SmoothAdjust.dll")
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: C:\Users\Selur\Desktop\Tonight (with Emma Hewitt) (M).mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("C:\Users\Selur\Desktop\Tonight (with Emma Hewitt) (M).mov",cache=false,format="YUV422P16", prefer_hw=0,repeat=true)
# current resolution: 1920x815
# cropping
Crop(0,1,0,0)# 1920x814
SmoothTweak16(brightness=25600)
# adjust color to RGB32 (color matrix: Rec709)
ConvertToRGB32(matrix="Rec709")
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(16)
#  output: color sampling RGB32@16, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
I get:
Code:
SmoothAdjust: Width and height must be MOD2! (J:\tmp\tempPreviewAvisynthFile21_32_41_409.avs, line 13)
but I don't understand why, both 1920 and 814 are mod2.

Cu Selur

Ps.: I'm using Avisynth+ 3.7.3
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 4th February 2024 at 21:44.
Selur is offline   Reply With Quote
Old 4th February 2024, 21:46   #480  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
I had a similar problem with MCTemporalDenoise, the problem was that although the error message said mod2, it worked only with mod 4.
Rumbah 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 02:43.


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