Giter Site home page Giter Site logo

kimhyoungchul / videocrop-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cherryperry/videocrop

0.0 0.0 0.0 1.44 MB

Crop video with Android Media Codec API

License: Do What The F*ck You Want To Public License

Java 5.89% Kotlin 92.67% RenderScript 1.44%

videocrop-1's Introduction

Video crop app

Build Status Version License

You can crop video to make it square and be less than 20 seconds in duration.

It uses MediaCodec API for decoding and encoding video. Source video file is read by MediaExtractor. Frame transformations are done with regular Bitmap. To be able to do so, it is required to convert frame's pixel array from YUV to RGB and back with help of RenderScript. Frames are saved to file with help of MediaMuxer after encoding.

Screenshots

screenshot_20181117-134723 screenshot_20181117-134733 screenshot_20181117-134741 screenshot_20181117-134814 screenshot_20181117-135409

License

WTFPL because I don't even know if this code works on devices other than mine.

videocrop-1's People

Contributors

cherryperry avatar

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.