public class H264TrackImpl extends AbstractH26XTrack
H264TrackImpl creates a Track from an H.264
Annex B file.| Modifier and Type | Class and Description |
|---|---|
class |
H264TrackImpl.ByteBufferBackedInputStream |
class |
H264TrackImpl.SEIMessage |
static class |
H264TrackImpl.SliceHeader |
AbstractH26XTrack.LookAheadctts, decodingTimes, sdtp, stss| Constructor and Description |
|---|
H264TrackImpl(DataSource dataSource) |
H264TrackImpl(DataSource dataSource,
String lang) |
H264TrackImpl(DataSource dataSource,
String lang,
long timescale,
int frametick)
Creates a new
Track object from a raw H264 source (DataSource dataSource1). |
| Modifier and Type | Method and Description |
|---|---|
String |
getHandler() |
SampleDescriptionBox |
getSampleDescriptionBox() |
List<Sample> |
getSamples()
The list of all samples.
|
close, createSampleObject, findNextNal, getCompositionTimeEntries, getSampleDependencies, getSampleDurations, getSyncSamples, getTrackMetaData, toArraygetDuration, getEdits, getName, getSampleGroups, getSubsampleInformationBoxpublic H264TrackImpl(DataSource dataSource, String lang, long timescale, int frametick) throws IOException
Track object from a raw H264 source (DataSource dataSource1).
Whenever the timescale and frametick are set to negative value (e.g. -1) the H264TrackImpl
tries to detect the frame rate.
Typically values for timescale and frametick are:
dataSource - the source file of the H264 sampleslang - language of the movie (in doubt: use "eng")timescale - number of time units (ticks) in one secondframetick - number of time units (ticks) that pass while showing exactly one frameIOException - in case of problems whiel reading from the DataSourcepublic H264TrackImpl(DataSource dataSource, String lang) throws IOException
IOExceptionpublic H264TrackImpl(DataSource dataSource) throws IOException
IOExceptionpublic SampleDescriptionBox getSampleDescriptionBox()
public String getHandler()
Copyright © 2015. All rights reserved.