Trying to use the MovieMaker class from the video library within ruby-processing has thrown this error at me:
quicktime.std.StdQTException[QTJava:7.6.0g],-5000=afpAccessDenied,QT.vers:7608000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)
at quicktime.std.movies.Movie.createMovieFile(Movie.java:115)
at processing.video.MovieMaker.initMovie(MovieMaker.java:231)
...
Just wondering if anyone else has run up against this, or if you have suggestions of where else I can look to try solving this. I'm concerned that I might need to recompile the .jar for the video library or come up with a different means of creating movies (like saving every frame and assembling in another program).
I confirmed that I can create movies using the MovieMaker class from within the Processing IDE. It's only when I try to load it in ruby-processing that a permission error is thrown.
I included the library like this:
Code:
class Chart < Processing::App
load_libraries :video
import 'processing.video.MovieMaker'
def setup
@do_record = false
@mm = MovieMaker.new( self, width, height, "drawing.mov", 30, MovieMaker::H264, MovieMaker::HIGH )
...
end
...
end
Thanks.