プレビューおよびキャプチャしているビデオを水平方向に反転する必要があります。ああ、iChat、私は Web カメラを持っていて、ユーザーが鏡を見ているように見せたいと思っています。
で Quicktime ビデオをプレビューしていQTCaptureView
ます。私のキャプチャは、次のような方法でフレームごとに行われます(理由については説明しません)。
imageRep = [NSCIImageRep imageRepWithCIImage: [CIImage imageWithCVImageBuffer: frame]];
image = [[NSImage alloc] initWithSize: [imageRep size]];
[image addRepresentation: imageRep];
[movie addImage: image forDuration: someDuration withAttributes: someAttributes];
任意のヒント?