Thanks, guys! Yes, I, too, am worried that it's something really tiny and simple that I've overlooked, but I just went through all the code, line by line, and everything that's in the example code is also in my sketch, including key bits like:
- mm instantiation
- mm.start()
- updatePixels
- mm.addFrame()
- mm.finish()
I would post the code, but it's a big project with several classes across five .pde files, and therefore not easy to paste into the forum here.
That said, I just noticed something strange with the queued and dropped frames. When I run the example sketch, I always see only one queued frame, and always zero dropped frames:
- Number of queued frames : 1
- Number of dropped frames: 0
- Number of queued frames : 1
- Number of dropped frames: 0
However, with my sketch, the number of queued frames increases until it hits the max (50), at which point the dropped frames starts increasing, too:
- GSVideo version: 0.9
- Number of queued frames : 1
- Number of dropped frames: 0
- Number of queued frames : 2
- Number of dropped frames: 0
- Number of queued frames : 3
- Number of dropped frames: 0
- Number of queued frames : 4
- Number of dropped frames: 0
- Number of queued frames : 5
- Number of dropped frames: 0
- ...
- Number of queued frames : 47
- Number of dropped frames: 0
- Number of queued frames : 48
- Number of dropped frames: 0
- Number of queued frames : 49
- Number of dropped frames: 0
- Number of queued frames : 49
- Number of dropped frames: 1
- Number of queued frames : 49
- Number of dropped frames: 2
- Number of queued frames : 49
- Number of dropped frames: 3
- ...
- Number of queued frames : 49
- Number of dropped frames: 47
- Number of queued frames : 49
- Number of dropped frames: 48
- Number of queued frames : 49
- Number of dropped frames: 49
- Number of queued frames : 49
- Number of dropped frames: 50
- Number of queued frames : 49
- Number of dropped frames: 51
- Number of queued frames : 49
- Number of dropped frames: 52
- Number of queued frames : 49
- Number of dropped frames: 53
- Number of queued frames : 49
- Number of dropped frames: 54
- Number of queued frames : 49
- Number of dropped frames: 55
- Number of queued frames : 49
- Number of dropped frames: 56
- Number of queued frames : 49
- Number of dropped frames: 57
This goes on for as long as I let the sketch run.
So it looks like all frames are being queued, but never processed/encoded, so eventually they get dropped. That would explain why no .ogg file is being created (since there are zero frames to put in it!), but why wouldn't any frames be processed?