0

我正在使用AVAssetWriter将原始视频数据(H264/Mpeg4)流写入文件而无需重新编码。在成功写入前两个数据块后,我收到一个错误:

let isAppended = videoInput!.append(sampleBuffer!)  


Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\"   
UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16351),   
NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x1c085dee0   
{Error Domain=NSOSStatusErrorDomain Code=-16351 \"(null)\"}} 

找不到有关该错误是什么意思以及如何修复它的任何文档?

4

0 回答 0