Blur edge of movies to black?
Hi there,
We've all seen it on photos where the outside of the image blurs/fades to black, well I'm now trying to do it to videos. I'm a bit of a beginner still on Jitter so go easy with me if its simple! I'm playing jit.qt.movie in colormode uyvy through a jit.gl.slab and then a jit.gl.videoplane. Preferably I would like to put the fading technique between the slab and the videoplane.
Does anyone have any idea how to do this? I would post my patch, but its far too big.
Cheers for any help,
Ben
here is a simple way to this with creating a mask on the alpha channel, the mask creation part comes from one of Andrew Benson's recipes (#09).
you could also use black and white images as masks or explore jit.epr or jit.bfg for some more dynamic mask generations .
hope it helps :)
Quote: benjohnson wrote on Fri, 14 March 2008 18:43
----------------------------------------------------
> Hi there,
>
> We've all seen it on photos where the outside of the image blurs/fades to black, well I'm now trying to do it to videos. I'm a bit of a beginner still on Jitter so go easy with me if its simple! I'm playing jit.qt.movie in colormode uyvy through a jit.gl.slab and then a jit.gl.videoplane. Preferably I would like to put the fading technique between the slab and the videoplane.
>
> Does anyone have any idea how to do this? I would post my patch, but its far too big.
>
> Cheers for any help,
> Ben
----------------------------------------------------
You also use the tr.vignettes.jxs shader with a slab. There's an example under "slab-helpers, transition" Vade's v001 shaders also have a vignette element, in the lomo shader.
dan
as Dan mentions the transition shaders , there is tr.edgeblend.jxs that does exactly what you need , i guess
Quote: skyvat wrote on Fri, 14 March 2008 21:24
----------------------------------------------------
> You also use the tr.vignettes.jxs shader with a slab. There's an example under "slab-helpers, transition" Vade's v001 shaders also have a vignette element, in the lomo shader.
>
> dan
----------------------------------------------------
I tried the ideas of using specific shaders but was having no joy. I loaded up the help file on the 'tr.edgeblend.jxs' shader and it was just what I was looking for, but then when I placed it in my patch it wouldn't work. First I tried changing the shader on the yellow slab, and that didn't work. So figuring that the shader didn't like two inputs, I tried adding another slab before the videoplane. Didn't work either.
I need to be able to crossfade between the two videos still. Does anyone know what I could do to make this work?
Note: this is a very cut down version of my patch but its got the basic parts in that need to be changed.
Thanks for any help
Regards,
Ben
Oops, the slab that I was calling the yellow one.... was the one using the co.normal.jxs shader. I think I forgot to change its colour.....!
I think you need to start a new topic for this, you just replied to mine. You will undoubtedly get a better response if you put it in your own topic.
Regards,
Ben
Figured it out, it seemed to just be a matter of adding @blend_enable 1 on the videoplane. Daft the things you miss isn't it! Cheers for the help guys.
Regards,
Ben