We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › when applet size to big movie doesnt play
Page Index Toggle Pages: 1
when applet size to big movie doesnt play (Read 390 times)
when applet size to big movie doesnt play
Jan 7th, 2008, 10:00pm
 
Hello!

I am just using a simple code with a very small video (2MB 160x120) and my problem is that when i increase the width or height of the applet size above 500 the applet doesnt shows up. Nothing happens.
any help would be appreciate, beacuse i want other stuff also to be on the applet, some drawings...
But even without anything on the applet, just the video doesnt starts playing when the size is over 500.

thnx

The code is pasted bellow.

Code:

import processing.video.*;
Movie myMovie;

void setup() {
size(450, 500);
myMovie = new Movie(this, "mov1.mov");
myMovie.loop();
}

void draw() {
image(myMovie, 0, 0);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
m.read();
}
Re: when applet size to big movie doesnt play
Reply #1 - Mar 11th, 2008, 9:19am
 
 I meets the same problem,even if the same size,it doesn't play well,and when it playing,i saw it almost cost all of the cpu,you know,mine is  Intel Core 2, anyone meets the same,and how to fix it?
Page Index Toggle Pages: 1