Ffmpeg- Split video into 30 seconds parts in android
问题 I am working on a project. In which I want to split the video into 30 sec equal parts. If the video is 45 sec long than ideally in 30 and 15-sec parts. I already created a method which takes the starting and the ending point and run the Ffmpeg command to cut the video. This is what I created so far private void executeCutVideoCommand(int startMs, int endMs) { File moviesDir = Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_MOVIES ); String filePrefix = "cut_video"; String