Click or drag to resize
Box Class
ISO 14496-12 Box.
Inheritance Hierarchy
SystemObject
  StreamCoders.Container.MP4Box
    More...

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

The Box type exposes the following members.

Constructors
  NameDescription
Public methodBox(Box)
Copy constructor.
Public methodBox(BoxType)
Copy constructor.
Public methodBox(MP4StreamReader)
Constructor.
Top
Properties
  NameDescription
Public propertyBoxSize
Gets the content + header size of a single box (without children) in bytes.
Public propertyContentSize
Gets the content only size of a single box (without children) in bytes.
Public propertyFullTreeSize
Gets the boxes size including all children and header sizes (in bytes).
Public propertyHeaderSize
Gets the Boxes header size in bytes.
Top
Methods
  NameDescription
Public methodAddChild
Adds a child.
Public methodDebugWriteToFile
Public methodFindChild(BoxType)
Finds a child of this item.
Public methodFindChild(BoxType)
Finds a child of this item.
Public methodFindChildT
Finds the first occurance of a child immediate to the current box.
Public methodFindChildFullT
Finds child of type T in full tree.
Public methodFindChildFullSubClassedT
Finds first child subclassed from type T in full tree.
Public methodFindChildrenT
Finds multiple Children of the same type immediate to the current box.
Public methodFindChildrenFullSubClassedT
Finds object derived subclassed from T in full tree.
Public methodFindParentT
Traverses up until root node until an immediate parent is found.
Public methodFindParentOrChildT
Traverses Parent and immediate children up to root node for a specific box type.
Public methodParse
Parses this object.
Public methodReadDebugData
Reads the debug data.
Public methodSetDirty
Marks box and its children as dirty. Initially all boxes are dirty.
Public methodSkip
Skips the remaining bytes of the box by reading them.
Public methodUpdate
Updates the box and it's children. The box must be set dirty.
Public methodVerifyDebugData
Verify debug data.
Public methodVerifyDebugData(String)
Verify debug data.
Public methodWriteInto
Writes the box and its children to a destination stream.
Top
Events
  NameDescription
Public eventOnBeforeWrite
Event to be raised before a Box is written to an output stream using Box.WriteInto
Top
Fields
  NameDescription
Public fieldBoxType
Contains the type of the box.
Public fieldBoxValueType
The value representation of the box type.
Public fieldSizeExcludingHeader
The size of the box without header.
Public fieldSizeIncludingHeader
The size of the current box including header.
Public fieldUserType
Custom Box type (uuid).
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
Inheritance Hierarchy
SystemObject
  StreamCoders.Container.MP4Box
    StreamCoders.Container.MP4AMRWPDecoderSpecificInfoBox
    StreamCoders.Container.MP4AVCConfigurationBox
    StreamCoders.Container.MP4BitRateBox
    StreamCoders.Container.MP4ColorParameterBox
    StreamCoders.Container.MP4CompressedMovieBox
    StreamCoders.Container.MP4CompressedMovieDataBox
    StreamCoders.Container.MP4DataCompressionBox
    StreamCoders.Container.MP4DataInformationBox
    StreamCoders.Container.MP4EditBox
    StreamCoders.Container.MP4FileTypeBox
    StreamCoders.Container.MP4FormatBox
    StreamCoders.Container.MP4FragmentedMediaDataBox
    StreamCoders.Container.MP4FullBox
    StreamCoders.Container.MP4H263DecoderSpecificInfoBox
    StreamCoders.Container.MP4HevcConfigurationBox
    StreamCoders.Container.MP4HintMaxRate
    StreamCoders.Container.MP4HintPayloadID
    StreamCoders.Container.MP4HintStatisticsBox
    StreamCoders.Container.MP4HintValue32
    StreamCoders.Container.MP4HintValue64
    StreamCoders.Container.MP4MediaBox
    StreamCoders.Container.MP4MediaDataBox
    StreamCoders.Container.MP4MediaInformationBox
    StreamCoders.Container.MP4MovieExtendsBox
    StreamCoders.Container.MP4MovieFragmentBox
    StreamCoders.Container.MP4MovieFragmentRandomAccessBox
    StreamCoders.Container.MP4RootBox
    StreamCoders.Container.MP4SampleEntry
    StreamCoders.Container.MP4SampleTableBox
    StreamCoders.Container.MP4SegmentTypeBox
    StreamCoders.Container.MP4SequenceOffset
    StreamCoders.Container.MP4TerminationBox
    StreamCoders.Container.MP4TimeOffset
    StreamCoders.Container.MP4TimeScaleEntry
    StreamCoders.Container.MP4TrackApertureModeDimensionsBox
    StreamCoders.Container.MP4TrackBox
    StreamCoders.Container.MP4TrackFragmentAdjustmentBox
    StreamCoders.Container.MP4TrackFragmentBox
    StreamCoders.Container.MP4TrackHintInformation
    StreamCoders.Container.MP4TrackReferenceBox
    StreamCoders.Container.MP4TrackReferenceTypeBox
    StreamCoders.Container.MP4UnsupportedBox
    StreamCoders.Container.MP4UserDataBox