2 * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
7 package eu.svjatoslav.meviz.encoder.converters;
9 import eu.svjatoslav.meviz.encoder.EncodingOptions;
12 import java.util.List;
14 public class Ffmpeg2theora extends AbstractConverter {
17 public String getCommand(final File inputFile, final File targetFile,
18 final EncodingOptions options, String targetFormat) {
19 return "ffmpeg2theora \"" + inputFile.getAbsolutePath() + "\" -o \""
20 + targetFile.getAbsolutePath()
21 + "\" --optimize --videobitrate 3000 --width 800";
25 public List<String> getSourceFileExtensions() {
26 return toList("avi", "mp4", "m4v", "asf");
30 public List<String> getTargetFileExtensions() {
35 public boolean isTerminalMandatory() {