GPUImageMovieWriter - crashing with “Cannot call method when status is 2”

与世无争的帅哥 提交于 2019-12-21 16:57:40

问题


Trying to get started with the really great GPUImage framework so graciously shared by Brad Larson, but having an issue.

When running the SimpleVideoFileFilter sample it always crashes at completion with the following error:

[AVAssetWriterInput markAsFinished] Cannot call method when status is 2

Anyone know how to correct this?

Also do not see the video when run in simulator, does it not work for simulator?

Running iOS 6.1 and Xcode 4.6

Thanks!

I am noticing that finishRecordingWithCompletionHandler is being called twice, it crashes on second call

来源:https://stackoverflow.com/questions/15075172/gpuimagemoviewriter-crashing-with-cannot-call-method-when-status-is-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!