ca.carleton.gcrc.olkit.multimedia.ffmpeg.FFmpegProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nunaliit2-multimedia Show documentation
Show all versions of nunaliit2-multimedia Show documentation
Library that converts multimedia files using command
line tools such as avconv and ImageMagick
package ca.carleton.gcrc.olkit.multimedia.ffmpeg;
import java.io.File;
public interface FFmpegProcessor {
FFmpegMediaInfo getMediaInfo(File videoFile) throws Exception;
void convertVideo(File inputFile, File outputFile) throws Exception;
void convertVideo(FFmpegMediaInfo inputVideo, File outputFile) throws Exception;
void convertAudio(File inputFile, File outputFile) throws Exception;
void convertAudio(FFmpegMediaInfo inputVideo, File outputFile) throws Exception;
void createThumbnail(File inputFile, File outputFile, int maxWidth, int maxHeight) throws Exception;
void createThumbnail(FFmpegMediaInfo inputVideo, File outputFile, int maxWidth, int maxHeight) throws Exception;
}