2 * Meviz - Various tools collection to work with multimedia.
3 * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.meviz.encoder;
13 import java.util.ArrayList;
14 import java.util.List;
16 public class EncodingOptions {
18 private BitrateParameter.bitrate videoBitrate = BitrateParameter.bitrate.MEDIUM;
20 private BitrateParameter.bitrate audioBitrate = BitrateParameter.bitrate.MEDIUM;
22 // public Bitrate audioBitrate;
24 private boolean deinterlace = false;
26 private boolean recursive;
28 private boolean testOnly;
30 private boolean forPortablePlayer = false;
32 private File workingDirectory = new File(System.getProperty("user.dir"));
34 private List<String> outputFormats = new ArrayList<String>();
36 private List<String> inputPatterns = new ArrayList<String>();
38 public BitrateParameter.bitrate getAudioBitrate() {
42 public BitrateParameter.bitrate getVideoBitrate() {
46 public void setAudioBitrate(final BitrateParameter.bitrate audioBitrate) {
47 this.audioBitrate = audioBitrate;
50 public void setVideoBitrate(final BitrateParameter.bitrate videoBitrate) {
51 this.videoBitrate = videoBitrate;
54 public List<String> getInputPatterns() {
58 public void setInputPatterns(List<String> inputPatterns) {
59 this.inputPatterns = inputPatterns;
62 public List<String> getOutputFormats() {
66 public void setOutputFormats(List<String> outputFormats) {
67 this.outputFormats = outputFormats;
70 public File getWorkingDirectory() {
71 return workingDirectory;
74 public void setWorkingDirectory(File workingDirectory) {
75 this.workingDirectory = workingDirectory;
78 public boolean isForPortablePlayer() {
79 return forPortablePlayer;
82 public void setForPortablePlayer(boolean forPortablePlayer) {
83 this.forPortablePlayer = forPortablePlayer;
86 public boolean isTestOnly() {
90 public void setTestOnly(boolean testOnly) {
91 this.testOnly = testOnly;
94 public boolean isRecursive() {
98 public void setRecursive(boolean recursive) {
99 this.recursive = recursive;
102 public boolean isDeinterlace() {
106 public void setDeinterlace(boolean deinterlace) {
107 this.deinterlace = deinterlace;