Log in

View Full Version : YV12 mask, overlay, and tv scale problem...


Mug Funky
25th January 2004, 14:33
hiyah. the title sums this up pretty well.

i'm trying to find the fastest way to make a bluescreen type composite (not with thresholded edges like colorkeymask...) and i've noticed that no matter what i do i can't make my overlay perfectly opaque when using a YV12 mask. the screen still shows a little through the overlay, and the overlay shows through the foreground.

obviously there are workarounds, but i'd rather not convert colours even if i'm only dealing with luma.

this seems to me like a tv scale problem, but the standard ColorYUV(levels="TV->PC") doesn't work anywhere i put it. also playing with arguments in the overlay filter has yielded no difference.

is this a bug or have i not read the docs properly?

[edit]
bah. seems that "VtoY" returns a colourspace i wasn't expecting. putting "converttoyv12()" fixed the problem.

sorry to bother y'all :)