Package net.bramp.ffmpeg.progress
Class StreamProgressParser
java.lang.Object
net.bramp.ffmpeg.progress.StreamProgressParser
Parses FFmpeg progress output from an input stream.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamProgressParser(ProgressListener listener) Constructs a new stream progress parser with the given listener. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessReader(Reader reader) Processes progress output from the given reader.voidprocessStream(InputStream stream) Parses FFmpeg progress output from the given input stream.
-
Constructor Details
-
StreamProgressParser
Constructs a new stream progress parser with the given listener.
-
-
Method Details
-
processStream
Parses FFmpeg progress output from the given input stream.- Throws:
IOException
-
processReader
Processes progress output from the given reader.- Throws:
IOException
-