AVAssetWriter startWriting问题 [英] AVAssetWriter startWriting Problem

查看:104
本文介绍了AVAssetWriter startWriting问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在2G设备上写电影时,AVAssetWriter startWriting返回BOOL False值,但对于所有其他设备,它返回TRUE值且工作正常.任何人都遇到了这个问题,或者您不知道为什么会发生这种情况,请帮帮我

AVAssetWriter startWriting is returning BOOL False value when i'm writing movie on 2G device, but for all other devices its returning TRUE value and working fine.Anyone faced this problem or do you have any clue why its happening,help me please

推荐答案

最可能的原因是您正在运行的特定iOS设备不包括硬件H264编码器.我认为3GS之前的iPhone版本没有硬件,但是我不确定iPad 1是否具有H264编码硬件.我知道iPad 2确实有此硬件.

The most likely cause is that the specific iOS device you are running on does not include the hardware H264 encoder. I think that versions of iPhone earlier than 3GS have no hardware, but I am not sure if the iPad 1 has H264 encoding hardware. I know iPad 2 does have this hardware.

这篇关于AVAssetWriter startWriting问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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