Thread: Avisynth+
View Single Post
Old 29th November 2017, 18:21   #3769  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
Quote:
Originally Posted by sneaker_ger View Post
Question.

Script:
Code:
ffVideoSource("cut.mkv") 
mask=MaskHS(160,180, 100,80).mt_expand().BilinearResize(last.width, last.height)
overlay(last, GreyScale().ColorYUV(cont_y=50), 0, 0, mask)
Sample: https://mega.nz/#!tpUhhSZR!6g1OSKRzZ...eQwTRxU2dkuTbo

AviSynth 2.6.0:

AvisynthPlus-r2544-MT:



Why does it become grey?
MaskHS is giving a black clip for me on classic avs, and white on current avs+. And the whiteish mask makes the greyscale clip dominant.
Checked: r2173 was still o.k.

Edit: fixed on github. MaskHS was giving the inverse mask.

Last edited by pinterf; 29th November 2017 at 19:05. Reason: fix
pinterf is offline