SilenceLove / HXPHPicker

Photo/Video Selector-Supports LivePhoto, GIF selection, online download of resources on iCloud, and editing of photos/videos
MIT License
364 stars 74 forks source link

Video "处理失败", "Processing failed" #89

Closed t3b123 closed 2 years ago

t3b123 commented 2 years ago

Hello There there are issues with editing a video. When a person select a video from an image picker, for some videos but not all the videos the editor shows a message that it "Processing failed". I am launching the editor like this let controller = EditorController(videoURL: outputUrl, config: self.videoEditorConfig()) controller.videoEditorDelegate = self controller.modalPresentationStyle = .fullScreen self.present(controller, animated: true)

SilenceLove commented 2 years ago

Can you send me the original video?

t3b123 commented 2 years ago

Can you please relook at the export video process. Because there is deprecated code. this only happens when the user make an edit to the video. Sometimes, the app crash, sometimes it shows processing failed, and other time it works but the video half black. This only happens with edited videos. if the user does not apply any edit then it works fine. but any edits to the video it creates this problem. Note: no issue with the photos only videos