Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
AVLayerVideoGravityResize 在新设备、iOS 10 上不匹配?
具有全屏实时预览功能的相机 previewLayer videoGravity AVLayerVideoGravityResize 制作图像 stillImageOutput captureStillImageAsynchronously
Camera
swift3
iOS10
avcapturesession
将 CMSampleBuffer 转换为 UIImage
这是一个将 CMSampleBuffer 转换为 UIImage 的函数 来自 Apple 文档的代码 func imageFromSampleBuffer sampleBuffer CMSampleBuffer gt UIImage Ge
ios
swift
UIImage
avcapturesession
cmsamplebufferref
iOS AVCaptureSession - 如何获取/设置每秒记录的帧数?
我是 AVCaptureSession 的新手 希望更好地了解如何使用它 因此 我设法将视频流捕获为单独的 CIImage 并将它们转换为 UIImage 现在我希望能够获取每秒捕获的帧数 并且最好能够对其进行设置 知道该怎么做吗 AVCa
ios
framerate
avcapturesession
使用 AVCaptureAudioDataOutputSampleBufferDelegate 快速捕获音量级别
我正在尝试使用 AVCaptureDevice 等它编译和运行的实时音量级别 但这些值似乎是随机的 而且我也不断收到溢出错误 EDIT RMS 范围在 0 到 20000 左右是否正常 if let audioCaptureDevice A
ios
swift
avcapturesession
audiobuffer
AVCaptureSession 音频不适用于长视频
我正在使用 AVCaptureSession 录制带有音频的视频 对于短视频来说一切似乎都正常 但由于某种原因 如果我录制的视频长度超过 12 秒左右 音频就不起作用 Edit 因为这个答案仍然得到点赞 这个答案可以缓解问题 但问题的可能根
ios
avcapturesession
使用 AVFoundation 捕获当前相机图像
当我按下 myButton 时 我试图捕获图像并将其保存到变量中 我应该怎么办 我的代码如下 import UIKit import AVFoundation import MobileCoreServices class ViewCont
ios
swift
AVFoundation
avcapturesession
通话结束后回拨? (恢复 AVCaptureSession)
我有一个摄像机应用程序 我希望它允许用户在打电话时捕捉内容 我可以通过在接到电话且会话中断时断开音频捕获来做到这一点 但由于会话不再中断 我现在无法知道电话何时结束并且可以重新连接音频设备 如果我使用这个回调AVCaptureSession
ios
iOS9
AVFoundation
avcapturesession
avcapturedevice
AVAudioSession AVAudioSessionCategoryPlayAndRecord 故障
我想使用录制带有音频的视频AVCaptureSession 为此 我需要 AudioSessionCategoryAVAudioSessionCategoryPlayAndRecord 因为我的应用程序还播放有声视频 我希望从默认扬声器中听
ios
Objectivec
AVFoundation
avcapturesession
avaudiosession
使用 avcapturesession 切换相机
在这里使用本教程 http www musicalgeometry com p 1297 http www musicalgeometry com p 1297我创建了一个自定义叠加层和图像捕获AVCaptureSession 我试图允许用
ios
avcapturesession
frontcamera
如何在 iOS 9 中将 AVCaptureSession 与 Slide Over 和 Split View 结合使用?
我的团队正在开发一套 SDK条码扫描 https github com pdf417 pdf417 ios 身份证扫描 https github com BlinkID blinkid ios and OCR https github co
ios
Camera
multitasking
avcapturesession
iOS9
AVCaptureVideoDataOutput 和设置 kCVPixelBufferWidthKey & kCVPixelBufferHeightKey
我正在尝试捕获特定尺寸的帧AVCaptureVideoDataOutput通过设置kCVPixelBufferWidthKey kCVPixelBufferHeightKey 问题是缓冲区的宽度和高度永远不会改变 它们总是会回来852x64
iphone
ios
VideoCapture
avcapturesession
切换摄像头后音视频不同步
我正在尝试创建应用程序 在其中可以在录制期间从设备上的不同摄像机录制视频 例如 用户按下前置摄像头的 开始录制 按钮 录制 5 秒后 用户按下 切换摄像头 按钮 应用程序将视频源从前置摄像头更改为后置摄像头 然后继续录制 对于相机切换 我使
ios
xcode
avcapturesession
为什么我的音频 AVCaptureConnection 对于最高分辨率格式不起作用?
我正在开发一个 iOS 项目 该项目使用 AVAssetWriter 和 AVAssetWriterInput 将音频和视频录制到文件中 当视频分辨率限制为 720x1280 时 一切似乎都运行良好 我现在尝试利用 AVCaptureDev
ios
Audio
Camera
avcapturesession
AVAssetWriter 仅在 iOS 13 设备上有音频“爆裂声”
我使用 AVCaptureSession 使用 AVAssetWriter 写入 mov 文件 同样的代码在 iOS 13 之前的设备上不会出现裂纹 在所有 iOS 13 设备上 无论 iPhone iPad 型号如何 都会出现爆裂声 我已
ios
Objectivec
avcapturesession
avassetwriter
iOS Swift 2 录制视频 AVCaptureSession
我创建了一个 AVCaptureSession 并将前置摄像头附加到它 do try captureSession addInput AVCaptureDeviceInput device captureDevice catch print
ios
swift
video
avcapturesession
AVCaptureOutput didOutputSampleBuffer 停止被调用
我对委托方法有疑问didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection of AVCapture
ios
Objectivec
AVFoundation
avcapturesession
iOS 设备快速旋转 180 度会导致相机视图颠倒
我已经实现了下面的代码来更改方向AVCaptureVideoSession基于UIInterfaceOrientation AVCaptureVideoOrientation interfaceOrientationToVideoOrien
当应用程序位于*前台*时,红色录音状态栏“闪烁”
有很多疑问 here https stackoverflow com questions 16878991 hide red recording status bar in ios app when not recording here h
iOS8
avcapturesession
avcapturedevice
AVCaptureSession条码扫描
我目前正在与AVCaptureSession and AVCaptureMetadataOutput 它工作得很好 但我只想知道如何指示仅在特定区域扫描和分析元数据对象AVCaptureVideoPreviewLayer 这是我项目中的代码
ios
AVFoundation
barcode
avcapturesession
从后台返回时 AVCaptureSession 失败
我有一个相机预览窗口 90 的时间都运行良好 然而 有时 当返回我的应用程序时 如果它位于后台 预览将不会显示 这是我在视图加载时调用的代码 void startCamera session AVCaptureSession alloc i
iphone
ios
UIView
avcapturesession
1
2
3
»