use of org.fagu.fmv.ffmpeg.operation.InfoOperation in project fmv by f-agu.
the class FFHelper method videoMetadatas.
/**
* @param inFile
* @return
* @throws IOException
*/
public static MovieMetadatas videoMetadatas(File inFile) throws IOException {
MediaInput input = new FileMediaInput(inFile);
InfoOperation infoOperation = new InfoOperation(input);
FFExecutor<MovieMetadatas> executor = new FFExecutor<>(infoOperation);
Executed<MovieMetadatas> execute = executor.execute();
return execute.getResult();
}
Aggregations