Hi,
I use [pix_blob] object to get the RGB info of an avi file, which then
controls the volume of three different audio files. With [writesf~] I then
generate a .wav file (44100Hz, no pitch-shift) that I can use (for a
different purpose). The issue is that the duration of the output (.wav) is
different than the duration of the movie...
Some more info:
- My computer (WinXP) is a P4 at 1.6GHz with 512Mb of RAM and an
All-in-Wonder Radeon 7500 video card.
- The avi file is 4'55'' long, 30fps, it results in a wav of 7'22''. I tried
with another avi file generated with Premiere at 12fps, it results in a wav
of 3'00''. I also tried with a quicktime movie with the same result.
Wished result: 4'55'' = (4*60+55)'' = 295''
Obtained results:
1/ wav = 7'22'' = (7*60+22)'' = 442'' at 30 fps = 8850 frames (thanks to the
2nd outlet of [pix_movie])
2/ wav = 3'05'' = (3*60)'' = 180'' at 12 fps = 3540 frames
It seems pd reads the video at app. 20fps. Can we enter a fps as an argument
somewhere so that the video is read in pd at the right speed? Do you think
it could be because of the CPU usage?
Any idea?
Thanks in advance,
emmanuel