FFMPEG - mayurparmar2/AlarmDemo GitHub Wiki
test.java
//implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.8'
//implementation 'com.arthenica:ffmpeg-kit-full:4.5'
FFmpegKit.executeAsync(ffmpegCommand, new ExecuteCallback() {
@Override
public void apply(Session session) {
ReturnCode returnCode = session.getReturnCode();
if (returnCode.isSuccess()) {
}
if (returnCode.isError()) {
}
}
}, new LogCallback() {
@Override
public void apply(com.arthenica.ffmpegkit.Log log) {
context.runOnUiThread(new Runnable() {
@Override
public void run() {
// progressDialog.setMessage("Applying Filter..\n"+log.getMessage());
}
});
}
}, new StatisticsCallback() {
@Override
public void apply(com.arthenica.ffmpegkit.Statistics statistics) {
}
});