|
1 | 1 | [](https://jitpack.io/#jZAIKO/android-video-trimmer) |
2 | 2 | [](https://jitpack.io/#a914-gowtham/android-video-trimmer) |
3 | 3 |
|
4 | | -### Starting from latest version 1.8.0 this library is using [media3](https://developer.android.com/media/media3/transformer/transformations) for media transcoding. Previously it was using [ffmpeg](https://github.com/arthenica/ffmpeg-kit?tab=readme-ov-file) which is deprecated now. |
| 4 | +### Starting from 1.8.0 this library is using [media3](https://developer.android.com/media/media3/transformer/transformations) for media transcoding. Previously it was using [ffmpeg](https://github.com/arthenica/ffmpeg-kit?tab=readme-ov-file) which is deprecated now. |
5 | 5 |
|
6 | 6 |
|
7 | 7 | # Android-video-trimmer |
8 | 8 |
|
9 | | -##### Helps to trim local videos with many customizations on Android applications using exoplayer2 and FFmpeg [Demo app](https://github.com/a914-gowtham/android-video-trimmer/releases) |
| 9 | +##### Helps to trim local videos with many customizations on Android applications using exoplayer2 and FFmpeg [Demo app](https://github.com/a914-gowtham/android-video-trimmer/releases/1.8.1) |
10 | 10 |
|
11 | 11 |  |
12 | 12 |
|
|
19 | 19 | ```gradle |
20 | 20 | // replace x.y.z with latest available jitpack version |
21 | 21 | dependencies { |
22 | | - implementation 'com.github.a914-gowtham:android-video-trimmer:1.8.0' |
| 22 | + implementation 'com.github.a914-gowtham:android-video-trimmer:x.y.z' |
23 | 23 | } |
24 | 24 | ``` |
25 | 25 | + Add to project's root `build.gradle` file: |
@@ -64,7 +64,7 @@ allprojects { |
64 | 64 | ```java |
65 | 65 | TrimVideo.activity(String.valueOf(videoUri)) |
66 | 66 | .setHideSeekBar(true) |
67 | | - .disableCompression() // enabled by default |
| 67 | + .disableCompression() // to disable compression ui. enabled by default |
68 | 68 | .start(this,startForResult); |
69 | 69 | ``` |
70 | 70 |
|
@@ -107,6 +107,10 @@ TrimVideo.activity(videoUri) |
107 | 107 | -keep interface com.gowtham.library** { *; } |
108 | 108 | ``` |
109 | 109 |
|
| 110 | +## Development roadmap: |
| 111 | + |
| 112 | +1. Currently, compression only reduces the bitRate to reduce the file size. converting video to the selected resolution is in under development. |
| 113 | + |
110 | 114 | ## Compatibility |
111 | 115 |
|
112 | 116 | * Library - Android Nougat 7.0+ (API 24) |
|
0 commit comments