2 package saccubus.converter.classic.profile;
10 public class Ffmpeg implements yukihane.saccubus.converter.profile.ConvertProfile {
12 private final File ffmpeg;
13 private final File vhook;
14 private final FfmpegOption ffmpegOption;
15 private final boolean vhookDisabled;
16 private final int maxNumOfComment;
17 private final File font;
18 private final int fontIndex;
19 private final int shadowIndex;
20 private final boolean showConverting;
21 private final boolean selfAdjustFontSize;
22 private final boolean commentOpaque;
23 private final HideCondition ngSetting;
25 public Ffmpeg(File ffmpegPath, File vhookPath, FfmpegOption ffmpegOption, boolean vhookDisabled,
26 int videoShowNum, File fontPath, int fontIndex, int shadowIndex, boolean showConvertingVideo,
27 boolean selfAdjustFontSize, boolean opaqueComment, HideCondition ngSetting) {
28 this.ffmpeg = ffmpegPath;
29 this.vhook = vhookPath;
30 this.ffmpegOption = ffmpegOption;
31 this.vhookDisabled = vhookDisabled;
32 this.maxNumOfComment = videoShowNum;
34 this.fontIndex = fontIndex;
35 this.shadowIndex = shadowIndex;
36 this.showConverting = showConvertingVideo;
37 this.selfAdjustFontSize = selfAdjustFontSize;
38 this.commentOpaque = opaqueComment;
39 this.ngSetting = ngSetting;
43 public FfmpegOption getFfmpegOption() {
47 public File getFfmpeg() {
51 public int getFontIndex() {
55 public File getFont() {
59 public boolean isCommentOpaque() {
64 public boolean isDisableFontSizeArrange() {
65 return !selfAdjustFontSize;
68 public int getShadowIndex() {
72 public boolean isShowConverting() {
73 return showConverting;
76 public boolean isVhookDisabled() {
80 public File getVhook() {
84 public int getMaxNumOfComment() {
85 return maxNumOfComment;
88 public HideCondition getNgSetting() {