OSDN Git Service

merge
[coroid/inqubus.git] / frontend / src / saccubus / converter / profile / Ffmpeg.java
1 /* $Id$ */
2 package saccubus.converter.profile;
3
4 import java.io.File;
5
6 /**
7  *
8  * @author yuki
9  */
10 public class Ffmpeg {
11
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;
24
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;
33         this.font = fontPath;
34         this.fontIndex = fontIndex;
35         this.shadowIndex = shadowIndex;
36         this.showConverting = showConvertingVideo;
37         this.selfAdjustFontSize = selfAdjustFontSize;
38         this.commentOpaque = opaqueComment;
39         this.ngSetting = ngSetting;
40     }
41
42     public FfmpegOption getFfmpegOption() {
43         return ffmpegOption;
44     }
45
46     public File getFfmpeg() {
47         return ffmpeg;
48     }
49
50     public int getFontIndex() {
51         return fontIndex;
52     }
53
54     public File getFont() {
55         return font;
56     }
57
58     public boolean isCommentOpaque() {
59         return commentOpaque;
60     }
61
62     public boolean isSelfAdjustFontSize() {
63         return selfAdjustFontSize;
64     }
65
66     public int getShadowIndex() {
67         return shadowIndex;
68     }
69
70     public boolean isShowConverting() {
71         return showConverting;
72     }
73
74     public boolean isVhookDisabled() {
75         return vhookDisabled;
76     }
77
78     public File getVhook() {
79         return vhook;
80     }
81
82     public int getMaxNumOfComment() {
83         return maxNumOfComment;
84     }
85
86     public NgSetting getNgSetting() {
87         return ngSetting;
88     }
89 }