ffmpeg-cli-wrapper icon indicating copy to clipboard operation
ffmpeg-cli-wrapper copied to clipboard

ffprobe returned non-zero exit status. Check stdout.

Open mohsalsaleem opened this issue 8 years ago • 2 comments
trafficstars

java.io.IOException: ffprobe returned non-zero exit status. Check stdout. at net.bramp.ffmpeg.FFcommon.throwOnError(FFcommon.java:59) at net.bramp.ffmpeg.FFprobe.probe(FFprobe.java:113) at net.bramp.ffmpeg.FFprobe.probe(FFprobe.java:49)

Is there any way I can see why I'm getting this exception? This is the command I'm trying to execute. FFmpegProbeResult probeResult = this.fFprobe.probe("input.mp4");

mohsalsaleem avatar Oct 05 '17 11:10 mohsalsaleem

You should be able to view the error that was returned from the FFmpeg process through stdout; that is, from the source with which you are viewing this stackTrace. If it's not accessible for some reason, maybe try Overriding the public void run(List<String> args) throws IOException method when instantiating FFprobe to contain the message in a different way? Take a look in the FFcommon class to get the run method to override. I guess it would be important knowing why you can't check stdout messages.

Omar-Riaz avatar Nov 16 '17 14:11 Omar-Riaz

Hello,

I use this library on android with a compiled FFmpeg for android binary. And whenever i get this "returned non-zero message. Check stdout", i dont see anything in logcat, how do i get ffmpeg output message ?

Herz3h avatar Nov 24 '17 10:11 Herz3h