/*
* Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012 -- 2017-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
- * as published by the Free Software Foundation.
- */
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+*/
package eu.svjatoslav.meviz.encoder;
public class EncodingOptions {
- private BitrateParameter.bitrate videoBitrate = BitrateParameter.bitrate.MEDIUM;
+ private BitrateParameter.Bitrate videoBitrate = BitrateParameter.Bitrate.MEDIUM;
- private BitrateParameter.bitrate audioBitrate = BitrateParameter.bitrate.MEDIUM;
+ private BitrateParameter.Bitrate audioBitrate = BitrateParameter.Bitrate.MEDIUM;
- private Integer targetFps;
+ private Integer targetFps;
- private boolean deinterlace = false;
+ private boolean deinterlace = false;
- private boolean recursive;
+ private boolean recursive;
- private boolean testOnly;
+ private boolean testOnly;
- private boolean forPortablePlayer = false;
+ private boolean forPortablePlayer = false;
- private File workingDirectory = new File(System.getProperty("user.dir"));
+ private File workingDirectory = new File(System.getProperty("user.dir"));
- private List<String> outputFormats = new ArrayList<String>();
+ private List<String> outputFormats = new ArrayList<>();
- private List<String> inputPatterns = new ArrayList<String>();
+ private List<String> inputPatterns = new ArrayList<>();
- public BitrateParameter.bitrate getAudioBitrate() {
- return audioBitrate;
- }
+ public BitrateParameter.Bitrate getAudioBitrate() {
+ return audioBitrate;
+ }
- public List<String> getInputPatterns() {
- return inputPatterns;
- }
+ public void setAudioBitrate(final BitrateParameter.Bitrate audioBitrate) {
+ this.audioBitrate = audioBitrate;
+ }
- public List<String> getOutputFormats() {
- return outputFormats;
- }
+ public List<String> getInputPatterns() {
+ return inputPatterns;
+ }
- public Integer getTargetFps() {
- return targetFps;
- }
+ public void setInputPatterns(final List<String> inputPatterns) {
+ this.inputPatterns = inputPatterns;
+ }
- public BitrateParameter.bitrate getVideoBitrate() {
- return videoBitrate;
- }
+ public List<String> getOutputFormats() {
+ return outputFormats;
+ }
- public File getWorkingDirectory() {
- return workingDirectory;
- }
+ public void setOutputFormats(final List<String> outputFormats) {
+ this.outputFormats = outputFormats;
+ }
- public boolean isDeinterlace() {
- return deinterlace;
- }
+ public Integer getTargetFps() {
+ return targetFps;
+ }
- public boolean isForPortablePlayer() {
- return forPortablePlayer;
- }
+ public void setTargetFps(final Integer targetFps) {
+ this.targetFps = targetFps;
+ }
- public boolean isRecursive() {
- return recursive;
- }
+ public BitrateParameter.Bitrate getVideoBitrate() {
+ return videoBitrate;
+ }
- public boolean isTestOnly() {
- return testOnly;
- }
+ public void setVideoBitrate(final BitrateParameter.Bitrate videoBitrate) {
+ this.videoBitrate = videoBitrate;
+ }
- public void setAudioBitrate(final BitrateParameter.bitrate audioBitrate) {
- this.audioBitrate = audioBitrate;
- }
+ public File getWorkingDirectory() {
+ return workingDirectory;
+ }
- public void setDeinterlace(final boolean deinterlace) {
- this.deinterlace = deinterlace;
- }
+ public void setWorkingDirectory(final File workingDirectory) {
+ this.workingDirectory = workingDirectory;
+ }
- public void setForPortablePlayer(final boolean forPortablePlayer) {
- this.forPortablePlayer = forPortablePlayer;
- }
+ public boolean isDeinterlace() {
+ return deinterlace;
+ }
- public void setInputPatterns(final List<String> inputPatterns) {
- this.inputPatterns = inputPatterns;
- }
+ public void setDeinterlace(final boolean deinterlace) {
+ this.deinterlace = deinterlace;
+ }
- public void setOutputFormats(final List<String> outputFormats) {
- this.outputFormats = outputFormats;
- }
+ public boolean isForPortablePlayer() {
+ return forPortablePlayer;
+ }
- public void setRecursive(final boolean recursive) {
- this.recursive = recursive;
- }
+ public void setForPortablePlayer(final boolean forPortablePlayer) {
+ this.forPortablePlayer = forPortablePlayer;
+ }
- public void setTargetFps(final Integer targetFps) {
- this.targetFps = targetFps;
- }
+ public boolean isRecursive() {
+ return recursive;
+ }
- public void setTestOnly(final boolean testOnly) {
- this.testOnly = testOnly;
- }
+ public void setRecursive(final boolean recursive) {
+ this.recursive = recursive;
+ }
- public void setVideoBitrate(final BitrateParameter.bitrate videoBitrate) {
- this.videoBitrate = videoBitrate;
- }
+ public boolean isTestOnly() {
+ return testOnly;
+ }
- public void setWorkingDirectory(final File workingDirectory) {
- this.workingDirectory = workingDirectory;
- }
+ public void setTestOnly(final boolean testOnly) {
+ this.testOnly = testOnly;
+ }
}