All Projects → zolad → Videoslimmer

zolad / Videoslimmer

A video converter for Android to compress video using MediaCodec(decode and encode). 一个安卓视频压缩工具,使用了Mediacodec

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Videoslimmer

Shaderconductor
ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
Stars: ✭ 1,146 (+611.8%)
Mutual labels:  opengl-es
Kimera
Low-latency hardware accelerated codec based video streaming utility.
Stars: ✭ 113 (-29.81%)
Mutual labels:  opengl-es
Diligentengine
A modern cross-platform low-level graphics library and rendering framework
Stars: ✭ 2,142 (+1230.43%)
Mutual labels:  opengl-es
Pharaohstroy
A maplestory IDE which can develop the multi-platform maplestory game
Stars: ✭ 69 (-57.14%)
Mutual labels:  opengl-es
Gifcompressor
An Android tool to compresses your GIFs into lightweight MP4 video using fast, hardware-accelerated encoders. Supports cropping, rotation, GIF concatenation and much more.
Stars: ✭ 85 (-47.2%)
Mutual labels:  opengl-es
Android Pageflip
3D Style Page Flip on Android
Stars: ✭ 1,668 (+936.02%)
Mutual labels:  opengl-es
Q3lite
Q3lite, an OpenGL ES port of Quake III Arena for embedded Linux systems.
Stars: ✭ 64 (-60.25%)
Mutual labels:  opengl-es
Gapid
GAPID is a collection of tools that allows you to inspect, tweak and replay calls from an application to a graphics driver.
Stars: ✭ 1,975 (+1126.71%)
Mutual labels:  opengl-es
Gdx Vfx
LibGDX post-processing visual effects
Stars: ✭ 105 (-34.78%)
Mutual labels:  opengl-es
Wslivedemo
音视频,直播SDK,rtmp推流,录制视频,滤镜。百万用户,线上迭代半年,已经稳定。
Stars: ✭ 1,782 (+1006.83%)
Mutual labels:  opengl-es
Magnum Bootstrap
Bootstrap projects for Magnum C++11/C++14 graphics engine
Stars: ✭ 69 (-57.14%)
Mutual labels:  opengl-es
Unitedplayer
A video and audio recorder and player based on OpenGL es,FFmpeg,OpenSl es,MediaCodec on Android platform.It gives video interesting effect through fragment shader.一个支持录制和播放音频视频的安卓短视频应用,并可以选择多种仿抖音滤镜特效展示。
Stars: ✭ 75 (-53.42%)
Mutual labels:  opengl-es
Shadows
Shädows - A Shadows & Lights engine for löve
Stars: ✭ 134 (-16.77%)
Mutual labels:  opengl-es
Magnum Plugins
Plugins for the Magnum C++11/C++14 graphics engine
Stars: ✭ 66 (-59.01%)
Mutual labels:  opengl-es
Diligentsamples
Sample projects demonstrating the usage of Diligent Engine
Stars: ✭ 138 (-14.29%)
Mutual labels:  opengl-es
Indielib Crossplatform
IndieLib is a cross-platform Game Graphics engine. Main focus is OpenGL ES 2.0 for mobile iOS operating system, and OpenGL desktop. **NOT SUPPORTED ANYMORE**
Stars: ✭ 64 (-60.25%)
Mutual labels:  opengl-es
Xl player
A high performance Android media player, base on ffmpeg and MediaCodec, support VR video.
Stars: ✭ 126 (-21.74%)
Mutual labels:  opengl-es
Ezfilter
A lightweight (<180KB), easy-to-extend Android filter and dynamic sticker framework for adding filters and stickers for camera, video, bitmap and view.(一个轻量级(<180KB)、易扩展的Android滤镜和动态贴纸框架,支持摄像头、视频、图片和视图添加滤镜和贴纸。)
Stars: ✭ 155 (-3.73%)
Mutual labels:  opengl-es
Gl
Go cross-platform OpenGL bindings.
Stars: ✭ 148 (-8.07%)
Mutual labels:  opengl-es
Filament
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Stars: ✭ 13,215 (+8108.07%)
Mutual labels:  opengl-es

VideoSlimmer

A video converter for Android to compress video using MediaCodec(decode and encode). 一个安卓视频压缩工具,使用了Mediacodec

screenshot1~

Features

  • Using Mediacodec to decode and encode video,support mp4/3gp format
  • High-performance

Dependency

Add this in your build.gradle file

compile 'com.zolad:videoslimmer:1.0.0'

Usage

Call VideoSlimmer.convertVideo and set params

  /**
   * @param srcPath     string, filepath of source file
   * @param destPath    string, ouput filepath
   * @param outputWidth  pixels, output video width
   * @param outputHeight pixels, output video height
   * @param bitrate  int, in bits per second
   * @param listener  the listenr of convert progress
   */
  VideoSlimmer.convertVideo(srcPath, destPath, 200, 360, 200 * 360 * 30, new VideoSlimmer.ProgressListener() {
                        @Override
                        public void onStart() {
                           //convert start

                        }

                        @Override
                        public void onFinish(boolean result) {
                            //convert finish,result(true is success,false is fail)
                        }


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

License

Copyright 2018 Zolad

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].