Click or drag to resize
Mp4Track Class
Encapsulates a single MP4 track.
Inheritance Hierarchy
SystemObject
  StreamCoders.Container.MP4Mp4Track

Namespace: StreamCoders.Container.MP4
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class Mp4Track

The Mp4Track type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCommitRemainingSamples
Commit remaining samples.
Public methodCreateAmrTrack
Creates a new AMR-NB track.
Public methodCreateAmrWbTrack
Creates a new AMR-WB track.
Public methodCreateH263Track
Creates an H.263 track.
Public methodCreatePcmTrack
Public methodCreateTrack
Creates a track based on the information passed by TrackInfo.
Public methodFillTrackInfo
Attempts to fill tracks with media information such as bitrate, width/height & DEC.
Public methodFinalizeCurrentFragment
Public methodGetNextFragmentedSample
Public methodGetNextSample
Gets the next sample.
Public methodGetSample
Public methodGetTrackDuration
Gets the track duration.
Public methodReadConfigurationInfo
Reads configuration information from the current buffer. If decoder configuration data is found it will automatically be added to the corresponding decoder specfic configuration.
Public methodSeekToTimePosition
Seeks track to new position or nearest position. If a sync sample box (STSS) is present, this function will seek to the nearest key frame, which in some circumstances can be a signficant distance from the desired position.
Public methodWriteFragmentSample
Public methodWriteSample
Writes a sample.
Top
Fields
  NameDescription
Public fieldBoxFlags
The box flags.
Public fieldBoxVersion
The box version used to initialize all boxes.
Public fieldCurrentSampleNumber
The current sample number of samples actually comitted. This doesn't include configuration like SPS/PPS as they aren't part of the media payload itself.
Public fieldTrackInfo
Information describing the track.
Public fieldTrackNumber
The track number of this MP4Track.
Public fieldTrackStatus
The track status.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also