AbedElazizShe / LightCompressor

A powerful and easy-to-use video compression library for android uses MediaCodec API.
Apache License 2.0
537 stars 116 forks source link

bitrate compression on api 31 and above #156

Closed hpanahiird closed 1 year ago

hpanahiird commented 1 year ago

set bitrate mode to CBR when creating output file parameters. on api 31 and above default value is set to VBR which prevents quality loss on encoding. more on MediaCodec this will probably solve issues #137 , #135