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;
12 import eu.svjatoslav.commons.commandline.parameterparser.Argument;
14 public class Bitrate implements Argument {
16 public String describeFormat() {
17 return "Target bitrate [LOW / MEDIUM / HIGH]";
21 public boolean validate(final String value) {
23 bitrate.valueOf(value);
24 } catch (final IllegalArgumentException exception) {
31 static public enum bitrate {