forcing jit.window to black

I am making a video player and want to be able to force the jit.window to black. I know that it can be done easily on a jit.pwindow, but I am using a jit.window. There are klugey ways to do it, but I am wondering what people think are the most elegant.

On Tue, Apr 8, 2008 at 12:41 AM, Sasha Harris-Cronin wrote:
>
> I am making a video player and want to be able to force the jit.window to black. I know that it can be done easily on a jit.pwindow, but I am using a jit.window. There are klugey ways to do it, but I am wondering what people think are the most elegant.
>
> Thanks.
>
> sasha.
> –
> — sasha harris-cronin —-
> — sasha@mortalspaces.com –
> — http://www.mortalspaces.com —
>

On Apr 8, 2008, at 2:41 AM, Sasha Harris-Cronin wrote:
>
> I am making a video player and want to be able to force the
> jit.window to black. I know that it can be done easily on a
> jit.pwindow, but I am using a jit.window. There are klugey ways to
> do it, but I am wondering what people think are the most elegant.
>
> Thanks.
>
> sasha.
> –
> — sasha harris-cronin —-
> — sasha@mortalspaces.com –
> — http://www.mortalspaces.com —

As people have pointed out, there are many ways to do this. By far
the fastest and highest quality solution will be to use opengl with
jit.gl.videoplane. You can get a real simple fade to black by
enabling blending and setting the alpha to 0.

I guess it’s because I come from a hardware perspective, so I am viewing this as a player/screen. Every hardware video player (and just about every projector and screen) that I work with has a "video black" feature and we use it pretty extensively. To me, it’s just standard.

my solution to this and other problems was to create a QT player
patch that has drop file, color & contrast control, scrub bar, audio
level control, speed control and fade & cut to black with audio
follow. slap it in a bpatcher and you’re off. i found out quickly
that building your own "hardware" was pretty great.
b

On Apr 8, 2008, at 5:29 PM, Sasha Harris-Cronin wrote:

>
> I guess it’s because I come from a hardware perspective, so I am
> viewing this as a player/screen. Every hardware video player (and
> just about every projector and screen) that I work with has a
> "video black" feature and we use it pretty extensively. To me,
> it’s just standard.
>
> Not a big deal.
>
> sasha.
> –
> — sasha harris-cronin —-
> — sasha@mortalspaces.com –
> — http://www.mortalspaces.com —

this is still a stupid-hard problem to solve. and no, you cannot just send a ’0′. trying to figure out how to use gl…but seems so ridiculous, just to cut to black for a bit! ‘clear’ isn’t working on jit.window.