An open-source Kotlin Android Studio project that offers WhatsApp-like video trimming, allowing precise edits with a sleek user interface for seamless video customization on your Android device.
Trim videos to a specified length. Simple and intuitive user interface. Allows users to grant read external storage permission for video selection. Supports various video formats.
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
setUrl("https://jitpack.io")
}
}
}
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.redevrx:android_video_trimmer:1.0.0'
<com.redevrx.video_trimmer.view.VideoEditor
android:id="@+id/video_trimmer"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
Upon launching the app, you'll be prompted to grant "Read External Storage" permission. Click the "Allow Permission" button to proceed.
After granting permission, the app will display a list of videos available on your device.
Select the video you want to trim from the list. The selected video will be loaded into the video player.
Use the sliders to set the start and end points of the desired trim.
Preview the trimmed video to ensure it meets your requirements.
Once satisfied with the trim, click the "Save Trimmed Video" button. The trimmed video will be saved to your device.
Android Video Trimmer by Kasem Saikhuedong
If you found this project useful or had fun exploring it, please consider giving it a star. It's a great way to show your appreciation and it puts a smile on my face! 😊🌟