i viewed many issues, and find out that they always read data from errorStream, i try to read from inputStream, but nothing. Is it normal?
just like below:
ProcessWrapper ffmpeg = new DefaultFFMPEGLocator().createExecutor();
ffmpeg.addArgument("-i");
ffmpeg.addArgument(inputFilePath);
ffmpeg.execute();
BufferedReader br = new BufferedReader(new InputStreamReader(ffmpeg.getErrorStream()));
This depends what messages you wish to receive.
Many messages relevant from ffpmeg are sent to errout, since stdout can also be used to stream out resulting images/videos
i viewed many issues, and find out that they always read data from errorStream, i try to read from inputStream, but nothing. Is it normal? just like below: