[PD] pd_film: intensive use crashes PD

Daniel Almeida int86 at yahoo.com
Fri Jun 12 09:20:17 CEST 2009

Hi all,
I'm making an application to trigger videos using MIDI. I'm coding the MIDI in Ableton Live and sending it through a MIDI loop on my soundcard.
I have two video channels and each has it's on pix_film to show every video for it's layer. Everytime a midi key is pressed, a file is opened. This causes PD to crash after a few minutes. Does anyone has an idea how to go around this situation?
I think the best solution would be to have an array of all videos used in each layer, opened at launch. This might not be the best way because I might get a lot of videos and run out of memory (let's not forget I'm running Live at the same time).
Another solution could be to check if I'm pressing the same midi key so I won't have to load the video again. This might help me make the video loading less intensive.
Any ideas on how to get this thing going?
Daniel Almeida

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090612/9adecb76/attachment.htm>

More information about the Pd-list mailing list