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. |
23rd March 2018, 13:58 | #1101 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,580
|
Dither
Am I wrong or dither is one of the most used plugin and yet with old AVS 2.5 API?
@pinterf and @all A refresh would be welcome. Last version is AFAIK 1.27.2 from 2015.
__________________
@turment on Telegram |
6th April 2018, 10:41 | #1102 | Link | |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Quote:
|
|
6th April 2018, 10:46 | #1103 | Link | ||
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,580
|
Quote:
Quote:
PHP Code:
__________________
@turment on Telegram Last edited by tormento; 6th April 2018 at 10:50. |
||
6th April 2018, 10:53 | #1104 | Link | |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Quote:
|
|
6th April 2018, 11:07 | #1106 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Mode 2 will eat more RAM, so it's better to stick with mode 1 if possible. Anyway new build (now with sources), with mt mode 1 declared internally: https://mega.nz/#!CtcRVLgZ!qzrTRjvu9...fWniOrbuG_lmjY
|
11th April 2018, 21:51 | #1108 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,580
|
@DJATOM
I gave a try to your latest build of dither and it gives me error. Script: PHP Code:
Code:
[2018-04-11][22:44:18] Simple x264 Launcher (Build #1124), built 2018-02-27 [2018-04-11][22:44:18] [2018-04-11][22:44:18] Job started at 2018-04-11, 22:44:18. [2018-04-11][22:44:18] [2018-04-11][22:44:18] Source file : E:\in\2_00 Fuga di mezzanotte\fuga_6_lsb.avs [2018-04-11][22:44:18] Output file : E:\in\2_00 Fuga di mezzanotte\fuga_6_lsb.mkv [2018-04-11][22:44:18] [2018-04-11][22:44:18] --- SYSTEMINFO --- [2018-04-11][22:44:18] [2018-04-11][22:44:18] Binary Path : D:\eseguibili\media\x264 launcher [2018-04-11][22:44:18] Avisynth : Yes [2018-04-11][22:44:18] VapourSynth : No [2018-04-11][22:44:18] [2018-04-11][22:44:18] --- SETTINGS --- [2018-04-11][22:44:18] [2018-04-11][22:44:18] Encoder : x264 (AVC/H.264), 64-Bit (x64), 8-Bit [2018-04-11][22:44:18] Source : Avisynth (avs) [2018-04-11][22:44:18] RC Mode : CRF [2018-04-11][22:44:18] Preset : slow [2018-04-11][22:44:18] Tuning : <None> [2018-04-11][22:44:18] Profile : High [2018-04-11][22:44:18] Custom : --level 4.1 --keyint 240 --aq-mode 2 --sar 1:1 [2018-04-11][22:44:18] [2018-04-11][22:44:18] --- CHECK VERSION --- [2018-04-11][22:44:18] [2018-04-11][22:44:18] Detect video encoder version: [2018-04-11][22:44:18] [2018-04-11][22:44:18] Creating process: [2018-04-11][22:44:18] "D:\eseguibili\media\x264 launcher\toolset\x64\x264_x64.exe" --version [2018-04-11][22:44:18] [2018-04-11][22:44:18] x264 0.155.2901 7d0ff22 [2018-04-11][22:44:18] (libswscale 5.0.101) [2018-04-11][22:44:18] (libavformat 58.10.100) [2018-04-11][22:44:18] (ffmpegsource 2.30.0.0) [2018-04-11][22:44:18] built on Feb 26 2018, gcc: 7.3.0 [2018-04-11][22:44:18] x264 configuration: --chroma-format=all [2018-04-11][22:44:18] libx264 configuration: --chroma-format=all [2018-04-11][22:44:18] x264 license: GPL version 2 or later [2018-04-11][22:44:18] libswscale/libavformat/ffmpegsource license: GPL version 2 or later [2018-04-11][22:44:18] [2018-04-11][22:44:18] Detect video source version: [2018-04-11][22:44:18] [2018-04-11][22:44:18] Creating process: [2018-04-11][22:44:18] "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" [2018-04-11][22:44:18] [2018-04-11][22:44:18] Avs2YUV 0.24bm5 [2018-04-11][22:44:18] [2018-04-11][22:44:18] > x264 revision: 2901 (core #155) [2018-04-11][22:44:18] > Avs2YUV version: 0.24.5 [2018-04-11][22:44:18] [2018-04-11][22:44:18] --- GET SOURCE INFO --- [2018-04-11][22:44:18] [2018-04-11][22:44:18] Creating process: [2018-04-11][22:44:18] "D:\eseguibili\media\x264 launcher\toolset\x64\avs2yuv_x64.exe" -frames 1 "E:\in\2_00 Fuga di mezzanotte\fuga_6_lsb.avs" NUL [2018-04-11][22:44:18] [2018-04-11][22:44:20] error: System exception - Access Violation [2018-04-11][22:44:20] (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.1.2�97.avsi, line 739) [2018-04-11][22:44:20] (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.1.2�97.avsi, line 200) [2018-04-11][22:44:20] (E:\in\2_00 Fuga di mezzanotte\fuga_6_lsb.avs, line 16) [2018-04-11][22:44:20] [2018-04-11][22:44:20] PROCESS EXITED WITH ERROR CODE: 1
__________________
@turment on Telegram |
11th April 2018, 22:22 | #1109 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Yes, I forgot to add one line, fixed version.
|
25th December 2018, 19:04 | #1111 | Link |
Registered User
Join Date: Dec 2018
Posts: 140
|
This topic is not active, I created new, but may be somebody can give me instruction to launch dither tools on PotPlayer https://forum.doom9.org/showthread.php?p=1861062
|
27th January 2019, 09:22 | #1112 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Now that AVS+ and avsresize are updated nicely, would it take much for someone to update this to accept non-stacked colorspaces or yuv420ps ?
I like the linear/sigmoid functions in this resizer, but find it tedious to keep converting to/from stacked. I just might jump on VS for this plugin to resize in placebo-likeness.
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
4th March 2019, 10:09 | #1114 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Try higher Y/cb/cr values and/or higher grain values.
https://f3kdb.readthedocs.io/en/late...mdoption-arg-y https://f3kdb.readthedocs.io/en/latest/presets.html
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
24th September 2019, 10:18 | #1117 | Link | |
Registered User
Join Date: Aug 2009
Posts: 136
|
So I have been out of the game for some time (early pages of this thread ~2011) and dither is really having me scratch my head once again.
Im looking to output 4:4:4 10bit to x264. I have used dither in the past and do do this exact function however the younger me never took any notes so I am at a loss as to whats needed why and where. Below are two example scripts that I was hoping someone could help me dissect and figure out what was done is these and if that is still the best way to go about things. I would like to do the script a bit better like the second one making it easier to follow but would like to put together better notes and comments than the first one has. Im sure there are some plugins im missing that ill have to round up as well. Xamd (should be 444): https://pastebin.com/f1c4vkWb Beck (dither 16bit to 10bit): https://pastebin.com/7dGdpfyf Ill have to grab some additional plugins as im definitely missing some that are in those scripts. Are the best files to use sill the ones in the beginning of the thread and their special mod16 versions or should I be looking into @DJATOM 's fixed version linked above? Git also has an updated version of dfttest. No idea it its compatible however. Quote:
thanks in advance for the help. Ill have the progress of the AVS script as well as the final one on pastebin once complete |
|
24th September 2019, 17:21 | #1118 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
@TheProfosist Applying debilinear onto entire source is bad idea. You will definitely mess up captions (they are applied onto source after upscaling), you must do some masking for them and resize with regular downscaler.
|
26th September 2019, 15:02 | #1119 | Link | |
Registered User
Join Date: Aug 2009
Posts: 136
|
Quote:
Code:
#TextSub("E:\TEMP\5cmPerSec\02 - Video\5cmPerSec JP RA Subs.ass") what im wondering is the order of operations of using dither in beck I used dfttest but I didnt in xamd notes from the xamd script say "##dfttest (lsb=true) or whatever generating stack16 data" I think i remember why I had crop in the first 16bit filters area and that was because if I needed to crop I also had to re-pad it to a mod 16 resolution the other big difference in these scripts is the end. Beck just has f3kdb Code:
f3kdb(dither_algo=3, input_mode=1, input_depth=16, output_mode=1, output_depth=10) where as Xamd has Code:
SmoothGrad (radius=16, thr=0.25, elast=2) ly = debilineary(960,540,lsb_inout=true) lu = utoy8().dither_resize16(960,540,kernel="blackman",src_left=0.25,u=1,v=1) lv = vtoy8().dither_resize16(960,540,kernel="blackman",src_left=0.25,u=1,v=1) ytouv(lu,lv,ly) ## Finally DitherPost() or Dither_convey_yuv4xxp16_on_yvxx() Dither_quantize(10, reducerange=true, mode=8) Dither_convey_yuv4xxp16_on_yvxx() basically trying to figure out what I did and why which should aide me in using dither again. That is unless there is a better way to use this since its likely had updates since those AVS were written |
|
Tags |
color banding, deblocking, noise reduction |
|
|