Package org.mp4parser.muxer.tracks
Class Avc1ToAvc3TrackImpl
- java.lang.Object
-
- org.mp4parser.muxer.WrappingTrack
-
- org.mp4parser.muxer.tracks.Avc1ToAvc3TrackImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Track
public class Avc1ToAvc3TrackImpl extends WrappingTrack
Converts an avc1 track to an avc3 track. The major difference is the location of SPS/PPS: While the avc1 track has all SPS/PPS in theSampleEntrythe avc3 track has all required SPS/PPS include in each sync sample.
-
-
Constructor Summary
Constructors Constructor Description Avc1ToAvc3TrackImpl(Track parent)
-
Method Summary
Modifier and Type Method Description List<SampleEntry>getSampleEntries()List<Sample>getSamples()The list of all samples.-
Methods inherited from class org.mp4parser.muxer.WrappingTrack
close, getCompositionTimeEntries, getDuration, getEdits, getHandler, getName, getSampleDependencies, getSampleDurations, getSampleGroups, getSubsampleInformationBox, getSyncSamples, getTrackMetaData
-
-
-
-
Constructor Detail
-
Avc1ToAvc3TrackImpl
public Avc1ToAvc3TrackImpl(Track parent) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getSampleEntries
public List<SampleEntry> getSampleEntries()
- Specified by:
getSampleEntriesin interfaceTrack- Overrides:
getSampleEntriesin classWrappingTrack
-
getSamples
public List<Sample> getSamples()
Description copied from interface:TrackThe list of all samples.- Specified by:
getSamplesin interfaceTrack- Overrides:
getSamplesin classWrappingTrack- Returns:
- this track's samples
-
-