List<String> cmdList = new ArrayList<>();
cmdList.clear();
cmdList.add("-i");
cmdList.add(path);
cmdList.add("-q:a");
cmdList.add("0");
cmdList.add("-map");
cmdList.add("a");
cmdList.add(output);
int returnCode = com.arthenica.mobileffmpeg.FFmpeg.execute(cmdList.toArray(new String[cmdList.size()]));
if (returnCode == RETURN_CODE_SUCCESS) {
// Completed with success
} else if (returnCode == RETURN_CODE_CANCEL) {
} else {
}
Comments
Post a Comment