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 public boolean deinterlace = false;
26 public boolean recursive;
28 public boolean testOnly;
30 public boolean forPortablePlayer = false;
32 public File workingDirectory = new File(System.getProperty("user.dir"));
34 List<String> outputFormats = new ArrayList<String>();
36 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;