SiliCompressor
SiliCompressor copied to clipboard
set bitrate not effected
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?
Having the same problem ...Custom Bitrate doesnt work.....keeps the video size same as before if custom bitrate is passed ... !!!!
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