@@ -0,0 +1,1725 @@
+package com.annimon.tsvc.model;%0A%0A/**%0A * FFmpeg command line options%0A * %0A * @author aNNiMON%0A */%0Apublic final class FFmpegOptions %7B%0A%0A    private String input;%0A    private double speedFactor;%0A    private boolean isAudio;%0A    private String output;%0A%0A    public FFmpegOptions() %7B%0A        speedFactor = 1d;%0A        isAudio = true;%0A    %7D%0A%0A    public FFmpegOptions(String input, double speedFactor, boolean isAudio, String output) %7B%0A        this.input = input;%0A        this.speedFactor = speedFactor;%0A        this.isAudio = isAudio;%0A        this.output = output;%0A    %7D%0A%0A    public String getInput() %7B%0A        return input;%0A    %7D%0A%0A    public void setInput(String input) %7B%0A        this.input = input;%0A    %7D%0A%0A    public double getSpeedFactor() %7B%0A        return speedFactor;%0A    %7D%0A%0A    public void setSpeedFactor(double speedFactor) %7B%0A        this.speedFactor = speedFactor;%0A    %7D%0A%0A    public boolean isIsAudio() %7B%0A        return isAudio;%0A    %7D%0A%0A    public void setIsAudio(boolean isAudio) %7B%0A        this.isAudio = isAudio;%0A    %7D%0A%0A    public String getOutput() %7B%0A        return output;%0A    %7D%0A%0A    public void setOutput(String output) %7B%0A        this.output = output;%0A    %7D%0A    %0A    public String buildOptions() %7B%0A        final StringBuilder sb = new StringBuilder();%0A        sb.append(%22 -i %22).append('%22').append(input).append('%22');%0A        if (speedFactor %3C 1d) %7B%0A            sb.append(%22 -filter:v %22).append('%22').append(%22setpts=%22).append(speedFactor).append(%22*PTS%22).append('%22');%0A        %7D%0A        if (!isAudio) %7B%0A            sb.append(%22 -an%22);%0A        %7D%0A        sb.append(' ').append('%22').append(output).append('%22');%0A        return sb.toString();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return buildOptions();%0A    %7D%0A%7D%0A

Add ffmpeg option model