|
ImporterIssues with the "Movie Importer" patch while rendering with QCRendererI am writing a program for OS X Lion that is basically a video mixer. I create a QCRenderer with my patch using initOffScreenWithSize:colorSpace:composition:. I then programmatically pass video from a camera and a path to a movie file to two separate inputs of the patch. The movie file is then loaded by a "Movie Importer" patch. The problem is that the movie importer returns an error and no movie. The error is: *** Message from This message appears upon processing most of the frames, sometimes it works. This is what I'm doing to get an image from the QCRenderer. [offscreenQCRenderer renderAtTime:[NSDate timeIntervalSinceReferenceDate] arguments:nil]; NSImage *frame = [offscreenQCRenderer createSnapshotImageOfType:@"NSImage"]; Inside the patch I the "Movie Importer" patch time is set to external, and I pass it a modified patch time; looping the overall patch time with a "Round" patch to the length of the movie. Any help with fixing this is greatly appreciated.
|