SiliCompressor icon indicating copy to clipboard operation
SiliCompressor copied to clipboard

set bitrate not effected

Open MaboZZZ opened this issue 5 years ago • 2 comments

public String compressVideo(String videoFilePath, String destinationDir, int outWidth, int outHeight, int bitrate)

use this method with defaultWidth & defaultHeight&mybitrate,but mybitrate not work,the video was not be compressed.how could i have the compressed video with defaultWidth&defaultHeight Only by change de bitrate?

MaboZZZ avatar Mar 20 '19 08:03 MaboZZZ

Having the same problem ...Custom Bitrate doesnt work.....keeps the video size same as before if custom bitrate is passed ... !!!!

mdskrumi avatar Mar 24 '19 11:03 mdskrumi

This is the line, which causes the compression to fail, if we pass the same dimension of the origin with a custom bitrate.

https://github.com/Tourenathan-G5organisation/SiliCompressor/blob/7f359f37cc569082706f05f272a5761e4f6baa59/silicompressor/src/main/java/com/iceteck/silicompressorr/videocompression/MediaController.java#L347

saran2020 avatar Dec 23 '19 14:12 saran2020