Package ws.schild.jave
Class VideoProcessor
java.lang.Object
ws.schild.jave.VideoProcessor
A high-level class meant to perform higher level operations on video files. Will use the Encoder
heavily, but presents a simpler interface for someone new to JAVE. For real customization, use of
Encoder is encouraged.
- Author:
- mressler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcatClipsTogether(List<File> videos, File destination, VideoProgressListener progress) Concatenate input video files to a destination file.Destination file and parent directory must be writeable.boolean
-
Constructor Details
-
VideoProcessor
public VideoProcessor()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
catClipsTogether
public void catClipsTogether(List<File> videos, File destination, VideoProgressListener progress) throws FileNotFoundException, IllegalArgumentException, InputFormatException, EncoderException Concatenate input video files to a destination file.Destination file and parent directory must be writeable.- Parameters:
videos- The list of videos on the local filesystem that are readable by this process that will be concatenated togetherdestination- The target file to write to. The target file must be unique to this process and writeable.progress- Track progress of processing- Throws:
FileNotFoundException- If the destination cannot be createdEncoderException- error in encodingInputFormatException- error in input argumentsIllegalArgumentException- thrown when parameters don't match- See Also:
-