ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
how to catch ffmpeg error?
can i get the error from ffmpeg?
FFcomon (abstract class which is extended by FFmpeg) throws an IOException through the throwOnError(Process p) method. You should be able to view the stackTrace or catch the IOException it throws and do what you like.
The throwOnError is called from run, which is called when you call createJob on your FFmpegExecutor: [executor.createJob(anFFmpegBuilder).run();]
lemme know if that answers your question.