VideoCrop

Additional

Language
Java
Version
1.0 (Aug 21, 2018)
Created
Aug 21, 2018
Updated
Aug 11, 2019 (Retired)
Owner
VRG Soft (VRGsoftUA)
Contributor
Pavlo Nikitin (pawlo2102)
1
Activity
Badge
Generate
Download
Source code

HIRE US

VideoCrop

Video cropping library with trimming and opportunity to choose different aspect ratio types

Usage

For a working implementation, Have a look at the Sample Project - app

  1. Include the library as local library project.
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.VRGsoftUA:VideoCrop:1.0'
}
  1. In code you need to start Activityfor result like so:
startActivityForResult(VideoCropActivity.createIntent(this, inputPath, outputPath), CROP_REQUEST);
  1. Then catch result in onActivityResult callback
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        if(requestCode == CROP_REQUEST && resultCode == RESULT_OK){
            //crop successful
        }
    }

Contributing

  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request