All Projects → fishwjy → Videocompressor

fishwjy / Videocompressor

Licence: apache-2.0
A High-performance video compressor for Android using Hardware decoding and encoding API(MediaCodec).

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Videocompressor

Yui Css Compressor Php Port
A PHP port of the YUI CSS compressor.
Stars: ✭ 220 (-67.12%)
Mutual labels:  compressor
SimpleCompressor
Code and theory of a look-ahead compressor / limiter.
Stars: ✭ 70 (-89.54%)
Mutual labels:  compressor
Lizard
Lizard (formerly LZ5) is an efficient compressor with very fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.
Stars: ✭ 408 (-39.01%)
Mutual labels:  compressor
Shafa-CD
File Compressor written in C using both Shannon Fano and RLE algorithms
Stars: ✭ 24 (-96.41%)
Mutual labels:  compressor
Curtail
Simple & useful image compressor.
Stars: ✭ 246 (-63.23%)
Mutual labels:  compressor
bytepress
Compressor for .NET executables
Stars: ✭ 33 (-95.07%)
Mutual labels:  compressor
Turbobench
Compression Benchmark
Stars: ✭ 211 (-68.46%)
Mutual labels:  compressor
Rust Brotli
Brotli compressor and decompressor written in rust that optionally avoids the stdlib
Stars: ✭ 504 (-24.66%)
Mutual labels:  compressor
Origami
Packer compressing .net assemblies, (ab)using the PE format for data storage
Stars: ✭ 111 (-83.41%)
Mutual labels:  compressor
EasyCompressor
⚡ A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.
Stars: ✭ 167 (-75.04%)
Mutual labels:  compressor
roadroller
Roadroller: Flattens Your JavaScript Demo
Stars: ✭ 253 (-62.18%)
Mutual labels:  compressor
VIDEOconvertor
A stable and Fast telegram video convertor bot which can encode into different libs and resolution, compress videos, convert video into audio and other video formats, rename with thumbnail support, generate screenshot and trim videos.
Stars: ✭ 180 (-73.09%)
Mutual labels:  compressor
LZ77-Compressor
A simplified implementation of the LZ77 compression algorithm
Stars: ✭ 70 (-89.54%)
Mutual labels:  compressor
Sndfilter
Algorithms for sound filters, like reverb, dynamic range compression, lowpass, highpass, notch, etc
Stars: ✭ 246 (-63.23%)
Mutual labels:  compressor
Compressor
An easy to use and well designed image compress library for Android, based on Android native image library. Put forward a framework for quick switch from different compress algorithm.
Stars: ✭ 476 (-28.85%)
Mutual labels:  compressor
Image Shrinker
App for macOS. Minify your images and graphics with just one drop. Autorenamed in the same place where it comes from. Immediately!
Stars: ✭ 217 (-67.56%)
Mutual labels:  compressor
chpc
CHPC: Cheap Heat Pump Controller
Stars: ✭ 27 (-95.96%)
Mutual labels:  compressor
Turbopfor Integer Compression
Fastest Integer Compression
Stars: ✭ 520 (-22.27%)
Mutual labels:  compressor
Lzbench
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
Stars: ✭ 490 (-26.76%)
Mutual labels:  compressor
easyeffects
Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
Stars: ✭ 3,408 (+409.42%)
Mutual labels:  compressor

VideoCompressor

A High-performance video compressor for Android using Hardware decoding and encoding API(MediaCodec).

Demo

Demo

Usage

Call compressVideoLow, compressVideoMedium and compressVideoHigh that indicates 3 quality of compressing.

    VideoCompressTask task = VideoCompress.compressVideoLow(tv_input.getText().toString(), destPath, new VideoCompress.CompressListener() {
                @Override
                public void onStart() {
                    //Start Compress
                }

                @Override
                public void onSuccess() {
                    //Finish successfully
                }

                @Override
                public void onFail() {
                    //Failed
                }

                @Override
                public void onProgress(float percent) {
                    //Progress
                }
            });

Performance

You can find some test results in pic/test_reports.

I compress a video which is 168MB(00:01:06).

And it took 1 minute for compressing.

The result of compressing is 11MB.

So it's a great job by MediaCodec :) .

License

Copyright 2017 Vincent Woo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].