Quicktime Java OSX 10.7 Lion Error - Invalid Memory Access when working with loading Video
in
Integration and Hardware
•
1 year ago
Hi forum! So, I have code that works on these iMacs running 10.6 Snow Leopard, but wont work at all on my Macbook Pro running Lion (upgraded recently, might be cause of problem). I'm trying to work with video, and I've done both a simple mirror using the built in camera, and a simple video player, but neither of these work on my specific computer.
I've looked up similar issues on the internet but no leads show up to alleviate this problem.
The main error it gives me is:
Invalid memory access of location 0x257f6140 eip=0x257f6140
I've heard from somewhere that it's a sign of a memory leak, but that doesn't make it sound fixable, so I'm a little disappointed.
This is how simple my code is, and it still doesn't work. Help!
If anyone's got some solutions, I'd greatly appreciate it.
import processing.video.*;
Movie mov;PImage output;
void setup() {size( 480, 360);background(0);mov = new Movie(this, "skate.MP4");mov.loop();}
void draw() {image(mov,0,0);}
void movieEvent(Movie m) {m.read();}
And the full error:
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
quicktime.std.StdQTException[QTJava:7.7.1g],-2015=invalidTime,QT.vers:7718000
at quicktime.std.StdQTException.checkError(StdQTException.java:40)
at quicktime.qd.Pict.fromMovie(Pict.java:106)
at quicktime.std.movies.Movie.getPict(Movie.java:797)
at processing.video.Movie.read(Movie.java:423)
at sketch_feb26a.draw(sketch_feb26a.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
Invalid memory access of location 0x257f6140 eip=0x257f6140
1