polarby / render

A package to render any native static and moving flutter widgets to exportable formats
https://pub.dev/packages/render
MIT License
49 stars 26 forks source link

The final app size is enormous #31

Open Kaizodo opened 1 month ago

Kaizodo commented 1 month ago

This package is Amazing and this is exactly what i was looking for however i endup on a deadwhen when my final app build came out 100mb+. i know ffmpeg is large but not 100mb large , i just build the release mode app with bare minimum code and output apk size is 100mb+ which is crazy

also documentation is really confusing kindly add some working examples for each recording method that would be really great.

polarby commented 1 month ago

There is an extensive and detailed documentation. A whole working example can be found in the example folder.

Nonetheless if you need just part of the FFmpeg functions you can replace the FFmpeg paths with your need. Kindly refer to the flutter FFmpeg plugin to see the different import options and fork a custom version.

Please also consider compressing options, deferred loading or other methods to reduce your app. The render plugin itself is essentially just a extensive but lean wrapper for FFmpeg - there isn't much room for optimization on this plugins side...