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. |
4th July 2020, 06:49 | #541 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
because chroma is always centred (128 in 8bit) in all pixels so as Boulder told you it's "effect thsad calculation in MAnalyse" so it's wrong and Inaccurate and can remove details and case ghosting that why it give less size, anyway there are a strange situation with your test, the size of ConvertToY/ConvertToY8 and yuv with "plane=0, chroma=false" should be same, and the speed of ConvertToY/ConvertToY8 should be the fastest but you show that both is not
__________________
See My Avisynth Stuff |
4th July 2020, 07:07 | #543 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
yes, in plugins side I think
maybe has a relation with https://forum.doom9.org/showthread.p...93#post1916393
__________________
See My Avisynth Stuff |
4th July 2020, 11:17 | #545 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Because you denoise only the first plane, plane 2+3 ("chroma") are not touched, hence the higher bitrate.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
4th July 2020, 11:22 | #547 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
yes, seems ChaosKing get it wrong
and even encode y/y8 should be smaller if the encoder didn't convert it to 420 like yv12, and even if it do convert it to 420 it should be smaller than original noisy uv
__________________
See My Avisynth Stuff |
4th July 2020, 12:12 | #548 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Ahh yes my mistake. But it was only half wrong, in this particular case ... I think
My guess was, that smdegrain or mvtools also uses motion vectors from UV (Idk how smdegrain works). I mean in a grayscale clip I can still output U and V but it's just blank. That is why denoising only Y is stronger. (for a grayscale clip) Code:
clip=ffms2("source") clip = clip.smdegrain(tr=3, thsad=2000, prefilter=2, plane=4, chroma=true) clip2 = clip.smdegrain(tr=3, thsad=2000, prefilter=2, plane=0, chroma=false) clip = clip.ExtractY() clip2 = clip2.ExtractY() return stackhorizontal(clip.crop(600,500,-500,-100), clip2.crop(600,500,-500,-100)) I got an error with prefilter = 4, so I used prefilter=2. @tormento have you tried other parameters? EDIT Can you show your encoding parameters? Since I can't reproduce these numbers even with your parameters...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 4th July 2020 at 12:44. |
4th July 2020, 12:43 | #550 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
But on my side everything works as expected. denoising only Y is faster and file is smaller...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
4th July 2020, 12:44 | #551 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Quote:
Give me your SMDegrain line.
__________________
@turment on Telegram |
|
4th July 2020, 12:45 | #552 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
4th July 2020, 12:47 | #553 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Quote:
I put both test files and my scripts there. Try and tell me. P.S: The not working has been solved by realfinder update.
__________________
@turment on Telegram |
|
4th July 2020, 12:49 | #554 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I mean x264 encoding parameters (or whatever you used)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
4th July 2020, 12:52 | #555 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
I use Simple x264/x265 Launcher. The log:
Simple x264 Launcher (Build #1208), built 2020-06-25 Job started at 2020-07-04, 12:20:35. Source file : E:\in\eclisse\041_6-700y_4t.avs Output file : E:\in\eclisse\041_6-700y_4t.mkv --- SYSTEMINFO --- Binary Path : D:\Eseguibili\Media\x264 Launcher Avisynth : Yes VapourSynth : No --- SETTINGS --- Encoder : x264 (AVC/H.264), 64-Bit (x64), 8-Bit Source : Avisynth (avs) RC Mode : CRF Preset : slow Tuning : <None> Profile : High Custom : --level 4.1 --keyint 240 --aq-mode 2 --sar 1:1 --opencl --- CHECK VERSION --- Detect video encoder version: Creating process: "D:\Eseguibili\Media\x264 Launcher\toolset\x64\x264_x64.exe" --version x264 0.161.3015 4c2aafd (libswscale 5.6.100) (libavformat 58.33.100) built on Jul 2 2020, gcc: 8.2-win32 20190215 x264 configuration: --chroma-format=all libx264 configuration: --chroma-format=all x264 license: GPL version 2 or later libswscale/libavformat license: LGPL version 2.1 or later WARNING: Your x264 binary uses an untested core (API) version, take care! This application works best with x264 core (API) version 160. Newer versions may work or not. Detect video source version: Creating process: "D:\Eseguibili\Media\x264 Launcher\toolset\x64\avs2yuv_x64.exe" Avs2YUV 0.24bm6 > x264 revision: 3015 (core #161) > Avs2YUV version: 0.24.6 --- GET SOURCE INFO --- Creating process: "D:\Eseguibili\Media\x264 Launcher\toolset\x64\avs2yuv_x64.exe" -frames 1 E:\in\eclisse\041_6-700y_4t.avs NUL E:\in\eclisse\041_6-700y_4t.avs: 1920x1024, Y8, 8-bits, progressive, 24000/1001 fps, 2858 frames converting input clip to YUV420 Resolution: 1920 x 1024 Frame Rate: 24000/1001 No. Frames: 2858 --- ENCODING VIDEO --- Creating input process: "D:\Eseguibili\Media\x264 Launcher\toolset\x64\avs2yuv_x64.exe" E:\in\eclisse\041_6-700y_4t.avs - Creating encoder process: "D:\Eseguibili\Media\x264 Launcher\toolset\x64\x264_x64.exe" --output-depth 8 --crf 20.0 --preset slow --profile high --level 4.1 --keyint 240 --aq-mode 2 --sar 1:1 --opencl --output E:\in\eclisse\041_6-700y_4t.mkv --frames 2858 --demuxer y4m --stdin y4m - y4m [info]: 1920x1024p 1:1 @ 24000/1001 fps (cfr) x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX x264 [info]: OpenCL acceleration enabled with NVIDIA Corporation GeForce GTX 1060 3GB x264 [info]: profile High, level 4.1, 4:2:0, 8-bit x264 [info]: frame I:18 Avg QP:17.33 size:195983 x264 [info]: frame P:752 Avg QP:20.21 size: 59222 x264 [info]: frame B:2088 Avg QP:25.01 size: 14313 x264 [info]: consecutive B-frames: 1.6% 1.8% 3.7% 92.9% x264 [info]: mb I I16..4: 6.7% 84.5% 8.9% x264 [info]: mb P I16..4: 0.8% 7.7% 0.6% P16..4: 43.6% 22.9% 11.4% 0.0% 0.0% skip:13.0% x264 [info]: mb B I16..4: 0.0% 0.4% 0.1% B16..8: 50.2% 6.9% 1.6% direct: 2.2% skip:38.7% L0:37.7% L1:52.1% BI:10.2% x264 [info]: 8x8 transform intra:84.5% inter:71.4% x264 [info]: direct mvs spatial:99.7% temporal:0.3% x264 [info]: coded y,uvDC,uvAC intra: 87.0% 0.0% 0.0% inter: 17.9% 0.0% 0.0% x264 [info]: i16 v,h,dc,p: 23% 15% 9% 53% x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 15% 4% 9% 12% 12% 12% 12% 14% x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 10% 3% 9% 15% 15% 14% 11% 13% x264 [info]: i8c dc,h,v,p: 100% 0% 0% 0% x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0% x264 [info]: ref P L0: 61.1% 21.0% 13.8% 4.1% 0.1% x264 [info]: ref B L0: 93.2% 5.5% 1.3% x264 [info]: ref B L1: 96.7% 3.3% x264 [info]: kb/s:5231.28 encoded 2858 frames, 10.11 fps, 5231.33 kb/s av2y [info]: E:\in\eclisse\041_6-700y_4t.avs: 1920x1024, Y8, 8-bits, progressive, 24000/1001 fps, 2858 frames av2y [info]: converting input clip to YUV420 Final file size is 74.4 MB bytes. --- COMPLETED --- Job finished at 2020-07-04, 12:25:22. Process took 4 minutes, 47 seconds.
__________________
@turment on Telegram Last edited by tormento; 4th July 2020 at 13:15. |
7th July 2020, 10:36 | #557 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
Have you tried converting the clip to regular YV12 before it ends up in the encoder process?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
16th July 2020, 10:31 | #558 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
real.finder does dfttestMC support sstring parameter for dfttest instead of sigma?
I usually prefer different sigma values based on frequency. I can set sstring in dfttestMC parameters, f.e. like this: Code:
dfttestMC(Y=true, U=false, V=false, sstring="$ 0.0:4 0.2:9 0.4:16 0.6:25 0.7:16 0.8:9 0.9:4 1.0:25", tbsize=5, dither=0, dfttest_params=", threads=16") I also can't set this string inside the 'dft_params' string either. Is this a syntax problem? Can you set a string inside a string anyway? |
16th July 2020, 10:49 | #559 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
you can't use dfttest_params for things has independent parameters like sstring since it will be used twice and you will get error about that "Can you set a string inside a string anyway?" you can, with dfttest_params=""",somepara="somestring" """
__________________
See My Avisynth Stuff |
|
16th July 2020, 11:09 | #560 | Link | |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
It seems I made an error in my script that's why I had the impression sstring may not work.
Good to know sstring is supported. Quote:
Finally I now know how to use that syntax correctly. |
|
Tags |
avisynth, avs script, avs+, banding, generator, hbd, mod |
Thread Tools | Search this Thread |
Display Modes | |
|
|