darkslayer00
5th April 2014, 21:02
I want use to use this filter but always give me a error "yv12layer error", please help me T-T
raffriff42
8th April 2014, 14:28
I gather YV12Layer was formerly included in maskTools 1.4.x, but has not been available for a long time, so we need to find a substitute.
All calls to YV12Layer in mftoon.avsi (http://avisynth.nl/index.php/MfToon) follow the following pattern - only the clip arguments change, the others never change: YV12Layer(clip, clip, "mul", 255, chroma=false, Y=3, V=1, U=1) Based on this, we can guess at the equivalent Overlay call and make a shadow version of YV12Layer. Add this to your script:## substitute for MaskTools' missing /YV12Layer/, as used in mftoon
function YV12Layer(clip A, clip B, string s, int i, bool "chroma", int "Y", int "V", int "U")
{
return A.Overlay(B, mode="multiply")
}
Plugins I used in testing this:
* MaskTools-v1.5.6 (http://manao4.free.fr/)
* WarpSharp (http://web.archive.org/web/20120212062428/http://vfrmaniac.fushizen.eu/seraphy_mirror/warpsharp/bin/warpsharp_20080325.7z)
* aWarpSharp (http://avisynth.nl/index.php/AWarpSharp2)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.