如何在使用"AVCaptureStillImageOutput"捕获静止图像期间避免快门声挣扎? [英] How to avoid shutter sound struggling during capturing still image with `AVCaptureStillImageOutput`?

查看:164
本文介绍了如何在使用"AVCaptureStillImageOutput"捕获静止图像期间避免快门声挣扎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用AVCaptureStillImageOutput捕获图像.一切都很好.但是我试图导航到新的视图控制器,但快门声音却很难.有什么解决方法可以避免这种情况?

I'm capturing image with AVCaptureStillImageOutput. All done fine. But I tried to navigate into new view controller, the shuttering sound struggles. Any workaround to avoid this?

推荐答案

尝试将输出设置为 AVCaptureVideoDataOutput (不是AVCaptureStillImageOutput),并从视频输出中捕获单帧.

Try to set output to AVCaptureVideoDataOutput (not AVCaptureStillImageOutput) and capture single frame from the video output.

这篇关于如何在使用"AVCaptureStillImageOutput"捕获静止图像期间避免快门声挣扎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆