Giter Club home page Giter Club logo

Comments (10)

tanersener avatar tanersener commented on May 17, 2024

See How to Decrease Binary Size.

from ffmpeg-kit.

Usama99786 avatar Usama99786 commented on May 17, 2024

@tanersener Do I have to disable the architectures from the terminal?

from ffmpeg-kit.

tanersener avatar tanersener commented on May 17, 2024

just using this makes the size of apk 70mb
and if I use the 'full' version the size becomes 120mb

Not exactly. These libraries include 4 or 5 architectures inside (Main releases have 4, LTS releases have 5 architectures). If you set-up apk splitting or use app bundles as Android recommends in their documentation, the total size downloaded by a user will be one-fifth of that 120 MB.

@tanersener Do I have to disable the architectures from the terminal?

I'm not saying anything about architectures in How to Decrease Binary Size guide. Please read it again.

from ffmpeg-kit.

Usama99786 avatar Usama99786 commented on May 17, 2024

implementation 'com.arthenica:ffmpeg-kit-full-gpl:4.4'
I am using gpl version so now with using the bundle the size is 56mb.
Is there any other way to decrease the size further kindly help me

from ffmpeg-kit.

tanersener avatar tanersener commented on May 17, 2024

You can try using a smaller package or build your own package as explained in How to Decrease Binary Size guide.

from ffmpeg-kit.

MahmoudMabrok avatar MahmoudMabrok commented on May 17, 2024

@Usama99786
I think using bundle for android will be most optimized solution,
u can try split apks at build.gradle and see sizes of apks

from ffmpeg-kit.

fabricethilaw avatar fabricethilaw commented on May 17, 2024

Hi @tanersener, I've read the How to Decrease Binary Size guide.
Please, I want to use FFmpegKit in my app in order to split large videos into small chunks, and also add watermark to the first frames of videos.
Is the following configuration the most efficient ?

--disable-everything
--enable-decoder=bmp,jpeg2000,jpegls,mjpeg,mjpegb,smvjpeg
--enable-demuxer=bmp,jpeg2000,jpegls,mjpeg,mjpegb,smvjpeg
--enable-muxer=mp4
--enable-protocol=file
--enable-encoder=mpeg4 \

from ffmpeg-kit.

tanersener avatar tanersener commented on May 17, 2024

@fabricethilaw I don't know. I suggest building the binaries and testing them.

from ffmpeg-kit.

fabricethilaw avatar fabricethilaw commented on May 17, 2024

OK, will do

from ffmpeg-kit.

github-actions avatar github-actions commented on May 17, 2024

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.

from ffmpeg-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.