tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

need to minimize build size - operation compression #668

Closed kunj-dev closed 3 years ago

kunj-dev commented 3 years ago

Firstly thank you so much for such an amazing library.

Initially i used rn-ffmpeg for video compression, which works like charm, but the only issue I see is drastic increase in app size. After some googling, and reading your issues I came to a conclusion of customizing the build.

I read that i have to use --disable-everything for not including all the components. I am pretty new to all of this and I don't really know what all components I would need for video compression.

I am using this code for compressing video currently RNFFmpeg.execute(-i ${oldPath} -crf 25 -preset veryfast -vf \"scale=0.60iw:0.60ih\" ${newPath});

I am trying to find workaround for this two things

Thank you so much in advance. Any help would be greatly appreciated!

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.