Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刘海屏的手机录视频失败 #16

Open
JFPURE opened this issue May 25, 2020 · 3 comments
Open

刘海屏的手机录视频失败 #16

JFPURE opened this issue May 25, 2020 · 3 comments

Comments

@JFPURE
Copy link

JFPURE commented May 25, 2020

2020-05-25 15:08:57.870957+0800 SLTips[4353:1354746] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.893609+0800 SLTips[4353:1355132] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.895508+0800 SLTips[4353:1354746] 视频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.917201+0800 SLTips[4353:1354893] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.924087+0800 SLTips[4353:1354746] 视频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.939958+0800 SLTips[4353:1354893] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.961779+0800 SLTips[4353:1354746] 视频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.963772+0800 SLTips[4353:1354893] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.986542+0800 SLTips[4353:1355132] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:57.993477+0800 SLTips[4353:1354893] 视频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:58.009625+0800 SLTips[4353:1355132] 音频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:58.028094+0800 SLTips[4353:1354893] 视频写入失败, 错误:The operation could not be completed
2020-05-25 15:08:58.395779+0800 SLTips[4353:1354674] 结束录制
2020-05-25 15:08:58.475567+0800 SLTips[4353:1354674] 视频文件大小 === 0.00M
2020-05-25 15:08:58.485146+0800 SLTips[4353:1354674] 录制成功 (null)

@JFPURE
Copy link
Author

JFPURE commented May 25, 2020

_avCaptureTool.videoSize = CGSizeMake(SL_kScreenWidth0.8, SL_kScreenHeight0.8);
我调成0.7就可以了,但是录制的视频显示的范围比原录制要小
我的手机是 iPhone XS Max
发现在scale = 3 的时候就会录视频失败
望解答。

@menhui222
Copy link

我也是同样问题

@Upika
Copy link

Upika commented Nov 23, 2021

_avCaptureTool.videoSize = CGSizeMake(SL_kScreenWidth0.8, SL_kScreenHeight0.8);
我调成0.7就可以了,但是录制的视频显示的范围比原录制要小
我的手机是 iPhone XS Max
发现在scale = 3 的时候就会录视频失败
望解答。

请问下是怎么解决的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants