Please help- two movies in 1 window
Hi there
I developed a patch ( using others) that is almost there.
But I am having three mayor problems.
One is that at the end I will like to have two movies in one window. it would be a jit.window that has 2 black circles ( 2 eyes) and that plays 2 movies simultaneously
(I am trying to have a jit.window that has two different movies playing at the same time. Is that possible? )
The second is that my microphone object in my computer is not working. I do have my computer set up properly, do you know what can be wrong?
and the third, is that I would like to play the sound that is coming in with a change on the speed.
can somebody help me with those things?
Please help me!
Daniela
you cant mix matrices to one window, as you get flickering as one
matrix draws first, then the other, neither being 'mixed' but drawing
over one another with each bang.. you need to use a mixing object
like jit.xfade, or jit.op, or many other methods.
check the tutorials, its all in there :)
good luck!
v a d e //
www.vade.info
abstrakt.vade.info
Hey Daniela,
You can't send 2 movies to the same jit.window like you can send audio
to a [dac~] (I recently had a similar question). Try using the dstdim
messages to place your videos in seperate parts of the window, then
composite them together using [jit.op @op max].
Assuming the videos don't overlap, that should be a pretty easy way of
getting both of them into the same matrix.
Thank you. This is very helpful to me! I will try to use the dstdim, because
the movies do not overlap, but they come from the same source.
many thanks,
Daniela
On 6/12/07, Bryan Teoh wrote:
>
> Hey Daniela,
>
> You can't send 2 movies to the same jit.window like you can send audio
> to a [dac~] (I recently had a similar question). Try using the dstdim
> messages to place your videos in seperate parts of the window, then
> composite them together using [jit.op @op max].
> Assuming the videos don't overlap, that should be a pretty easy way of
> getting both of them into the same matrix.
>
> Bryan
> --
> http://www.bryanteoh.com
> http://www.ksod.net
>
Hi there
I am trying to use the dstdim with one matrix to have two movies in one
jit.window that are playing simultaneously. ( each movie is inside a black
circle, both are inside a big window)
I am lost!! I am not sure how to work with my matrix and how to control the
dstdim attrributes in order to see the 2 movies in a smaller dimention.
Can somebody help me?
On 6/12/07, daniela Steinsapir wrote:
>
> Thank you. This is very helpful to me! I will try to use the dstdim,
> because the movies do not overlap, but they come from the same source.
> many thanks,
> Daniela
>
> On 6/12/07, Bryan Teoh wrote:
> >
> > Hey Daniela,
> >
> > You can't send 2 movies to the same jit.window like you can send audio
> > to a [dac~] (I recently had a similar question). Try using the dstdim
> > messages to place your videos in seperate parts of the window, then
> > composite them together using [jit.op @op max].
> > Assuming the videos don't overlap, that should be a pretty easy way of
> > getting both of them into the same matrix.
> >
> > Bryan
> > --
> > http://www.bryanteoh.com
> > http://www.ksod.net
> >
>
>
Hi there
I am trying to use the dstdim with one matrix to have two movies in one jit.window that are playing simultaneously. ( each movie is inside a black circle, both are inside a big window)
I am lost!! I am not sure how to work with my matrix and how to control the dstdim attrributes in order to see the 2 movies in a smaller dimention.
Can somebody help me PLEASE?
On 13 juin 07, at 09:04, danielast wrote:
> Can somebody help me PLEASE?
You need to set the usesrcdim and usedstdim attributes to 1.
Otherwise the srcdimstart/srcdimend and dstdimstart/dstdimend are
ignored.
ej
Your patch has you sending all sorts of messages (0/1, read) to the
first inlets of the pak objects, effectively replacing the first member
- [srcdimend 320 240] then becomes [1 320 240] which jit.matrix doesn't
understand. This may or may not solve your problem, I just thought I'd
tell you.
Andreas.
Hi Thank you
but I do not understand what are you trying to say to me , can you explain
it to me again.
I get the first part but then I am lost.
many thanks,
Daniela
On 6/13/07, Andreas Wetterberg wrote:
>
> Your patch has you sending all sorts of messages (0/1, read) to the
> first inlets of the pak objects, effectively replacing the first member
> - [srcdimend 320 240] then becomes [1 320 240] which jit.matrix doesn't
> understand. This may or may not solve your problem, I just thought I'd
> tell you.
>
> Andreas.
>
Check out this patch...it basically does what you're trying to do.
Adjust the dimensions etc for your own needs. The @usedstdim 1 tells
the matrix to use the destination dimensions. The @dstdimstart and
@dstdimend messages tell the matrix what parts of the destination
matrix (from upper left corner to lower right) to place the video in.
Since neither of the videos overlap, using the [jit.op @op max]
message composites them together.
hello daniela,
there are a number of problems with your patch, not the least being
readability.
you have all the basic elements in place, but obviously you are in
the dark on how to use them.
the matrix dstdim defines how the incoming matrix is mapped to the
outgoing matrix. you change either the source-dimension if you want
to zoom into (upscale) the incoming matrix or you use the destination-
dimension to zoom out (downscale) the outgoing matrix.
you need to use an alphablend process on both streams in order to
apply the mask before compositing in the final matrix.
you also need to clear the scaling matrix to clean up leftover pixels
from previous frames.
i cleaned up your patch and added pattr functionality to make
initialisation and presets possible, see below.
hth
/*j
> I am trying to use the dstdim with one matrix to have two movies
> in one jit.window that are playing simultaneously. ( each movie is
> inside a black circle, both are inside a big window)
>
> I am lost!! I am not sure how to work with my matrix and how to
> control the dstdim attrributes in order to see the 2 movies in a
> smaller dimention.
and here's a version using OpenGL and GPU processing for optimal
performance and scalability
/*j
///////////
You are guys are incredible!
THANK YOU SO MUCH!
Daniela
FWIW, you can also achieve this type of oval-masking using the
tr.vignette.jxs shader. See the
jitter-examples/render/slab-helpers/transition folder for an example.
You may have to alter the shader slightly for your own purposes.
AB
Thank you. I will look into the shaders thing.
I have never used them but I do want to try them.
D
On 6/13/07, andrew benson wrote:
>
> FWIW, you can also achieve this type of oval-masking using the
> tr.vignette.jxs shader. See the
> jitter-examples/render/slab-helpers/transition folder for an example.
> You may have to alter the shader slightly for your own purposes.
>
>
> AB
>