Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GPUImage terminates due to [AVAssetWriter startWriting] Cannot call method when status is 3'

I am having an issue running GPUImage. I have modified SimpleVideoFileFilter program(replaced the filter with a chromakeyfilter) and am using my own video. My program is terminating due to the following error:

[AVAssetWriter startWriting] Cannot call method when status is 3'

I have gone through the forums but not sure why the moviewriter is closing and then someone is writing to it.

I am using iPhone4 running iOS 7.0

Any clues are greatly appreciated. Thanks much!

like image 350
user2869423 Avatar asked Dec 21 '25 10:12

user2869423


1 Answers

Check whether your destination file exists already. If it does, remove it.

like image 158
Darktt Avatar answered Dec 24 '25 11:12

Darktt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!