Search code examples
javaandroidvideoffmpegtrim

How to trim a video in android using UI?


I want to trim a video in android while its playing using a seek bar where user can select the duration (for example : video trim in AndroVid android app).

Is it possible to implement it using Android's video view?

I am also using FFMPEG, so once user selects the duration, i can trim using FFMPEG code. But any pointers on how this can be done on UI like AndroiVid is appreciated.


Solution

  • It is possible, in Android you can implement a RangeSeekBar with the start and end of your video trim