zetbaitsu / Compressor

An android image compression library.
7.08k stars 963 forks source link

Video file size increased after compression #135

Closed kpradeepkumarreddy closed 4 years ago

kpradeepkumarreddy commented 5 years ago

I tried to compress a 15 MB video file and after compression, the file size became 22 MB. The following is the code i'm using:- String compressedVideoFilePath = SiliCompressor.with(context) .compressVideo(actualVideoFile.getAbsolutePath(), actualFileDirPath); File compressedVideoFile = new File(compressedVideoFilePath); float fileSizeAfterCompress = (float) (compressedVideoFile.length() / (1024.0 * 1024.0));

zetbaitsu commented 4 years ago

Sorry, I think you are in the wrong place. For SiliCompressor issue please post at this repo https://github.com/Tourenathan-G5organisation/SiliCompressor