Hello, I create my movie this way:
QTMovie* qtMovie = [[QTMovie alloc] initToWritableFile: path error: &nserror]; NSDictionary* attributes = [NSDictionary dictionaryWithObjectsAndKeys: @"mp4v", QTAddImageCodecType, [NSNumber numberWithInt: codecHighQuality], QTAddImageCodecQuality, [NSNumber numberWithLong: 10000L], QTTrackTimeScaleAttribute, nil]; QTTime duration = QTMakeTime( 10000./mFrameRate, 10000 ); for( ""every frame"" ) { NSImage* img = ""get the correct frame""; [qtMovie addImage: img forDuration: duration withAttributes: attributes] [qtMovie setCurrentTime: [qtMovie duration]]; [img release]; } How do I add sound to the movie ? I have the sound in memory in PCM format. I've found how to add a sound track, but the QTTrack class has only an addImage:... method ! Thanks. -- Keep intel OUTSIDE my Mac ! Hiii !!! I can see Intel chips creeping around my G5 ! Eric M. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com