4

내가 AVFoundation와 프로젝트를 진행하고 현재 다음과 같은 오류가 점점 오전 :OSStatus -12500이란 무엇입니까?

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=0x10021ee80 {NSUnderlyingError=0x10015cee0 "The operation couldn’t be completed. (OSStatus error -12500.)", NSLocalizedFailureReason=An unknown error occurred (-12500), NSLocalizedDescription=The operation could not be completed}

이 GetMacOSStatusErrorString 및 GetMacOSStatusCommentString 모두 아무것도 반환하지 않으며, 그것은 내가 무엇을 말할 수에서 모든 헤더 파일에 문서화되어 있지 않습니다.

이 오류를 재현하려면 https://github.com/RSully/interframe/archive/3f9eb52c51f4f5ac593c295fc05e7b2771483b18.zip (특정 커밋 링크)을 다운로드 할 수 있습니다. 이 프로젝트는 입력 파일 (mp4)과 출력 파일 (m4v)의 두 인수를 기대합니다.

간단히 말해, AVAssetExportSession을 사용하여 AVMutableCompositionTracks 및 AVMutableVideoComposition (이 세 트랙을 최종 비디오 1 개로 합성)을 사용하여 AVMutableComposition을 작성하고 있습니다. 이 오류는 컴포지션의 트랙이나 비디오 컴포지션의 지침에서 수행하고 있기 때문에 발생할 수 있습니다. 어떤 오류 코드가 어떤 디버깅을 더 시작할 지 알려주는 의미로는 알 수 없습니다.

편집 : committed 코드의 해당 섹션이 여전히 -12500 인 간단한 버전이 있습니다. https://github.com/RSully/interframe/archive/02cae3d127c13e92992d77fa6c54b4ff8f67e394.zip

편집 : Apple에 예제 프로젝트 및 오류 코드와 함께 버그 보고서를 제출했습니다. rdar : DTS에서 // 16619826

답변

0

응답 :

I've since learned that error -12500 is "SourceFrameMissing".

관련 문제