Trouble making a video of my sketch running
in
Core Library Questions
•
2 years ago
I know variations of this question has been asked many, many times, and that everyone is aware of the various limitations with Processing / Java's ability to output videos, but I was hoping to get some pointers and advice based on what I've already tried.
The program I am wanting to capture is an audio visualizer I developed for a musician friend of mine, so I need in particular to get the video to sync up with the audio. I am using Minim to play (and analyze) audio in real-time to make an icosohedron respond to music in various ways.
I have already tried:
- Using saveFrame() to output image sequences, then importing these into virtualdub to make a video. I tried using jpg and bmp images, but still the quality was too low (too many artifacts and ghosting).
- Using an external screen capture program. In particular, I tried virtualdub (never got it to work), CamStudio (horrible discoloration issues, not meant for high quality vids) and a couple really obscure and terrible apps. None of them would output decent quality videos, even with all the configuration / settings maxed out.
- Using MovieMaker to output a .mov file, then converting this into an .avi and importing to Windows Live Movie Maker (I know, I feel dirty too). The quality seems OK, but the video is much shorter than the audio file being used (about 1/4 the duration). I am using the following parameters to instantiate MoveiMaker:
- mm = new MovieMaker(this, width, height, "ico.mov", 30, MovieMaker.ANIMATION, MovieMaker.HIGH);
By the way, I am limiting my sketch to 30fps by using frameRate()
Honestly, I am not biased towards any particular method of getting videos made of my sketches,so anything is acceptable! I use Win7 64-bit, and do not have access to a Mac.
Does anyone have any advice about how I can create videos of my work to share on sites like YouTube or Vimeo (HD would be fantastic, but SD would be OK, as long as the quality isn't too bad and the audio + video matches up).
Thanks!
2