Screen capturing AVCameraCapturePreviewLayer
looking too dark in screen captured video. Is there any was to screen capture it.
Asked
Active
Viewed 258 times
2

rmaddy
- 314,917
- 42
- 532
- 579

Muruganandham K
- 5,271
- 5
- 34
- 62
-
I don't understand your question. Do you want to get a frame of the video like the user1111's answer? – dcorbatta Nov 23 '13 at 04:50
-
No one will be able to answer this unless you make your question more clear. – Mick MacCallum Nov 25 '13 at 11:50
-
Question looking much understandable! ok for your better understanding, #1 i'm screen capturing a view with its subviews. #2. i'm adding `AVCameraCapturePreviewLayer` which displays camera preview, to the view. #3. this preview layer not visible in screen captured video. – Muruganandham K Nov 25 '13 at 13:30
1 Answers
1
After long research i found a way to capture camera preview. Just convert CMSampleBuffer
to CIImage
or UIImage
. myAvController sample code gives a prety good solution.

Muruganandham K
- 5,271
- 5
- 34
- 62