A powerful and easy-to-use video compression library for android uses MediaCodec API.
537
stars
116
forks
source link
Add parameter to file instead of URI,bacause the amount of data in the app increased dramatically #132
Closed
ppg408331701 closed 1 year ago
VideoCompressor.start(),now only pass URIs,
I found that every time I compressed the video, the amount of data in the app increased dramatically,
I'm guessing it's because of the sandbox path required by Android Q, and LightCompressor copies the file once per compression
I hope to add a new method, and I will handle the sandbox path by myself
Or put the compressed cache file in the cache directory