Closed vasyl-zabolotniy closed 4 years ago
Seems like a rounding errors/trailing bits, considering the workaround. Code to see the defect:
# YUV422P10 source with some noise or movement mt_merge(RemoveGrain(17), mt_motion(chroma="-128"), luma=true)
Workaround that works:
mask = ConvertBits(ConvertBits(mt_motion(chroma="-128"),8),10) mt_merge(RemoveGrain(17), mask, luma=true)
Thanks for the report, fixed on git. Code was always using mask values for the 16 bit case even for 10-14 bits.
Seems like a rounding errors/trailing bits, considering the workaround. Code to see the defect:
Workaround that works: