I have used FFMPEG for video trimming but it's taking too much time for video processing.
String[] complexCommand = {"-ss", "" + startMs / 1000, "-y", "-i", yourRealPath, "-t", "" + (endMs - startMs) / 1000,"-vcodec", "mpeg4", "-b:v", "2097152", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath};
also used MP4Parser for same but some time I'm getting issue. used below lib for that.
com.googlecode.mp4parser:isoparser:1.1.21
Is there any other way available to trim video?
like my video duration is 20:00 and trim video between 06:00-09:00 duration.