Coder Social home page Coder Social logo

clipclip's Introduction

ClipClip

An android application for trimming videos into uniform compressed chunks. For example, a 2 minutes video can be split into 4 equal parts, each part being 30 seconds each. Really perfect for sharing videos on WhatsApp stories and more!

Consider this as a sequel to the media downloader, Dobby๐Ÿ˜…. I call this a sequel to my previous project cos I mostly use dobby to download instagram videos, then export the video to ClipClip for splitting into parts before sharing on my WhatsApp status. It can get really spammy there lol.

The reason for working on this was actually as a result of the 30secs time restrictions for videos to be shared on WhatsApp stories. I found myself spending quite a lot of time correctly splitting the videos into parts before sharing with the in-built editor on WhatsApp, and sometimes the audio and video gets out of sync with subsequent cuts.

Another reason that made this project a bit more interesting and motivating to work on is that I also got to practice writing custom views on android. I wrote the custom view class that allows users to select the start and end timestamps of the videos to split into parts. My first implementation of this months ago did work well, but the code was quite bloated in so many ways๐Ÿ˜… and recently did a rewrite that's a lot better than the former. You can look through the commit logs and observe the differences.

I wrote an article here on the challenges I faced with the custom selection view, and a problem with using foreground services causing the app to crash on Android 12+ devices. Apparently, WorkManager was the way out of it but still don't understand why it crashed on those devices since the service gets started while the application is active.

How to build the project

There's no special setup necessary to run this on your machine. The FFMPEG kit library was installed via gradle, so all you need to do is clone and run the project. That's it!

implementation 'com.arthenica:ffmpeg-kit-full-gpl:4.5.1.LTS'

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

clipclip's People

Contributors

echoeyecodes avatar

Stargazers

Muhammad Azeem avatar  avatar Chukwuka Eze avatar Yasan avatar

Watchers

James Cloos avatar  avatar

Forkers

medstudioinc

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.