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. |
19th October 2017, 16:29 | #522 | Link |
Registered User
Join Date: Feb 2017
Posts: 136
|
SOLVED. When using AVISynth+ instead of AVISynth2.6 there is no error on loading SuperRes or SuperResXBR. Using the flag matrixin="Rec601" for this DVD source results in perfect colors that match the source and no clipping at the extremes. Thanks again for the assist.
|
5th November 2017, 21:39 | #523 | Link |
Registered User
Join Date: Apr 2008
Posts: 418
|
I can't get 10-bit input to work correctly even with AVS+.
Code:
LWLibavVideoSource("file.ts", format="YUV420P10") ResizeShader(width=1920, height=1080, kernel="SSim") https://imgur.com/a/v82jg It's not even the right resolution, its 960x1080. ps. have you thought about adding support for bt.2020? Last edited by Gser; 5th November 2017 at 22:02. |
5th November 2017, 22:56 | #524 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
L-Smash doesn't support the native high bitdepth formats of AviSynth+. Either use ffms2 or try something like:
Code:
LWLibavVideoSource("file.ts", format="YUV420P16", stacked=true) ConvertFromStacked() ResizeShader(width=1920, height=1080, kernel="SSim") |
6th November 2017, 13:39 | #525 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
But it seems that I will have to use stacked as the only resizers that work directly with 10-bit are the internal ones. |
|
6th November 2017, 14:16 | #526 | Link | |||
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
Quote:
Quote:
Did you try my suggestions (unsuccessfully)? |
|||
6th November 2017, 15:02 | #527 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
https://imgur.com/a/60gYY Yes I understood also that avs+ formats were supported but at least 10-bit didn't work. Now I am using this code Code:
LWLibavVideoSource("file.ts", stacked=true, format="YUV420P16" ) Dither_convert_yuv_to_rgb (matrix="2020", output="rgb48y", lsb_in=true) Dither_y_gamma_to_linear (tv_range_in=true, tv_range_out=true, curve="2020", sigmoid=true) Dither_resize16 (1920, 1080, kernel="bicubic", a1=0, a2=0.75) Dither_y_linear_to_gamma (tv_range_in=true, tv_range_out=true, curve="2020", sigmoid=true) r = SelectEvery (3, 0) g = SelectEvery (3, 1) b = SelectEvery (3, 2) Dither_convert_rgb_to_yuv (r, g, b, matrix="2020", lsb=true) Dither_quantize (10, mode=7, reducerange=true) Dither_out () Prefetch(3) Last edited by Gser; 6th November 2017 at 16:21. |
|
6th November 2017, 16:36 | #528 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
The image above isn't Stack16 format otherwise it would appear in 2 vertical sections with the bottom half showing random junk.
Note that if you pass 10-bit, it needs to be converted to 16-bit to pass into the shader. Use ConvertBits(16) before it and it should work fine. |
6th November 2017, 17:22 | #529 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
Last edited by Gser; 6th November 2017 at 17:55. |
|
16th December 2017, 09:36 | #532 | Link | |
Registered User
Join Date: Mar 2016
Posts: 160
|
Quote:
I assume that NGU sources will never be shared (however madshi plans to release avisynth plugin with madVR algorithms someday). For now you can try FSRCNN from mpv, I assume.
__________________
I'm infected with poor sources. |
|
18th December 2017, 00:57 | #535 | Link | |
Registered User
Join Date: Apr 2015
Posts: 84
|
Quote:
NGU Sharp compares to mpv's latest FSRCNN(X): https://forum.doom9.org/showthread.p...32#post1825432 |
|
21st December 2017, 23:46 | #537 | Link |
Registered User
Join Date: Mar 2016
Posts: 160
|
madshi said several times that SuperRes doesn't seem to be beneficial for NGU and even can harm it.
__________________
I'm infected with poor sources. |
22nd December 2017, 20:04 | #538 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Have they also done comparison of SuperRes with NNEDI3 or SuperXbr, with NGU? SuperRes+Xbr was doing a great job already but had some distortion in some cases with geometric forms. I'd be curious to see NGU side-by-side.
|
24th December 2017, 08:24 | #539 | Link | |
Registered User
Join Date: Apr 2015
Posts: 84
|
Quote:
https://github.com/LimBee/NTIRE2017 |
|
13th May 2018, 06:20 | #540 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
AviSynthShader v1.6.5 is ready!
What's new: - Fixed crash on NVidia cards when PlanarOut=true Btw I'm hoping someone will port EDSR or other such algorithms to Avisynth... but I can only hope. |
|
|