I am building an app that can trim a video into multiple segments , for that purpose i have used ffmpeg library
This command does all the work
ffmpeg -i testfile.mp4 -c copy -f segment -segment_time 1200 testfile_piece_%02d.mp4
But including this library increased my app size upto ~45 mb
I want to reduce my apk size
I want help in
- Deleting non required libs like x86 , x86_64
- or Building ffmpeg with required libs only but i dont know which lib is required for segment purpose
- and also I dont know how to build ffmpeg from source code
I am using this library 'com.arthenica:mobile-ffmpeg-min-gpl:4.4.LTS'