possibility to change video framerate
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / EncodingOptions.java
index 6c666a1..419aae4 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
@@ -19,36 +19,100 @@ public class EncodingOptions {
 
        private BitrateParameter.bitrate audioBitrate = BitrateParameter.bitrate.MEDIUM;
 
-       // public Bitrate audioBitrate;
+       private Integer targetFps;
 
-       public boolean deinterlace = false;
+       private boolean deinterlace = false;
 
-       public boolean recursive;
+       private boolean recursive;
 
-       public boolean testOnly;
+       private boolean testOnly;
 
-       public boolean forPortablePlayer = false;
+       private boolean forPortablePlayer = false;
 
-       public File workingDirectory = new File(System.getProperty("user.dir"));
+       private File workingDirectory = new File(System.getProperty("user.dir"));
 
-       List<String> outputFormats = new ArrayList<String>();
+       private List<String> outputFormats = new ArrayList<String>();
 
-       List<String> inputPatterns = new ArrayList<String>();
+       private List<String> inputPatterns = new ArrayList<String>();
 
        public BitrateParameter.bitrate getAudioBitrate() {
                return audioBitrate;
        }
 
+       public List<String> getInputPatterns() {
+               return inputPatterns;
+       }
+
+       public List<String> getOutputFormats() {
+               return outputFormats;
+       }
+
+       public Integer getTargetFps() {
+               return targetFps;
+       }
+
        public BitrateParameter.bitrate getVideoBitrate() {
                return videoBitrate;
        }
 
+       public File getWorkingDirectory() {
+               return workingDirectory;
+       }
+
+       public boolean isDeinterlace() {
+               return deinterlace;
+       }
+
+       public boolean isForPortablePlayer() {
+               return forPortablePlayer;
+       }
+
+       public boolean isRecursive() {
+               return recursive;
+       }
+
+       public boolean isTestOnly() {
+               return testOnly;
+       }
+
        public void setAudioBitrate(final BitrateParameter.bitrate audioBitrate) {
                this.audioBitrate = audioBitrate;
        }
 
+       public void setDeinterlace(final boolean deinterlace) {
+               this.deinterlace = deinterlace;
+       }
+
+       public void setForPortablePlayer(final boolean forPortablePlayer) {
+               this.forPortablePlayer = forPortablePlayer;
+       }
+
+       public void setInputPatterns(final List<String> inputPatterns) {
+               this.inputPatterns = inputPatterns;
+       }
+
+       public void setOutputFormats(final List<String> outputFormats) {
+               this.outputFormats = outputFormats;
+       }
+
+       public void setRecursive(final boolean recursive) {
+               this.recursive = recursive;
+       }
+
+       public void setTargetFps(final Integer targetFps) {
+               this.targetFps = targetFps;
+       }
+
+       public void setTestOnly(final boolean testOnly) {
+               this.testOnly = testOnly;
+       }
+
        public void setVideoBitrate(final BitrateParameter.bitrate videoBitrate) {
                this.videoBitrate = videoBitrate;
        }
 
+       public void setWorkingDirectory(final File workingDirectory) {
+               this.workingDirectory = workingDirectory;
+       }
+
 }