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.converters;
14 import eu.svjatoslav.meviz.encoder.EncodingOptions;
16 public class Avi2Ogv implements Converter {
19 public String getCommand(final File inputFile, final File targetFile,
20 final EncodingOptions options) {
22 return "ffmpeg2theora \"" + inputFile.getAbsolutePath() + "\" -o \""
23 + targetFile.getAbsolutePath()
24 + "\" --optimize --videobitrate 3000 --width 800";
28 public String getSourceFileExtension() {
33 public String getTargetFileExtension() {
38 public boolean isTerminalMandatory() {