Class H264AnnexBTrack
- java.lang.Object
-
- org.mp4parser.streaming.input.AbstractStreamingTrack
-
- org.mp4parser.streaming.input.h264.AbstractH264Track
-
- org.mp4parser.streaming.input.h264.H264NalConsumingTrack
-
- org.mp4parser.streaming.input.h264.H264AnnexBTrack
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Callable<Void>,StreamingTrack
public class H264AnnexBTrack extends H264NalConsumingTrack implements Callable<Void>
Reads H264 data from an Annex B InputStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classH264AnnexBTrack.NalStreamTokenizer
-
Field Summary
-
Fields inherited from class org.mp4parser.streaming.input.AbstractStreamingTrack
sampleSink, tkhd, trackExtensions
-
-
Constructor Summary
Constructors Constructor Description H264AnnexBTrack(InputStream inputStream)
-
Method Summary
-
Methods inherited from class org.mp4parser.streaming.input.h264.H264NalConsumingTrack
close, configure, consumeNal, createPictureOrderCountType0SampleExtension, createSample, createSampleFlagsSampleExtension, getHandler, getLanguage, getNalUnitHeader, getSampleDescriptionBox, getTimescale, handlePPS, handleSPS, pushSample, setFrametick, setTimescale
-
Methods inherited from class org.mp4parser.streaming.input.AbstractStreamingTrack
addTrackExtension, getTrackExtension, removeTrackExtension, setSampleSink
-
-
-
-
Constructor Detail
-
H264AnnexBTrack
public H264AnnexBTrack(InputStream inputStream) throws IOException
- Throws:
IOException
-
-
Method Detail
-
call
public Void call() throws IOException, InterruptedException
- Specified by:
callin interfaceCallable<Void>- Throws:
IOExceptionInterruptedException
-
-