Open zhouqunhuang opened 4 years ago
FFmpeg is not executable, trying to make it executable ... facing the same
Please write as below. You can solve the above problem.
AndroidAudioConverter.load(this, new ILoadCallback() { @Override public void onSuccess() { IConvertCallback callback = new IConvertCallback(){ @Override public void onSuccess(File convertedFile){ // onSuccess } @Override public void onFailure(Exception error){ error.printStackTrace(); } }; AndroidAudioConverter.with(this) .setFile(new File("File Path...")) .setFormat(AudioFormat.MP3) .setCallback(callback) .convert(); } @Override public void onFailure(Exception error){ error.printStackTrace(); } });
Why do I have this problem when I transcode?