Audio problem with video
in
Core Library Questions
•
1 year ago
Hello I'm having a problem with my video in processing.
After three seconds of the video playing the audio disapears. Why does the audio disapear? What should I do? I'm also totaly new to processing and would be happy if someone could help me. :)
Here is my code:
import processing.video.*;
Movie theMov;
void setup() {
size(screenWidth, screenHeight, P2D);
background(0, 0, 0);
theMov = new Movie(this, "cool.mov");
theMov.play();
}
void draw() {
image(theMov, screenWidth/4, screenHeight/5, 640, 480);
}
void movieEvent(Movie m) {
m.read();
}
1