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_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   streaming video in p5?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: streaming video in p5?  (Read 313 times)
michael05

WWW
streaming video in p5?
« on: Feb 14th, 2004, 6:09pm »

hi
 
i tried to use a streaming video source (quicktime) in processing. it is really slow. much slower than in the browser. non streaming sources from the web are slow, too.
 
is my old g3 (powerbook 400) the problem?
 

°°°°°°°°°°°°°°°°°°°°
http://www.m05.de
michael05

WWW
Re: streaming video in p5?
« Reply #1 on: Feb 28th, 2004, 1:18pm »

no. its slow on my g4, too.
 
where is the video section in the reference gone?
http://processing.org/reference/index.html
 
code:
 
BVideo vid;  
 
void setup()  
{
  size(320, 240);
  // Load and play the video in a loop  
  vid = loadVideo("http://170.96.240.28/media/Movies/ijak/http/mrovr/marsRover2_T1.mov" ;);
  //String streamURL = "http://170.96.240.28/media/Movies/ijak/http/mrovr/marsRover2_T1.mov" ;;
  //beginVideo(320,240,15,streamURL);
  repeat(vid);
  //play(vid);
}  
 
void loop()  
{  
  // Draws the video at position [0,0]  
  image(vid, 0, 0);  
}
« Last Edit: Feb 28th, 2004, 1:23pm by michael05 »  

°°°°°°°°°°°°°°°°°°°°
http://www.m05.de
barikan

Email
Re: streaming video in p5?
« Reply #2 on: Feb 28th, 2004, 8:53pm »

Video References are in the Libraries section:
 
http://processing.org/reference/libraries/video/index.html
 
Pages: 1 

« Previous topic | Next topic »