-
Notifications
You must be signed in to change notification settings - Fork 966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视频加水印有些视频会报错Error Domain=AVFoundationErrorDomain Code=-11841 "Operation Stopped" UserInfo=0x1625b960 {NSLocalizedDescription=Operation Stopped, NSLocalizedFailureReason=The video could not be composed.} #314
Closed
Comments
改过之后没出现过错误了吗 |
是的目前没发现有啥问题 |
因为我的视频不是来自相册,所以我将此方法暴露出来。
调用方法参数如下
|
|
不行。。 |
@xxxIxxxx 你把视频导入相册,然后用demo试一下看是否能成功添加水印,图片格式jpg和png应该都行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#warning 修改 原为 assetVideoTrack 后改为videoTrack 发现可以解决 error code=-11841
AVMutableVideoCompositionLayerInstruction *layerInstruction = [AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstructionWithAssetTrack:videoTrack];
The text was updated successfully, but these errors were encountered: