i have list of video files in my sdcard.when i click the selected video in gridview,i want to compress the selected video file in android.How to compress a video file in android.is there any sample code availavble?
I think the best solution for video compression is using ffmpeg
library.
Here you can find a sample android app that used that library:
https://github.com/umeshbsa/ffmpeg-video-compresion-with-progress-android
another lovely library is silicompressor
you can find that here:
https://github.com/Tourenathan-G5organisation/SiliCompressor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With