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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isKnownStartcode
(long startcode) void
read()
Demux the inputstreamprotected void
Read the magic at the beginning of the file.protected long
Read headers we don't know how to parse yet, returning the next startcode.
-
Field Details
-
header
-
streams
-
-
Constructor Details
-
NutReader
-
-
Method Details
-
isKnownStartcode
-
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
-