Code Monkey home page Code Monkey logo

ivcompressor's Introduction

javadoc Maven Central

Build Status Maven Build Known Vulnerabilities

IVCompressor

It is the only java library which is customly built to include both image and video compression algorithms to ease the conversion of Image and Video files in java.

Features:

  • Resize Images from higher resolution to smaller resolution.
  • Convert Video Files to different format.
  • Resize video files to smaller size by reducing the resolution.
  • Custom resolution.
  • Uses java based classes for Image compression to smaller resolution.
  • Uses FFMPEG for Video compression and conversion

To Know more about IVCompressor Click Here

ivcompressor's People

Contributors

srikanthreddyyy avatar techgnious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ivcompressor's Issues

Error Occurred while resizing the video

io.github.techgnious.exception.VideoException: Error Occurred while resizing the video
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at io.github.techgnious.IVCompressor.encodeVideo(IVCompressor.java:510)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at io.github.techgnious.IVCompressor.reduceVideoSize(IVCompressor.java:269)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at com.krunal.example.MainActivity.onActivityResult(MainActivity.java:247)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.Activity.dispatchActivityResult(Activity.java:8408)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.ActivityThread.deliverResults(ActivityThread.java:5318)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.ActivityThread.handleSendResult(ActivityThread.java:5366)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
2021-12-09 11:44:07.982 26426-26426/com.krunal.example W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2203)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at android.os.Looper.loop(Looper.java:268)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at android.app.ActivityThread.main(ActivityThread.java:8019)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
2021-12-09 11:44:07.983 26426-26426/com.krunal.example W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)

How to get a file height and width before copressing

I was extremely happy to use IVCompressor for compressing images. However, I've had some trouble with the video compressing. The video height and width based on the resolutions are changing drastically. Is there a way I can read the current video height and width and use the same to calculate a custom resolution?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.