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 July 2016, 14:47 | #1061 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
edit: got it form Dogway
__________________
See My Avisynth Stuff Last edited by real.finder; 27th July 2016 at 18:23. |
3rd October 2016, 20:34 | #1062 | Link |
Registered User
Join Date: Dec 2007
Location: Germany
Posts: 632
|
Okay, this may be a dumb question, but how do I make Dither convert RGB32 or RGB24 to RGB48y?
If I try to use dither_convert_8_to_16() when the clip is RGB24 or RGB32 I get this error message: "Avisynth open failure: BlankClip: color_yuv only valid for YUV color spaces dither.avsi, line 1045 dither.avsi, line 1052" |
14th October 2016, 11:41 | #1064 | Link |
The cult of personality
Join Date: May 2013
Location: Planet Vegeta
Posts: 155
|
I want to discuss something with you, which is masking the details of the video out and leave only flat areas. I didn't do much tests and I am using vapoursynth now I didn't achieve flexibility yet.
My method is this: make an edge mask and make it strong so that it includes all edges and details. Since details are somehow similar to edges. Playing around with the mask (I guess it was sobel or something) makes better results, although I didn't know how to make it expand in VS at that time. Now that I have the details, I just inverse the result to get the no-details areas, hence, flat ares. Now I can use smdegrain without fear. I do mask the dark areas (using levels) to safely apply f3kdb the way I want, I almost never apply filters to the whole video. However, when I want to use gradfun3, I take extra care because sometimes its results are bad... like masking out the dark areas and the extremely bright ones, then apply it to that area. As for add_grain or GrainFactory3, sometimes I like them but they are not suitable for normal anime and I haven't used them on actual encode. What do you think of this way? what is your way? |
14th October 2016, 14:14 | #1065 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
https://people.xiph.org/~jm/daala/pvq_demo/ |
|
14th October 2016, 15:46 | #1066 | Link | |
The cult of personality
Join Date: May 2013
Location: Planet Vegeta
Posts: 155
|
Quote:
thanks |
|
15th October 2016, 16:42 | #1069 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
last.removegrain(20).removegrain(20).removegrain(20) #blah blah blah to flat components last.mt_adddiff(details) |
|
14th February 2017, 13:09 | #1071 | Link | |
Registered User
Join Date: Jan 2017
Posts: 28
|
Quote:
Otherwise, with 12 bit interleaved format, this should be mostly identical to ditherpost defaults (ordered dither): Code:
f3kdb(0,0,0,0,0,0, keep_tv_range=true, dither_algo=2, input_mode=2, input_depth=12, output_mode=0, output_depth=8) Last edited by kgrabs; 25th February 2017 at 09:40. Reason: incorrect info |
|
14th February 2017, 14:19 | #1072 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
f3kdb_dither(mode=0, stacked=false, input_depth=12)
__________________
See My Avisynth Stuff |
|
14th February 2017, 18:33 | #1073 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
Thank you very mucho to both.
I am getting a distorted image with many colors when using both formulas with f3kdb. I do not work neither version 1.5.1 nor f3kdb-rev410. With the f3kdb-rev410 32 bit version does not deserve the function f3kdb_dither (mode = 0, stacked = false, input_depth = 12). |
14th February 2017, 20:26 | #1074 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
15th February 2017, 02:58 | #1075 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
Avisynth sET avisynth_20150220; ffms2-2.23.1-msvc.
Edit: I already tried with Avisynth 2.6.0 RC3 (AviSynth_150419) and same result. Last edited by GMJCZP; 15th February 2017 at 03:17. |
15th February 2017, 07:42 | #1076 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
the output in your case is always 8 bit, you must use avs+, and avs+ already has bits converter too
__________________
See My Avisynth Stuff |
15th February 2017, 21:17 | #1077 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
I understand. The alternative is pass directly the source in x264 with the option --input-depth 12 and make and lossless x264 8 bit output for future modifications.
Last edited by GMJCZP; 15th February 2017 at 21:22. |
Tags |
color banding, deblocking, noise reduction |
Thread Tools | Search this Thread |
Display Modes | |
|
|