let time = TimeInterval(asset.duration.seconds)
                    if (time.isNaN || time.isInfinite){
                        print("无效文件  time.recordDuration.isNaN ||  time.recordDuration.isInfinite    ssssssss")
                        self.isInvalid = true
                    }

 

参考:

https://www.jianshu.com/p/ac50c3466cd1

https://qa.1r1g.com/sf/ask/2940004301/

 

posted on 2023-09-04 16:21  懂事长qingzZ  阅读(82)  评论(0编辑  收藏  举报