Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compress a video file in android?

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?

like image 617
Addison Tec Avatar asked Nov 23 '22 19:11

Addison Tec


1 Answers

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

like image 199
younes khanbaba Avatar answered Dec 29 '22 04:12

younes khanbaba