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. |
31st January 2021, 19:42 | #681 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
PHP Code:
Perhaps the best compromise yet.
__________________
@turment on Telegram |
31st January 2021, 21:27 | #682 | Link | ||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Quote:
__________________
See My Avisynth Stuff |
||
1st February 2021, 08:05 | #683 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
ConvertBits(10).SMDegrain(tr=4, thSAD=500, refinemotion=false, mode=0, contrasharp=false, PreFilter=SMDegrain_prefilters(prefilter=4,a=1,d=1,h=7.0), truemotion=true, plane=4, chroma=true)
__________________
@turment on Telegram |
|
1st February 2021, 09:43 | #684 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
Code:
SMDegrain (tr=4, thSAD=500, refinemotion=false, mode=0, contrasharp=false, PreFilter=ConvertBits(8).SMDegrain_prefilters(prefilter=4,a=1,d=1,h=7.0),, truemotion=true, plane=4, chroma=true, n16_out=true) Code:
SMDegrain (tr=4, thSAD=500, refinemotion=false, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true, n16_out=true) P.S: n16_out=true doesn't need to have ConvertBit(16) in front of SMDegrain, does it?
__________________
@turment on Telegram Last edited by tormento; 1st February 2021 at 09:45. |
|
1st February 2021, 18:49 | #685 | Link | ||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Quote:
edit: try add ,device_type="GPU" to SMDegrain_prefilters anyway there are no point of using n16_out with external PreFilter like this n16_out is like the lsb_out but a bit faster and only work with 8bit input
__________________
See My Avisynth Stuff Last edited by real.finder; 1st February 2021 at 19:00. |
||
1st February 2021, 19:39 | #686 | Link | ||
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Ok, but why to use it instead of prefilter=4 in the 8 bit source case?
Quote:
Quote:
__________________
@turment on Telegram |
||
1st February 2021, 20:19 | #687 | Link | |||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Quote:
if you need 16bit from 10-14 bits then use ConvertBits(16) before SMDegrain Quote:
__________________
See My Avisynth Stuff |
|||
1st February 2021, 20:25 | #689 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
you should get an error message
__________________
See My Avisynth Stuff |
2nd February 2021, 17:08 | #690 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Ok, the results. Bit long and tedious job but it will save me some encoding time.
Code:
Number of frames: 4560 Length (hh:mm:ss.ms): 00:03:10.190 Frame width: 1920 Frame height: 1040 Framerate: 23.976 (24000/1001) Colorspace: YV12 PHP Code:
Code:
[1] SMDegrain (tr=6, thSAD=600, refinemotion=false, n16=true, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true) [2] ConvertBits(10).SMDegrain (tr=6, thSAD=600, refinemotion=false, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true) [3] ConvertBits(12).SMDegrain (tr=6, thSAD=600, refinemotion=false, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true) [4] ConvertBits(16).SMDegrain (tr=6, thSAD=600, refinemotion=false, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true) [5] SMDegrain (tr=6, thSAD=600, refinemotion=false, n16_out=true, mode=0, contrasharp=false, PreFilter=4, truemotion=true, plane=4, chroma=true) Code:
FPS min | max | average [1] 1.238 | 46512 | 10.96 [2] 1.222 | 256.8 | 7.679 [3] 1.174 | 46083 | 6.170 [4] 1.084 | 140845 | 6.210 [5] 1.272 | 35461 | 10.97 Code:
[1] x265_x64.exe -D 10 --crf 22.0 --preset slow --profile main10 --level 4.1 --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --aq-mode 2 --sar 1:1 [2] same as [1] [3] same as [1] --input-depth 12 --dither [4] same as [1] --input-depth 16 --dither [5] same as [1] --input-depth 16 --dither Code:
[1] 3.51 fps, 1734.92 kb/s, Avg QP:25.95 [2] 3.23 fps, 1713.39 kb/s, Avg QP:25.92 [3] 2.86 fps, 1713.58 kb/s, Avg QP:25.91 [4] 2.75 fps, 1716.02 kb/s, Avg QP:25.91 [5] 3.55 fps, 1714.94 kb/s, Avg QP:25.91
__________________
@turment on Telegram Last edited by tormento; 2nd February 2021 at 17:22. |
2nd February 2021, 17:33 | #691 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
also you can speed 2-4 as Boulder told you and I post an example code to do that
__________________
See My Avisynth Stuff |
|
2nd February 2021, 17:35 | #692 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
He asked you:
__________________
@turment on Telegram |
|
2nd February 2021, 17:47 | #693 | Link | |||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
edit: I mean that part of his post
Quote:
Quote:
then I give how to do that for you Quote:
__________________
See My Avisynth Stuff Last edited by real.finder; 2nd February 2021 at 18:01. |
|||
2nd February 2021, 17:55 | #694 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
For HDR sources, I recommend ConvertBits(10) instead of ConvertBits(8) for prefilter as the source has information in the whole 10-bit range. At least DGSource will output 16-bit video in such cases (it's what the card just does).
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
2nd February 2021, 18:05 | #695 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
anyway, I don't know about DGSource, but I think LSMASHSource can do HW decode for 10bit without convert it to 16bit
__________________
See My Avisynth Stuff |
|
2nd February 2021, 19:02 | #697 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
2nd February 2021, 20:57 | #699 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
edit: also it was without device_type="GPU" I said for your case above for 2, 3 and 4 not for 1 and 5 which use n16 things
__________________
See My Avisynth Stuff Last edited by real.finder; 2nd February 2021 at 21:02. |
|
9th March 2021, 12:08 | #700 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Launching AVSMeter_x64 -avsinfo, I am getting:
Function duplicates: "undefined" : "[InternalFunction]" "Undefined" : "D:\Programmi\Media\AviSynth+\plugins64\Zs_RF_Shared-1.143~realfinder.avsi" Why?
__________________
@turment on Telegram |
Tags |
avisynth, avs script, avs+, banding, generator, hbd, mod |
|
|