return false;
}
- private int converting_video(File videoFile, File convertedVideoFile, boolean addComment, String vhook_path,
+ private int converting_video(File videoFile, File convertedVideoFile, boolean addComment, String commPath,
boolean addTcomment, String tcommPath, FfmpegOption ov) throws InterruptedException, IOException {
File fwsFile = Cws2Fws.createFws(videoFile, TMP_CWS);
}
}
- List<String> avfilterArgs = getAvfilterOptions(ov, addComment, vhook_path, addTcomment, tcommPath);
+ List<String> avfilterArgs = getAvfilterOptions(ov, addComment, commPath, addTcomment, tcommPath);
if (!avfilterArgs.isEmpty()) {
cmdList.add("-vfilters");
}
}
- private List<String> getAvfilterOptions(FfmpegOption ov, boolean addComment, String vhook_path, boolean addTcomment,
+ private List<String> getAvfilterOptions(FfmpegOption ov, boolean addComment, String commPath, boolean addTcomment,
String tcommPath) throws UnsupportedEncodingException {
final List<String> avfilterArgs = new ArrayList<String>();
final String avfilterOption = ov.getAvfilterOption();
avfilterArgs.add(avfilterOption);
}
final String vhookArg = (getFfmpeg().isVhookDisabled())
- ? null : getVhookArg(addComment, vhook_path, addTcomment, tcommPath);
+ ? null : getVhookArg(addComment, commPath, addTcomment, tcommPath);
if (vhookArg != null) {
avfilterArgs.add(vhookArg);
}
return avfilterArgs;
}
- private String getVhookArg(boolean addComment, String vhook_path, boolean addTcomment,
+ private String getVhookArg(boolean addComment, String commPath, boolean addTcomment,
String tcommPath) throws UnsupportedEncodingException {
StringBuilder sb = new StringBuilder();
sb.append("vhext=");
if (addComment) {
sb.append("|");
sb.append("--data-user:");
- sb.append(URLEncoder.encode(vhook_path.replace("\\", "/"), "Shift_JIS"));
+ sb.append(URLEncoder.encode(commPath.replace("\\", "/"), "Shift_JIS"));
}
if (addTcomment) {
sb.append("|");