 |
Author |
Topic: streaming video in p5? (Read 313 times) |
|
michael05
|
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
|
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
|
|
|
|