[PD] GEM write video stream on a single image
Patrice Colet
colet.patrice at free.fr
Mon Apr 9 16:18:35 CEST 2012
With a redacting a new message to the list I figured out how to get around this message system problem
[savepanel]
|
[set symbol $1(
|
|
| [bang(
|/
[(
|
[set file $1 100(
|
[pix_write]
the symbol argument is prepending file location, so when the patch is saved the message system still recognize file location as a single atom, thanks for your answers, sorry for the noise, happy easter ^^
Colet Patrice
----- Mail original -----
> De: "Patrice Colet" <colet.patrice at free.fr>
> À: "Patrice Colet" <colet.patrice at free.fr>
> Envoyé: Lundi 9 Avril 2012 15:44:31
> Objet: Re: [PD] GEM write video stream on a single image
>
> I've just found how to do it, giving [file image 100( message before
> banging [pix_writr] replaces image0000.jpg, perfect...
>
> now there is another weird thing with messages but it's more related
> with pd, this is bogus...
>
> I use [savepanel] for choosing my image file, and then use [set file
> $1 100( for preparing the message that is sent to [pix_write] before
> banging it. *The image file location contains space*, and I have to
> deal with it.
> So when I reload my patch with this message prepared by [savepanel]
> it doesn't work anymore because the location with spaces isn't a
> single atom anymore but a a list of arguments that pix_write doesn't
> understand.
>
> I tried to put quote marks around the file location like I would do
> in dos console but it doesn't work.
>
> I think this is a bug from message system because it doesn't have
> same behavior when the patch is reloaded,
> maybe there is a trick to faint this bug?
>
> Colet Patrice
>
> ----- Mail original -----
> > De: "Patrice Colet" <colet.patrice at free.fr>
> > À: "pd-list" <pd-list at iem.at>
> > Envoyé: Lundi 9 Avril 2012 15:18:48
> > Objet: [PD] GEM write video stream on a single image
> >
> > Hello,
> >
> > is there a trick to use [pix_write] for writing on one image.jpg at
> > each frame instead of renaming to image001 image002 etc ... ?
> >
> > Colet Patrice
> >
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
>
More information about the Pd-list
mailing list