public class FFmpeg extends Object
Modifier and Type | Method and Description |
---|---|
FFmpeg |
addInput(Input input) |
FFmpeg |
addOption(Option option) |
FFmpeg |
addOutput(Output output) |
static FFmpeg |
atPath(Path pathToDir) |
protected List<Option> |
buildOptions() |
FFmpegResult |
execute() |
ProgressListener |
getProgressListener() |
FFmpeg |
setComplexFilter(FilterGraph graph) |
FFmpeg |
setOverwriteOutput(boolean overwriteOutput)
Whether to overwrite or to stop.
|
FFmpeg |
setProgressListener(ProgressListener progressListener) |
public FFmpeg(Path executable)
public FFmpeg setComplexFilter(FilterGraph graph)
public FFmpeg setOverwriteOutput(boolean overwriteOutput)
overwriteOutput
- true if forcibly overwrite, false if to stoppublic FFmpeg setProgressListener(ProgressListener progressListener)
public ProgressListener getProgressListener()
public FFmpegResult execute()
Copyright © 2017. All rights reserved.