Always compressing 32.0 Bytes
See original GitHub issueI use Video Compressor class. But It always compressing 32.0 Bytes.
This is my code.
`Uri uri = Uri.parse(filePath); VideoCompressor.start( getApplicationContext(), uri, filePath, desFile.getAbsolutePath(), new CompressionListener() { @Override public void onStart() { Trace.Debug(“++ onStart()”); }
@Override
public void onSuccess() {
Trace.Debug("++ onSuccess()");
Trace.Debug(">> file.length() = " + desFile.length());
}
@Override
public void onFailure(@NotNull String s) {
Trace.Debug("++ onFailure()");
Trace.Debug(">> String s = " + s.toString());
}
@Override
public void onProgress(float v) {
Trace.Debug("++ onProgress()");
}
@Override
public void onCancelled() {
Trace.Debug("++ onCancelled()");
}
}, VideoQuality.MEDIUM, false, false
);`
How to get collect compressing :?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Why compressed bytes is bigger than bytes? - Stack Overflow
I thought compressedBytes should be less. If compressing something always made it smaller, what's to stop you from compressing a zip file ...
Read more >Results of experimenting with Brotli for dynamic web content
Compression is one of the most important tools CloudFlare has to accelerate website performance. Compressed content takes less time to ...
Read more >What is the minimum bytes recommended for compression?
There is no universal answer. It all depends on which kind of data. Some will need 1 KB before starting to show visible...
Read more >Troubleshoot issues compressing files in CloudFront
I'm using Amazon CloudFront distribution to automatically serve compressed objects, but the content is not compressed in the viewer.
Read more >SMB Compression | Microsoft Learn
SMB compression allows an administrator, user or application to request compression of files as they transfer over the network.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I can confirm the bug is fixed in 0.9.3. Compile/target sdk 30, running on android 10
Thanks !
@AbedElazizShe, There seems to be an issue with Gradle Installation in version 0.9.3, as many classes and interfaces such as VideoCompressor, VideoQuality and CompressionListener are not present in the final installed package. I am trying to use these classes in Java, and as most of these have been written in Kotlin, it is possible that they are not accessible because of this (an issue with Java class generation?). This same thing also happens with versions 0.9.1 and 0.9.2. However, when I install version 0.9.0, all of these classes are suddenly accessible.
Should I post this as a new issue or continue the conversation here?