-----Original Message-----
From: cgclepper@gmail.com [mailto:cgclepper@gmail.com] On
Behalf Of chris clepper
Sent: segunda-feira, 12 de Dezembro de 2005 16:34
To: Nuno Godinho
Cc: PD list
Subject: Re: [PD] Fading between 4 videos - performance issues
What kind of hardware are you using? I have a 3.4 Ghz P4 HT
with a FireGL card and it struggles to play 4 640x480
Photo-jpeg QT clips at 30fps. The CPU load on a
HyperThreaded machine is misleading as Windows thinks there
are two actual CPUs which isn't the case. So 50% load
usually means the thing is hammered.
Texturing performance under Windows seems pretty awful and
DirectShow and Quicktime aren't much better. I'm looking
into improving things...
On 12/12/05, Nuno Godinho <eu@nunogodinho.com> wrote:
Hi,
I am running 4 videos and I want to fade between them.
Moving a MIDI
slider (ctlin 0..127) I assign a range to each video
(0..30, 30..60,
60..90,
90..127) and then fade between them.
Although the logic is working, the performance is unacceptable. The
CPU is only running at 40% but the videos look slow and the
transitions aren't smooth.
I figured this is because 4 simultaneous films is too much
for GEM in my PC.
So I implemented a way to turn off each film when its transparency
equals 0 since it is not showing anyway.
The problem now is that when I send "1" or "0" to gemhead
to turn it
on/off I sometimes get a delay of over 1 second before that
video turns on or off.
Here attached I send my patches. "vela.pd" is the main one.
Any ideas?
Thanks in advance,
Nuno
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list