this.profile = profile;
this.videoFile = video;
this.commentFile = comment;
- logger.info("convert video:{0}, comment:{1}", new Object[]{videoFile, commentFile});
+ logger.info("convert video:{}, comment:{}", videoFile, commentFile);
}
@Override
try {
duration = util.getDuration();
} catch (IOException ex) {
- logger.info("動画再生時間を取得できませんでした: {0}", target);
+ logger.info("動画再生時間を取得できませんでした: {}", target);
duration = Integer.MAX_VALUE;
}
return executeFfmpeg(arguments, duration);
final String strTime = m.group(1);
final double time = Double.parseDouble(strTime);
per = 100.0 * time / duration;
- logger.trace("time:{0}, duration:{1}", new Object[]{time, duration});
+ logger.trace("time:{}, duration:{}", time, duration);
}
publish(new ConvertProgress(PROCESS, per, msg));
} else if (!msg.endsWith("No accelerated colorspace conversion found")) {