WCLRecordVideo icon indicating copy to clipboard operation
WCLRecordVideo copied to clipboard

视频方向旋转的问题

Open LeeWongSnail opened this issue 8 years ago • 7 comments

你好,我的视频录制界面是强制横屏的 于是我设置了 _previewLayer.connection.videoOrientation = AVCaptureVideoOrientationLandscapeRight;

但是我录制出来的视频 是有问题的 如下图 img_3751

LeeWongSnail avatar Oct 12 '16 11:10 LeeWongSnail

image

在这里做了一下处理 是可以的了

作者有什么更好的方法吗?

LeeWongSnail avatar Oct 12 '16 11:10 LeeWongSnail

@LeeWongSnail 这个其实主要问题是屏幕的宽高比,只要符合16:9,都是不会有黑边的,但你的videoInput是什么的属性,这个我怎么没设置出来?

baantatsu avatar Oct 25 '16 03:10 baantatsu

@631106979 你好 我在使用的过程中边录边写内存占用非常高 请问有什么解决办法吗

LeeWongSnail avatar Oct 27 '16 11:10 LeeWongSnail

@LeeWongSnail 具体是什么操作呢,边录制边写,如果写到内存里肯定内存会变大,写到文件里面不会,我刚测试一下,使用时内存占用并不是很高

imwcl avatar Oct 27 '16 12:10 imwcl

@631106979 刚才试了一次的确是很大 不过现在又好了,还有一个问题,我在录制结束的时候 [AVAssetWriter startWriting] Cannot call method when status is 0 是什么原因呢?

LeeWongSnail avatar Oct 27 '16 12:10 LeeWongSnail

@LeeWongSnail 这个不太清楚,会崩溃么

imwcl avatar Oct 27 '16 14:10 imwcl

是的 会崩溃 发自网易邮箱大师 在2016年10月27日 22:53,W_C__L 写道:

@LeeWongSnail 这个不太清楚,会崩溃么

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

LeeWongSnail avatar Oct 27 '16 15:10 LeeWongSnail