use of org.fagu.fmv.ffmpeg.filter.impl.ShowInfo in project fmv by f-agu.
the class FFHelper method showInfoVideoFrames.
/**
* @param inFile
* @throws IOException
*/
public static void showInfoVideoFrames(File inFile) throws IOException {
FFMPEGExecutorBuilder builder = FFMPEGExecutorBuilder.create();
builder.addMediaInputFile(inFile);
// print
ShowInfo showInfo = ShowInfo.build().addListener(System.out::println);
builder.filter(showInfo);
builder.addMediaOutput(NullMuxer.build()).overwrite();
FFExecutor<Object> executor = builder.build();
executor.execute();
}
Aggregations