Package net.bramp.ffmpeg.nut
Class NutReader
java.lang.Object
net.bramp.ffmpeg.nut.NutReader
Demuxer for the FFmpeg Nut file format.
Lots of things not implemented, startcode searching, crc checks, etc
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNutReader(InputStream in, NutReaderListener listener) Constructs a new NutReader for the given input stream and listener. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisKnownStartcode(long startcode) Returns whether the given startcode is a known NUT packet startcode.voidread()Demux the inputstream.protected voidRead the magic at the beginning of the file.protected longRead headers we don't know how to parse yet, returning the next startcode.
-
Field Details
-
header
-
streams
-
-
Constructor Details
-
NutReader
Constructs a new NutReader for the given input stream and listener.
-
-
Method Details
-
isKnownStartcode
Returns whether the given startcode is a known NUT packet startcode. -
readFileId
Read the magic at the beginning of the file.- Throws:
IOException- If a I/O error occurs
-
readReservedHeaders
Read headers we don't know how to parse yet, returning the next startcode.- Returns:
- The next startcode
- Throws:
IOException- If a I/O error occurs
-
read
Demux the inputstream.- Throws:
IOException- If a I/O error occurs
-