次のコードでは,キャプチャはされるが,肝心な動画部分が真っ暗になってしまう・・・
// 新しいコンテキストを作成
CGRect screenRect = [[UIScreen mainScreen] bounds];
UIGraphicsBeginImageContext(screenRect.size);
// カレントコンテキストを取得
CGContextRef context = UIGraphicsGetCurrentContext();
// 黒で塗り潰す
[[UIColor blackColor] set];
CGContextFillRect(context, screenRect);
// 対象ビューのレイヤーをカレントコンテキストに描画
[self.view.layer renderInContext:context];
// カレントコンテキストの画像を取得
UIImage *screenImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(screenImage, nil, nil, nil);
// 新しいコンテキストを作成
CGRect screenRect = [[UIScreen mainScreen] bounds];
UIGraphicsBeginImageContext(screenRect.size);
// カレントコンテキストを取得
CGContextRef context = UIGraphicsGetCurrentContext();
// 黒で塗り潰す
[[UIColor blackColor] set];
CGContextFillRect(context, screenRect);
// 対象ビューのレイヤーをカレントコンテキストに描画
[self.view.layer renderInContext:context];
// カレントコンテキストの画像を取得
UIImage *screenImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(screenImage, nil, nil, nil);