2 package saccubus.worker.classic.profile;
5 import saccubus.worker.profile.GeneralProfile;
6 import saccubus.worker.profile.OutputProfile;
12 public class Ffmpeg implements saccubus.worker.profile.ConvertProfile {
14 private final File ffmpeg;
15 private final File vhook;
16 private final FfmpegOption ffmpegOption;
17 private final boolean vhookDisabled;
18 private final int maxNumOfComment;
19 private final File font;
20 private final int fontIndex;
21 private final int shadowIndex;
22 private final boolean showConverting;
23 private final boolean selfAdjustFontSize;
24 private final boolean commentOpaque;
25 private final HideCondition ngSetting;
27 public Ffmpeg(File ffmpegPath, File vhookPath, FfmpegOption ffmpegOption, boolean vhookDisabled,
28 int videoShowNum, File fontPath, int fontIndex, int shadowIndex, boolean showConvertingVideo,
29 boolean selfAdjustFontSize, boolean opaqueComment, HideCondition ngSetting) {
30 this.ffmpeg = ffmpegPath;
31 this.vhook = vhookPath;
32 this.ffmpegOption = ffmpegOption;
33 this.vhookDisabled = vhookDisabled;
34 this.maxNumOfComment = videoShowNum;
36 this.fontIndex = fontIndex;
37 this.shadowIndex = shadowIndex;
38 this.showConverting = showConvertingVideo;
39 this.selfAdjustFontSize = selfAdjustFontSize;
40 this.commentOpaque = opaqueComment;
41 this.ngSetting = ngSetting;
45 public FfmpegOption getFfmpegOption() {
49 public File getFfmpeg() {
53 public int getFontIndex() {
57 public File getFont() {
61 public boolean isCommentOpaque() {
66 public boolean isDisableFontSizeArrange() {
67 return !selfAdjustFontSize;
70 public int getShadowIndex() {
74 public boolean isShowConverting() {
75 return showConverting;
78 public boolean isVhookDisabled() {
82 public File getVhook() {
86 public int getMaxNumOfComment() {
87 return maxNumOfComment;
90 public HideCondition getNgSetting() {
95 public File getTempDir() {
100 public OutputProfile getOutputProfile() {
101 throw new UnsupportedOperationException("Not supported yet.");
105 public GeneralProfile getGeneralProfile() {
106 throw new UnsupportedOperationException("Not supported yet.");
110 public boolean isConvert() {
111 throw new UnsupportedOperationException("Not supported yet.");
115 public boolean isCommentOverlay() {
116 throw new UnsupportedOperationException("Not supported yet.");