Hi,
in Gem, Im trying to resize a video to take _small_ preview like snapshots that i can save as files (with pix_write), but still sending a stream with the _original size_ to another place, to either display or record.
So far it seems that [pix_resize] deals with resolution of the video while [rectangle] actually sizes it.
And here is the point where i probably haven't understood gem enough (being a bit impatient maybe..:) can i resize what i play with a [rectangle] while not displaying it, while displaying another [rectangle] playing the same feed? Or is there a smart way about this?
Cheers, Martin
You have to use [separator]
[gemhead]
|
[pix_film]
|
|
| [separator]
| |
| [pix_texture]
| |
| [rectangle 4 3]
|
[separator]
|
[pix_texture]
|
[rectangle 2 1.5]
Le 19 juin 08 à 14:35, Martin . a écrit :
Hi,
in Gem, Im trying to resize a video to take _small_ preview like snapshots that i can save as files (with pix_write), but still sending a stream with the _original size_ to another place, to either display or record.
So far it seems that [pix_resize] deals with resolution of the video while [rectangle] actually sizes it.
And here is the point where i probably haven't understood gem enough (being a bit impatient maybe..:) can i resize what i play with a [rectangle] while not displaying it, while displaying another [rectangle] playing the same feed? Or is there a smart way about this?
Cheers, Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hi,
[separator] and [pix_separator] still shows both of the films in the gemwin, on top of each other. is there a way of not showing one of the streams, but still be able to record from it with ex [pix_write]?
a dirty solution would also be to make sure that the stream im recording is hidden behind the other layer in gemwin. how is this determined, which layer is on top?
cheers, martin
On Thu, Jun 19, 2008 at 1:47 PM, Jack jack@rybn.org wrote:
You have to use [separator]
[gemhead] | [pix_film] |
|
| [separator] | | | [pix_texture] | | | [rectangle 4 3] | [separator] | [pix_texture] | [rectangle 2 1.5]Le 19 juin 08 à 14:35, Martin . a écrit :
Hi,
in Gem, Im trying to resize a video to take _small_ preview like snapshots that i can save as files (with pix_write), but still sending a stream with the _original size_ to another place, to either display or record.
So far it seems that [pix_resize] deals with resolution of the video while [rectangle] actually sizes it.
And here is the point where i probably haven't understood gem enough (being a bit impatient maybe..:) can i resize what i play with a [rectangle] while not displaying it, while displaying another [rectangle] playing the same feed? Or is there a smart way about this?
Cheers, Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Martin . wrote:
Hi,
[separator] and [pix_separator] still shows both of the films in the gemwin, on top of each other. is there a way of not showing one of the streams, but still be able to record from it with ex [pix_write]?
a dirty solution would also be to make sure that the stream im recording is hidden behind the other layer in gemwin. how is this determined, which layer is on top?
?
well, you don't have to display your image.
[gemhead] | [translateXYZ] | [rotateXYZ] | [pix_film] | [pix_texture] |
will do a lot of work without displaying anything (as no [rectangle] gets drawn anywhere in the gemchain); nevertheless all the pixel-data (and openGL-stuff) is really executed, so it is available for whatever you want, e.g. [pix_record] or [pix_write]
fgmasdr IOhannes
Thanks for the help.
[gemhead]
|
[pix_film]
|
|
| [pix_separator]
| |
| [pix_texture]
| |
| [pix_invert] (to differentiate the streams)
| |
| [pix_write]
|
[pix_separator]
|
[pix_texture]
|
[rectangle 2 1.5]
here, still i get the image from [rectangle] / gemwin in the recordings from [pix_write]. Is that right?
On Thu, Jun 19, 2008 at 2:50 PM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Martin . wrote:
Hi,
[separator] and [pix_separator] still shows both of the films in the gemwin, on top of each other. is there a way of not showing one of the streams, but still be able to record from it with ex [pix_write]?
a dirty solution would also be to make sure that the stream im recording is hidden behind the other layer in gemwin. how is this determined, which layer is on top?
?
well, you don't have to display your image.
[gemhead] | [translateXYZ] | [rotateXYZ] | [pix_film] | [pix_texture] |
will do a lot of work without displaying anything (as no [rectangle] gets drawn anywhere in the gemchain); nevertheless all the pixel-data (and openGL-stuff) is really executed, so it is available for whatever you want, e.g. [pix_record] or [pix_write]
fgmasdr IOhannes
you can render/ record in a small framebuffer. c
Martin . a écrit :
Hi,
[separator] and [pix_separator] still shows both of the films in the gemwin, on top of each other. is there a way of not showing one of the streams, but still be able to record from it with ex [pix_write]?
a dirty solution would also be to make sure that the stream im recording is hidden behind the other layer in gemwin. how is this determined, which layer is on top?
cheers, martin
On Thu, Jun 19, 2008 at 1:47 PM, Jack jack@rybn.org wrote:
You have to use [separator]
[gemhead] | [pix_film] |
|
| [separator] | | | [pix_texture] | | | [rectangle 4 3] | [separator] | [pix_texture] | [rectangle 2 1.5]Le 19 juin 08 à 14:35, Martin . a écrit :
Hi,
in Gem, Im trying to resize a video to take _small_ preview like snapshots that i can save as files (with pix_write), but still sending a stream with the _original size_ to another place, to either display or record.
So far it seems that [pix_resize] deals with resolution of the video while [rectangle] actually sizes it.
And here is the point where i probably haven't understood gem enough (being a bit impatient maybe..:) can i resize what i play with a [rectangle] while not displaying it, while displaying another [rectangle] playing the same feed? Or is there a smart way about this?
Cheers, Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ok, here a simple patch for what you need. ++
Jack
Le 19 juin 08 à 15:35, Martin . a écrit :
Hi,
[separator] and [pix_separator] still shows both of the films in the gemwin, on top of each other. is there a way of not showing one of the streams, but still be able to record from it with ex [pix_write]?
a dirty solution would also be to make sure that the stream im recording is hidden behind the other layer in gemwin. how is this determined, which layer is on top?
cheers, martin
On Thu, Jun 19, 2008 at 1:47 PM, Jack jack@rybn.org wrote:
You have to use [separator]
[gemhead] | [pix_film] |
|
| [separator] | | | [pix_texture] | | | [rectangle 4 3] | [separator] | [pix_texture] | [rectangle 2 1.5]Le 19 juin 08 à 14:35, Martin . a écrit :
Hi,
in Gem, Im trying to resize a video to take _small_ preview like snapshots that i can save as files (with pix_write), but still
sending a stream with the _original size_ to another place, to either
display or record.So far it seems that [pix_resize] deals with resolution of the video while [rectangle] actually sizes it.
And here is the point where i probably haven't understood gem enough (being a bit impatient maybe..:) can i resize what i play with a [rectangle] while not displaying it, while displaying another [rectangle] playing the same feed? Or is there a smart way about
this?Cheers, Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list