Click or drag to resize
Mp4Reader Class
ISO 14496-12, QTFF Reader, 3GPP annexes (mp4, mov, 3gx), fMP4, Smooth Streaming ISMV/ISMA, MPEG-DASH Segments (ISO 23009-1)

Currently supported Audio codecs: AAC, MP3, AMR-NB, AMR-WB, G.711a/u, LPCM, LittleEndian Twos Complement

Currently supported Video codecs: H.265, H.264, MPEG4-2, H.263

Inheritance Hierarchy
SystemObject
  StreamCoders.ContainerMp4Reader

Namespace: StreamCoders.Container
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class Mp4Reader : IReader, IDisposable

The Mp4Reader type exposes the following members.

Constructors
  NameDescription
Public methodMp4Reader
Default constructor.
Top
Properties
  NameDescription
Public propertyIsFragmented
After initialization this indicates whether the stream contains fragmented movie elements. It is important to disable tracks that are not being used, so the reader can discard fragments.
Public propertyPosition
Returns current time offset or adjusts position in stream to nearest valid time offset (smaller or equal to the value passed).
Public propertyTracks
Gets the tracks contained in the MP4 container.
Top
Methods
  NameDescription
Public methodDispose
Dispose of this object, cleaning up any resources it uses.
Public methodGetNextFrame
Retrieves next frame from trackInfo.
Public methodGetNextHintFrame
Retrieves the next RTP frame from a hint trackInfo.
Public methodGetTrackStatus
Public methodInit(Stream)
Initialises this object.
Public methodInit(String)
Initialises this object.
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
Remarks

Supports reading file sizes up to 2^(64-1) bytes.

See Also