2 package saccubus.converter.profile;
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 NgSetting 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, NgSetting 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;
42 public FfmpegOption getFfmpegOption() {
46 public File getFfmpeg() {
50 public int getFontIndex() {
54 public File getFont() {
58 public boolean isCommentOpaque() {
62 public boolean isSelfAdjustFontSize() {
63 return selfAdjustFontSize;
66 public int getShadowIndex() {
70 public boolean isShowConverting() {
71 return showConverting;
74 public boolean isVhookDisabled() {
78 public File getVhook() {
82 public int getMaxNumOfComment() {
83 return maxNumOfComment;
86 public NgSetting getNgSetting() {