FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Video, Camera
(Moderator: REAS)
   framerate problem
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: framerate problem  (Read 1774 times)
unique255


framerate problem
« on: Jan 13th, 2005, 4:34pm »

the motion tracking of a livestream works well, but it jerks too much. the framerate is too bad.
 
how can i change the size from the huge 768x520 to 320x240. processing resized the video to 320x240. but i want my source-video to have 320x240-size and not 768x520.
 
cheers, jan
 
ndmccormack


framerate
« Reply #1 on: Feb 17th, 2005, 8:07pm »

i presume you're using  the built in video libraries to iniat the video
 
processing setup with video capture dimensions can be set up as follow
 
void setup () {
  // processing sketch dimensions
  size (320, 240);  
 
  // processing sketch framerate
  framerate (25);
 
  // video capture dimensions and frame rate: (x, y, framerate)
  beginVideo(320, 240, 25);  
}
 
 
do note that the video capture dimensions and frame rate are independent to the processing sketch dimensions and framerate and can be completely different
« Last Edit: Feb 17th, 2005, 8:09pm by ndmccormack »  
Pages: 1 

« Previous topic | Next topic »