Class NutFrameReader
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.NutFrameReader
- All Implemented Interfaces:
FrameOutput.FrameReader
NutFrameReader reads InputStream in Nut format and passes parsed frames
to FrameConsumer.-
Constructor Summary
ConstructorsConstructorDescriptionNutFrameReader(FrameConsumer frameConsumer, ImageFormat imageFormat) CreatesNutFrameReader. -
Method Summary
Modifier and TypeMethodDescriptionvoidread(InputStream input) Reads media in Nut format from input stream and closes it.
-
Constructor Details
-
NutFrameReader
CreatesNutFrameReader.- Parameters:
frameConsumer- frame consumerimageFormat- image format
-
-
Method Details
-
read
Reads media in Nut format from input stream and closes it.- Specified by:
readin interfaceFrameOutput.FrameReader- Parameters:
input- input to read- Throws:
IOException
-