final int code = convert(outputFile, transformedComment, transformedOwner);
if (code != 0) {
- throw new IOException("ffmpeg実行失敗: " + outputFile.getPath());
+ throw new IOException("ffmpeg実行失敗(code " + code + "): " + outputFile.getPath());
}
publish(new ConvertProgress(PROCESS, 100.0, "変換が正常に終了しました。"));
return new ConvertResult(true, outputFile.getName());
per = 100.0 * time / duration;
if (logger.isTraceEnabled()) {
logger.trace("time:{}, duration:{}", time, duration);
+ logger.trace(msg);
}
}
publish(new ConvertProgress(PROCESS, per, msg));
} else if (!msg.endsWith("No accelerated colorspace conversion found")) {
logger.warn(msg);
+ } else {
+ logger.info(msg);
}
checkStop();