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

iOS - crash while compressing video #2

Closed
khainhero opened this issue Apr 8, 2020 · 1 comment
Closed

iOS - crash while compressing video #2

khainhero opened this issue Apr 8, 2020 · 1 comment

Comments

@khainhero
Copy link
Contributor

iOS crashes when compressing a video with real device and iOS simulator

Potential fix:
Getting the MediaInfo of the original File before compressing the video

MediaInfo _originalInfo = await videoCompress.getMediaInfo(originalVideoPath);
MediaInfo _compressedVideo = await videoCompress.compressVideo(originalVideoPath);
@khainhero khainhero changed the title iOS crash while compressing video iOS - crash while compressing video Apr 8, 2020
jonataslaw pushed a commit that referenced this issue Apr 16, 2020
@adamdupuis
Copy link

adamdupuis commented Jul 11, 2020

Was this resolved? My iOS (13.5.1) device crashes at compressVideo() with this plugin (2.0.0 from pub) as well as flutter_video_compress without any errors. The potential fix mentioned doesn't change anything.

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

3 participants