[PD] More pdp blues

Yves Degoyon ydegoyon at free.fr
Tue May 4 15:46:38 CEST 2004



Ian Smith-Heisters wrote:

>I've got PDP and PiDiP working well now. I'm using a webcam stream on one place on a pdp_canvas, recording it,
>and playing it via pdp_qt at other places on the canvas. This works well, but if I try to run both the stream
>and recorded .mov I get a steady stream of pdp_drops, memory usage goes through the roof, and brings everything
>to a grinding halt or makes a segmentation fault. I read this in the archives:
>
>On tor, 2003-03-25 at 11:59, Yves Degoyon wrote:
>  
>
>>that's perfectly normal, this behaviour you get :
>>that's because PiDiP objects do not support grey scale images,
>>you have to pass yuv12 packets to them and, then, eventually,
>>turn the result into grey images with "pdp_grey".
>>
no,this is obsolete now, all packets are converted internally.

>>    
>>
>
>Is this the same problem? If so, how can I convert the stream to yuv12 before it gets to pdp_rec~? Should I
>maybe be using pdp_yqt instead of pdp_qt?
>
this, yes, it's lighter.

>
>I have pdp in its own thread, a [block~ 131072 8] which doesn't seem to help, and memory usage set to 100 megs
>max. 
>
it's not so much, especially for the canvas.

>Problem is, instead of managing the memory as I'd hoped, it just exits when it goes over that limit. I am
>trying to loop the video with pdp_qt 
>
there is a 'loop' message to pdp_qt or pdp_yqt for that purpose.

cheers,
sevy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040504/2948dcfe/attachment.htm>


More information about the Pd-list mailing list