Log in

View Full Version : avisynth 10 bit conversion?


danfgtn
16th June 2017, 17:44
How to convert 10 bit inside avisynth and extract it so that it works?

This is my script, but I'm not sure what's wrong, that my videos come out like this.

https://i.imgur.com/rWAoCbg.png

My script

SetMemoryMax(1024)
SetMTMode(mode=3,threads=4)

FFVideoSource("C:\RMZ\RAW\avatar.mkv", threads=1, enable10bithack=false, colorspace="YV12")

SetMTMode(mode=2,threads=4)

Trim(18000, 20000)

TFM(order=-1, field=-1,mode=0,cthresh=8)
TDecimate(mode=1, cycleR=1, cycle=25, rate=24.000, hybrid=0)
AssumeFPS(24)
QTGMC(Preset="Medium", Sharpness=0, InputType=3, SourceMatch=3, FPSDivisor=1, ShowSettings=False, TR0=0, TR1=1, TR2=1, Rep0=0, Rep1=0, Rep2=0, RepChroma=false)

Dither_convert_8_to_16()
dfttest(Y=true, U=false, V=false, ftype=1, sigma=2, sigma2=2, lsb_in=true, lsb=true)
f3kdb(range=30, grainY=64, grainC=64, sample_mode=1, opt=-1, mt=true, input_depth=16, output_depth=16)
#DitherPost(mode=6) #Uncomment this filter to preview.
Dither_quantize(10, reducerange=true, mode=6) #Comment out this filter to preview.
Dither_Out() #Comment out this filter to preview.