Screenshot 1 :
Screenshot 2 :
Screenshot 3 :
Whatsapp like video trimmer to trim videos within a defined file size.
Gradle :
maven { url 'https://dl.bintray.com/deeppatel13/maven/' }
implementation 'com.deep.videotrimmer:videotrimmer:1.0'
Note: If you have jCenter() added, then no need to write maven dependancy. only using implementation line it will be integrated.
XML :
<com.deep.videotrimmer.DeepVideoTrimmer
android:layout_width="match_parent"
android:layout_height="match_parent" />
Mention your own path to save trimmed videos: setDestinationPath(StringPath);
Mention your desired max duration for trimmed videos: setMaxDuration(int seconds); //Defaults to 100Seconds
Mention your desired max file size for trimmed videos: setMaxFileSize(int mb); //Defaults to 25Mb
Mention your desired video URI to get trimmed video: setVideoURI(Uri for video to trim);