View Single Post
Old 22nd September 2020, 07:32   #15  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 702
Quote:
Originally Posted by poisondeathray View Post
What are you sending in the avs script ? what does info() say ?

It should be yuv444p10le, not yuv420p16le . Otherwise you are letting ffmpeg downconvert the bit depth and upsample the chroma, instead of specifying how you want it to be done. e.g. what algorithm are you using to upscale ? Did you want to dither down ? What algorithm to dither (or not)

Code:
    Stream #0:0: Video: rawvideo (Y3[0][10] / 0xA003359), yuv444p10le, 3840x2160
, 24 fps, 24 tbr, 24 tbn, 24 tbc
My avs-script ends with:

Code:
ConverttoYUV444()
Convertbits(10, dither=1)
I can post the full script when I come home from work.

EDIT:
Here is my script
Code:
  ### Avisynth+ 3.6.1 (r3300, 3.6, I386) ###
SetFilterMTMode("DEFAULT_MT_MODE", 2)

#Index
LSMASHVideoSource("F:\sony\C1031.mp4")
trim(17,24)

convertbits(16)
Levels(0, 1, 65280, 0, 65280, coring=false, dither=false)

### DENOISE ###
neo_dfttest(sigma=16,sigma2=16,f0beta=1.0,tbsize=1,sbsize=120,sosize=90, y=2 , u=3, v=3) #sbsize=120,sosize=90 / sbsize=24,sosize=18
mergeluma(TemporalSoften(3, 4, 8, mode=2))

### TOPSHARP ###
shrp=sharpen(1.0)
vid1 = last
shine1 = vid1.Overlay(shrp, mode="blend", opacity=1.0) 
emask1 = vid1.mt_edge(mode="prewitt",thy1=0,thy2=65280).mt_expand().fastgaussblur(10)
result1 = mt_merge(vid1,shine1,emask1, U=2,V=2)
merge(result1)

### SHINE ###
blr=mt_expand().Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56) #BinomialBlur(varY=4.5, varC=6.5, Y=3, U=2, V=2, useMMX=true)
vid = last
shine = vid.Overlay(blr, mode="blend", opacity=0.9)
emask = vid.mt_edge(mode="prewitt",thy1=0,thy2=65280).mt_expand().mt_expand().mt_expand().fastgaussblur(20)
result = mt_merge(vid,shine,emask, U=2,V=2)
return(result)

#Debanding
neo_f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false, mt=true)

#Chroma Upscaling
ConverttoYUV444()

Prefetch(4)
ConvertBits(bits=10, dither=1)

Last edited by anton_foy; 22nd September 2020 at 19:59. Reason: Added the avs-script
anton_foy is offline   Reply With Quote