tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
400 stars 51 forks source link

Bundle size hugely increased after using FFMPEG #238

Closed bekatd closed 3 years ago

bekatd commented 3 years ago

Description After adding ffmpeg library to my rn project (which I use only for video trimming) bundle size for android is increased drastically - by 100mb. It's not acceptable. Is there any way to reduce size somehow, consider that I am only using video trimming functionality

Expected behavior Bundle size should not increase by 100 mb

Current behavior Bundle size increased by 100 mb for only simple video trim functionality

Screenshots image

Logs N/A

Environment

Other N/A

mertbuldur commented 3 years ago

I have this problem, did you solve it?

bekatd commented 3 years ago

Yes I used min package, but it did not help so eventually I am distributing bundles for each architecture, which reduced budle size from 130 mb to 20 mb

mertbuldur commented 3 years ago

hmm i use audio package , my bundle size 68 mb :/

bekatd commented 3 years ago

Link for multiple apk building

mertbuldur commented 3 years ago

@bekatd It makes sense, I would do it that way, wouldn't it be a problem?

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.