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. |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2008
Posts: 55
|
Despotting in high bit depth?
Lately I have been using Didée's "possible primitive for spot removal":
Code:
o=last ox=o.width() oy=o.height() osup = o.MSuper(pel=2,sharp=2) bv1 = osup.MAnalyse(isb=true, delta=1,blksize=8,overlap=4,search=4) fv1 = osup.MAnalyse(isb=false,delta=1,blksize=8,overlap=4,search=4) bc1 = o.MCompensate(osup,bv1) fc1 = o.MCompensate(osup,fv1) Interleave(fc1,o,bc1) MedianblurT(0,0,0,1) # you can also use "Clense(reduceflicker=false)" instead SelectEvery(3,1) StackHorizontal(o,last) However now I'm working with dpx files (HD, 10 bits) and I'd like to keep the high bit depth. I think I can ingest the dpx into Avisynth with ffms2. With the high bit depth tools, and the available modified plugins, it could be possible to despot and export to 10 bits? I think there is a modified mvtools plugin but I don't think there is a High bit MedianblurT. With what it could be substituted? Thank you! |
![]() |
![]() |
![]() |
#2 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
MedianBlurT could be replaced with Dither_median16 but the problem is the MVTools, working only with 8-bit input.
Anyway there is an alternative method, not totally equivalent to pure high bitdepth processing, but close enough. Convert to 8 bits, process, and apply the resulting difference to the 16-bit clip: Code:
FFVideoSource ("blah", enable10bithack=true) # Or any source outputing stack16 data o16 = last DitherPost (mode=-1) # (insert here the previous script without the final StackHorizontal) dif = mt_makediff (last, o, y=3, u=3, v=3) dif16 = dif.Dither_convert_8_to_16 () o16.Dither_add16 (dif16, dif=true)
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
![]() |
![]() |
![]() |
Tags |
despot, didée, high bit depth |
Thread Tools | Search this Thread |
Display Modes | |
|
|