Post

Replies

Boosts

Views

Activity

what you see is what you get in AVCaptureVideoPreviewLayer
I created AVCaptureVideoPreviewLayer to get the video stream, videoGravity = AVLayerVideoGravityResizeAspectFill. But in the method - (void)captureOutput:(AVCaptureOutput *)output didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection returns. I found that the actual conversion into UIImage is not what the user sees in AVCaptureVideoPreviewLayer, it is much more than what the user sees in AVCaptureVideoPreviewLayer, how can I get the sampleBuffer that the user sees in AVCaptureVideoPreviewLayer
0
0
989
Dec ’22
what you see is what you get in AVCaptureVideoPreviewLayer
I created AVCaptureVideoPreviewLayer to get the video stream, videoGravity = AVLayerVideoGravityResizeAspectFill. But in the method - (void)captureOutput:(AVCaptureOutput *)output didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection returns. I found that the actual conversion into UIImage is not what the user sees in AVCaptureVideoPreviewLayer, it is much more than what the user sees in AVCaptureVideoPreviewLayer, how can I get the sampleBuffer that the user sees in AVCaptureVideoPreviewLayer
Replies
0
Boosts
0
Views
989
Activity
Dec ’22