Comments (10)
See How to Decrease Binary Size.
from ffmpeg-kit.
@tanersener Do I have to disable the architectures from the terminal?
from ffmpeg-kit.
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.
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.
You can try using a smaller package or build your own package as explained in How to Decrease Binary Size
guide.
from ffmpeg-kit.
@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.
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.
@fabricethilaw I don't know. I suggest building the binaries and testing them.
from ffmpeg-kit.
OK, will do
from ffmpeg-kit.
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)
- Can't remove console.logs in index.js HOT 1
- Request support for vulkan and libplacebo HOT 1
- React-Native/Expo | Cannot use libx265 HOT 4
- [EXPO] How to use --speed flag? HOT 1
- No such filter: 'transpose=2' HOT 4
- [Android] - [Question] Create video from in memory images? HOT 1
- get some error while merging audio with image HOT 1
- Add clearCompletedSessions please:
- MissingPluginException(No implementation found for method getLogLevel on channel flutter.arthenica.com/ffmpeg_kit) package:flutter/src/services/platform_channel.dart 332:7 MethodChannel._invokeMethod HOT 9
- Is there any way to pause and resume the conversion process? HOT 4
- configureCodec returning error -61
- Android No match for targetSdk 34
- Can not set libx264 encoder Settings will report error other encoders no problem HOT 1
- Feature Request: Support --speed flag in ffmpeg_kit_flutter
- Draw Text HOT 1
- Android | Thumbnail generation for HLS video stream
- Apple | Not able to build project
- Are there any plans to adapt to HarmonyOS?
- Flutter License Compliance
- FFmpegKit initialization throws error: FFmpegKit failed to start on brand: HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-kit.