Hey andres,
Thanks for your library. I'm trying to record from the sketch window into a movie, but haven't been able to make it work...
I started with the DrawingMovie example and tried a lot of combinations, but not one was able to output a working movie
Some results for a .mov of 90 frames:
- THEORA = 0kb movie
- XVID = 24kb / Error -2048: Couldn't open the file drawing.mov because it is not a file that Quicktime understands.
- X264 = 9kb / Error -2048: Couldn't open the file drawing.mov because it is not a file that Quicktime understands.
- DIRAC = 31kb / Error -2048: Couldn't open the file drawing.mov because it is not a file that Quicktime understands.
- MJPEG = 201kb / Error -2048: Couldn't open the file drawing.mov because it is not a file that Quicktime understands.
- MJPEG2K = 24kb / Error -2048: Couldn't open the file drawing.mov because it is not a file that Quicktime understands.
All the combinations for other fileformats give similar results. Either a 0kb movie or unrecognisable for quicktime and vlc. I am using mm.finish(). My specs are Windows XP SP3, 4GB RAM, Quicktime 7.5.5 and Processing 1.09. In the regular MovieMaker I'm using the settings MovieMaker.ANIMATION, MovieMaker.LOSSLESS. But I'm looking for an alternative because MovieMaker is bottlenecking me at a framerate of 20 fps (1280x720) even though the sketch runs at 120 fps.
So two questions:
- Can GSVideo record 1280x720 in realtime without bottlenecking?
- How can I use GSVideo to record a lossless mov or mp4?
Thanks!