Skip to content
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

压缩视频出错 AVAssetExportSessionStatusFailed #1040

Closed
AngryOC opened this issue Dec 25, 2018 · 4 comments
Closed

压缩视频出错 AVAssetExportSessionStatusFailed #1040

AngryOC opened this issue Dec 25, 2018 · 4 comments

Comments

@AngryOC
Copy link

AngryOC commented Dec 25, 2018

提bug前必看
请先回答下列三个问题,否则不允处理,谢谢配合。
1、我最新的Demo是否有这个bug?【如果Demo没问题,请升级新版
答:有

2、你用的是什么版本?升级到最新版后是否正常?
答:最新的demo

3、是否有改动过我库内部的代码?【如有,请告诉我你改了什么
答:否

bug内容描述
项目中从相册压缩某个视频(大小:13M)到沙盒( 大部分能压缩成功), 提示 AVAssetExportSessionStatusFailed, 运行demo, 存在同样的问题.

目前我项目中不再压缩视频, 直接从相册写到沙盒,就可以了, 出现压缩失败, 不知道什么原因, 希望看看.

我如何复现这个bug?

  1. 下载相关视频 链接: https://pan.baidu.com/s/1ERrxaZCefvTciF8xaRYn7Q 提取码: sh35 , 保存到手机相册;
    2.运行最新demo, allowPickingMultipleVideo是NO,选择下载的视频, 确定选择, 会执行下面的方法, 报错;

// 如果用户选择了一个视频且allowPickingMultipleVideo是NO,下面的代理方法会被执行

  • (void)imagePickerController:(TZImagePickerController *)picker didFinishPickingVideo:(UIImage *)coverImage sourceAssets:(PHAsset *)asset

截图
image

@CCBrother
Copy link

我也遇到同样问题

@mlp1995
Copy link

mlp1995 commented May 28, 2019

老哥这个问题解决了吗

@misanyrock
Copy link

老哥这个问题解决了吗 +1

@banchichen
Copy link
Owner

Duplicate of #1073
升级到3.5.3试试哈,原因我写在1073里了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants