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. |
27th September 2019, 19:49 | #1121 | Link | |
Registered User
Join Date: Aug 2009
Posts: 136
|
Quote:
Right now im mostly interested in the flow of using dither. What you would use where are why. In that previous post I gave some examples. No clue if any of that is relevant anymore either since its been so long. |
|
12th February 2020, 13:00 | #1122 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
in dither.avsi Dither_resize16nr Function I think there are bug in this line
Code:
sr_v = Float (height) / Float (src.height ()) find it when I was porting/mixing things to support HBD here what I have for now, will add it later to ResizeX, any suggestions? Code:
# base on Dither_resize16nr Function sResizeXnr (clip src, int width, int height, \ float "src_left", \ float "src_top", \ float "src_width", \ float "src_height", \ string "kernel", \ int "taps", \ float "a1", \ float "a2", \ string "cplace", \ bool "luma", \ bool "chroma", \ bool "mt", \ string "mt_params", \ string "dither_params", \ bool "desampling", \ int "dither_mode", \ bool "noring" \ ) { noring = Default (noring, true) Assert (width > 0 && height > 0, "sResizeXnr: width and height must be > 0.") sr_h = Float (width ) / Float (src.width () ) sr_v = Float (height) / Float (src.height ()) sr_up = max (sr_h, sr_v) sr_dw = 1.0 / min (sr_h, sr_v) sr = max (sr_up, sr_dw) Assert (sr >= 1.0) # Depending on the scale ratio, we may blend or totally disable # the ringing cancellation thr = 2.5 nrb = (sr > thr) nrf = (sr < thr + 1.0 && noring) nrr = (nrb) ? min (sr - thr, 1.0) : 1.0 nrv = (nrb) ? Round ((1.0 - nrr) * 255) * $010101 : 0 main = src.ResizeX (width, height, \ src_left =src_left, \ src_top =src_top, \ src_width =src_width, \ src_height=src_height, \ kernel =kernel, \ taps =taps, \ a1 =a1, \ a2 =a2, \ cplace =cplace, \ luma =luma, \ chroma =chroma, \ mt =mt, \ mt_params =mt_params, \ dither_params=dither_params, \ desampling=desampling, \ dither_mode=dither_mode \ ) nrng = (nrf) ? src.ResizeX (width, height, \ src_left =src_left, \ src_top =src_top, \ src_width =src_width, \ src_height=src_height, \ kernel ="gauss", \ a1 =100, \ cplace =cplace, \ luma =luma, \ chroma =chroma \ ) : main nrm = (nrb && nrf) ? main.BlankClip (color_yuv=nrv, height=main.Height()) : main rgm = 1 rgc = (nrb) ? -1 : 0 ild = Defined(luma) icd = Defined(chroma) rgl = ild ? (luma ? rgm : rgc) : rgm rgch = icd ? (chroma ? rgm : rgc) : rgm y = ild ? luma ? 3 : 2 : 3 u = icd ? chroma ? 3 : 2 : 3 v = u (nrf ) ? main.repair (nrng, rgl, rgch) : main (nrf && nrb) ? mt_merge (main, last, nrm, y=y, u=u, v=v, luma=chroma) : last }
__________________
See My Avisynth Stuff |
12th April 2020, 15:00 | #1123 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
can we have port of vs fmtconv to avs/avs+ with HBD? I try to update/port/rewrite crt_display to avs+ HBD then I see it use fh, fv in dither_resize16
and its not only for crt_display and "fh, fv", dither_resize16/fmtconv has many other things like kernel inversion mode and additional Kernels
__________________
See My Avisynth Stuff Last edited by real.finder; 12th April 2020 at 15:20. |
12th April 2020, 15:42 | #1125 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
__________________
See My Avisynth Stuff |
7th October 2020, 14:25 | #1126 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Dither 1.28.0:
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
7th October 2020, 18:54 | #1127 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Quote:
|
|
8th October 2020, 06:33 | #1128 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
8th October 2020, 11:05 | #1129 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
real.finder: sorry, there is no plan at the moment. I don’t do much video processing these days and have other projects with higher priority.
EDIT—another update: MVTools 2.6.1.0
EDIT—second update: Dither was updated to v1.28.1. Fixed a regression in mode 20 of Dither_removegrain16.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding Last edited by cretindesalpes; 10th November 2020 at 15:54. Reason: Dither 1.28.1 |
17th February 2021, 19:17 | #1130 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,580
|
Sorry to resurrect some old stuff but...
Is there any newer version of Dither? I have checked 1.28.1 version and it's still a 2.5 plugin. If positive, perhaps I have lost the release. Please address me
__________________
@turment on Telegram Last edited by tormento; 17th February 2021 at 19:25. |
25th May 2021, 14:30 | #1131 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Regarding Dither modernization for HBD, I think it's impossible to do it as it now, After thinking and talking with people that do encode from long times, it's better to port dither_bilateral16 (it's seems work differently from the rest and as some friend said "it strikes a nice balance between strength and detail loss"), Dither_box_filter16 (same as dither_bilateral16 case), and SmoothGrad to independent plugins and backport fmtconv (ported done https://forum.doom9.org/showthread.php?t=183139 thanks to cretindesalpes), if these done then we will not need dithertools anymore in avs+
__________________
See My Avisynth Stuff Last edited by real.finder; 19th August 2021 at 20:57. |
29th May 2021, 02:40 | #1133 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
I seen 299792458m update dfttest 1.9.6 of pinterf with new commits, can anyone compile it?? thanks
https://github.com/299792458m/dfttest_mod/commits/196 |
5th June 2021, 15:22 | #1134 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
New fork of fmtconv
https://github.com/AkarinVS/fmtconv |
21st July 2021, 22:45 | #1135 | Link | |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Quote:
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding Last edited by cretindesalpes; 21st July 2021 at 22:47. |
|
22nd July 2021, 00:22 | #1136 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
live long and prosper CD. [OK you made some recent posts too, I did not miss all of them].
__________________
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 ??? |
|
22nd July 2021, 05:24 | #1138 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
good news, thanks! if you have time can you port dither_bilateral16, Dither_box_filter16 and SmoothGrad to independent plugins with new appropriate names and HBD?
__________________
See My Avisynth Stuff |
28th October 2021, 23:57 | #1139 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
DFTTest latest ver
https://github.com/pinterf/dfttest/releases |
20th April 2023, 13:38 | #1140 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Updated dither - 1.28.1.1 x64 from Asd-g: updated to 2.6 plugin, added support for passthrough frame properties
https://gitlab.com/uvz/AviSynthPlus-...%2B/dither.dll |
Tags |
color banding, deblocking, noise reduction |
Thread Tools | Search this Thread |
Display Modes | |
|
|