i just wrote a little music visualization program and now i want to export it as a video.
i used the MovieMaker with addFrame and finish. so far so good. it generates a .mov file if i start it, but it it only becomes 129kb big and when i finish the program this file jumps back to 2kb.
something seems to be written wrong but i can't see where my fault is. i also dont know how much keyframes i should use.
maybe you guys can help me out. here's the code.
import processing.video.*;
import ddf.minim.*;
MovieMaker mm; Minim minim; AudioPlayer player; void setup () { // Sketch einrichten size (1920, 1080); noStroke (); smooth (); mm = new MovieMaker(this, width, height, "test.mov", 30, MovieMaker.H264, MovieMaker.BEST,5); minim = new Minim (this); player = minim.loadFile ("Cragga_-_Please_Mr_Postman__Dubstep_Refix_.mp3"); //player = minim.loadFile ("SATURATE!RECORDS - heRobust - Albumin Ep (STRTEP002) - 10 Shawty Swing My Way (Busted).mp3"); //player = minim.loadFile ("02-mount_kimbie-would_know.mp3"); //player = minim.loadFile ("Kaczinski - Fuck this Melody2.mp3"); player.play (); }