[GEM-dev] pix_write \ pix_image

Фывапр Олджэвич tofuckof at inbox.ru
Fri Jun 14 04:44:46 CEST 2013


 Hi, dear GEM-list !

i'm trying to do this:

1) live video goes into PD via web-camera and [pix_video] 
2) with some intervals of time, given by [metro] ...
3) ... the video is captured into pictures and stored to HD as jpeg or tif files with [pix_write]
4) in parallel [pix_image] takes the pictures from HD and showes them as slide-show
5) as more the pictures produced - the more shown and so on..

very simple idea - a kind of algorythm for continues frame-by-frame animation  

- ido it via HD but not [pix_buffer] because it is the installation and slide show will need to be continued form the very first image after the PC shot down and switch on next days .. so i need to store images and to match them with new names .. 

problems wich need your help:

1] i don't need to show the actual video stream.. i just need to show slide show.. but [pix_write] captures only if smthng is rendered to the gemwin

- can i make the second gemwin for the slideshow ?

- ok, i can let there be two pictures rendered together: left - the live ; right - the slideshow... so i tried to capture only half of the window - and the [pix_write] has the [Xpos Ypos( and the same parameteres for Size ... but nowhere told in what numeration it is ? .. it is not the same as size and position of geometries such are [rectangle] - so i can't easily match the area to capture.. How can i do it ???  

2] i need to make my own names for the files stored - simple like : 1.jpg ; 2.jpg ...  [pix_write] doesn't allow that. it makes some difficult names. 

- how could i then recall that files with [pix_image] ?  how can i form a message with the filename like "gem00001.tif" , where the only part will be changing the "1" .. i tryied [makefilename], but it makes [symbols], which can't be put into [message( - it means useless for the changing filenames on the fly ... ? 

Thanks for your help !
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20130614/95349e25/attachment.htm>


More information about the GEM-dev mailing list