Quote:
Originally Posted by jmac698
Code:
mt_lut(yexpr="v 4 / y 2 / + u 4 / +",uexpr="v 2 / u 2 / + 128 +",vexpr="v -4 / y 2 / + u -4 / 128 +")
|
That won't work. The only variable you can use in mt_lut is "x", which refers to Y in yexpr, U in uexpr and V in vexpr.
To combine values from all three channels, you have to use mt_lutxyz, with each channel in a separate clip.
I'm not sure negative constants (-4) are recognised either.
Quote:
Code:
select (slice, \
crop(0,0,0,-3*blockheight), \
crop(0,blockheight,0,-2*blockheight), \
crop(0,2*blockheight,0,blockheight), \
crop(0,3*blockheight,0,0))
|
This can be written more simply as
crop(0,slice*blockheight,0,blockheight)