LeGoffMael / video_editor

A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection.
https://pub.dev/packages/video_editor
MIT License
385 stars 227 forks source link

Crashing on export #100

Closed goaldtesting closed 1 year ago

goaldtesting commented 2 years ago

Hi there, on iOS the app crashes when I try export and I'm getting the following output in the console? This is using the code from the example. stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=3072 MB, unused=0x0)

LeGoffMael commented 2 years ago

Hi, no you should be able to export on debug mode as well.

It looks like the exportation takes too much resources on your phone. You should probably be able to export a shorter video.

gperez-88 commented 2 years ago

same issue on android OutofMemoryError in visualizing trimmer or during exporting

android 8.1 ram: 2gb

AgentRachithHegde commented 1 year ago

The same issue for me in Android it is working but in iOS, if the video is taken from the phone I can't export it because the app is crashing.

LeGoffMael commented 1 year ago

Is this still an issue in the latest version (since 2.0.0) ?

AgentRachithHegde commented 1 year ago

I will check it and confirm @LeGoffMael

ParhaMDeF commented 1 year ago

same problem with ios (not sure about android). the problem came when I upgraded flutter to the latest version. This is the error: stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=3072 MB, unused=0x0) package version: 1.5.4

ParhaMDeF commented 1 year ago

I did some research. I think the problem is video_player package. check this link out.

https://github.com/flutter/flutter/issues/96370

ParhaMDeF commented 1 year ago

The same issue for me in Android it is working but in iOS, if the video is taken from the phone I can't export it because the app is crashing.

I fixed the problem of exporting video taken by phone by setting the resolution to high or medium. I used a camera package to record videos. it may help.

preteambuy commented 1 year ago

is there a fix friends? We are waiting on this fix to release our app. When we export the video recorded using camera the app crashes.

furkeen commented 1 year ago

Is there any solution?

LeGoffMael commented 1 year ago

The latest version 3.0.0 is out. The exportation process is not part of the package anymore. You can now have full control over the exportation process.