Search in sources :

Example 6 with OutputInfos

use of org.fagu.fmv.core.project.OutputInfos in project fmv by f-agu.

the class AbstractExecutable method outputProcessor.

/**
 * @param builder
 * @param outfile
 * @param cache
 * @return
 */
protected OutputProcessor outputProcessor(FFMPEGExecutorBuilder builder, File outfile, Cache cache) {
    OutputInfos outputInfos = getProject().getOutputInfos();
    BasicStreamMuxer muxer = BasicStreamMuxer.to(outfile, outputInfos.getFormat());
    return outputProcessor(builder.mux(muxer), cache);
}
Also used : BasicStreamMuxer(org.fagu.fmv.ffmpeg.format.BasicStreamMuxer) OutputInfos(org.fagu.fmv.core.project.OutputInfos)

Aggregations

OutputInfos (org.fagu.fmv.core.project.OutputInfos)6 File (java.io.File)3 FFMPEGExecutorBuilder (org.fagu.fmv.ffmpeg.executor.FFMPEGExecutorBuilder)3 Size (org.fagu.fmv.utils.media.Size)3 IOException (java.io.IOException)2 BasicStreamMuxer (org.fagu.fmv.ffmpeg.format.BasicStreamMuxer)2 MovieMetadatas (org.fagu.fmv.ffmpeg.metadatas.MovieMetadatas)2 Scanner (java.util.Scanner)1 Executable (org.fagu.fmv.core.exec.Executable)1 Source (org.fagu.fmv.core.exec.Source)1 Project (org.fagu.fmv.core.project.Project)1 Drawtext (org.fagu.fmv.ffmpeg.filter.impl.Drawtext)1 VideoStream (org.fagu.fmv.ffmpeg.metadatas.VideoStream)1 InputProcessor (org.fagu.fmv.ffmpeg.operation.InputProcessor)1 OutputProcessor (org.fagu.fmv.ffmpeg.operation.OutputProcessor)1 FrameRate (org.fagu.fmv.ffmpeg.utils.FrameRate)1 UnclosedInputStream (org.fagu.fmv.utils.io.UnclosedInputStream)1