Package org.mp4parser

Interface Box

All Known Subinterfaces:
FullBox, ParsableBox, SampleEntry
All Known Implementing Classes:
AbstractBox, AbstractContainerBox, AbstractDescriptorBox, AbstractFullBox, AbstractMediaHeaderBox, AbstractSampleEncryptionBox, AbstractSampleEntry, AbstractTrackEncryptionBox, AC3SpecificBox, ActionMessageFormat0SampleEntryBox, AlbumBox, AmrSpecificBox, Apple_atIDBox, Apple_flvr_Box, Apple_geIDBox, Apple_xid_Box, AppleAlbumBox, AppleAppleIdBox, AppleArtist2Box, AppleArtistBox, AppleCommentBox, AppleCompilationBox, AppleCopyrightBox, AppleCountryTypeBoxBox, AppleCoverBox, AppleDataBox, AppleDataRateBox, AppleDataReferenceBox, AppleDescriptionBox, AppleDiskNumberBox, AppleEncoderBox, AppleGaplessPlaybackBox, AppleGenreBox, AppleGenreIDBox, AppleGPSCoordinatesBox, AppleGroupingBox, AppleItemListBox, AppleLongDescriptionBox, AppleLosslessSpecificBox, AppleLyricsBox, AppleMediaTypeBox, AppleNameBox, ApplePurchaseDateBox, AppleRecordingYear2Box, AppleRecordingYearBox, AppleReferenceMovieBox, AppleReferenceMovieDescriptorBox, AppleShortDescriptionBox, AppleSortAlbumBox, AppleTempoBox, AppleTrackAuthorBox, AppleTrackNumberBox, AppleTVEpisodeBox, AppleTVEpisodeNumberBox, AppleTVNetworkBox, AppleTVSeasonBox, AppleTVShowBox, AppleVariableSignedIntegerBox, AppleWaveBox, AssetInformationBox, AudioSampleEntry, AuthorBox, AvcConfigurationBox, AvcNalUnitStorageBox, BaseLocationBox, BaseMediaInfoAtom, BitRateBox, ChunkOffset64BitBox, ChunkOffsetBox, ClassificationBox, CleanApertureAtom, CompositionTimeToSample, CompositionToDecodeBox, ContentInformationBox, ContentLightLevelBox, CopyrightBox, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataReferenceBox, DegradationPriorityBox, DescriptionBox, DfxpSampleEntry, DoViConfigurationBox, DTSSpecificBox, EC3SpecificBox, EditBox, EditListBox, ESDescriptorBox, EventMessageBox, FileTypeBox, FontTableBox, FreeBox, FreeSpaceBox, FullContainerBox, GenericMediaHeaderAtom, GenericMediaHeaderTextAtom, GenreBox, HandlerBox, HevcConfigurationBox, HintMediaHeaderBox, HintSampleEntry, ItemDataBox, ItemLocationBox, ItemProtectionBox, KeywordsBox, LocationInformationBox, MediaBox, MediaDataBox, MediaHeaderBox, MediaInformationBox, MetaBox, MLPSpecificBox, MovieBox, MovieExtendsBox, MovieExtendsHeaderBox, MovieFragmentBox, MovieFragmentHeaderBox, MovieFragmentRandomAccessBox, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, MpegSampleEntry, NullMediaHeaderBox, OmaDrmAccessUnitFormatBox, OriginalFormatBox, Ovc1VisualSampleEntryImpl, PerformerBox, PiffSampleEncryptionBox, PiffTrackEncryptionBox, PixelAspectRationAtom, PriotityRangeBox, ProgressiveDownloadInformationBox, ProtectionSchemeInformationBox, ProtectionSystemSpecificHeaderBox, QuicktimeTextSampleEntry, RatingBox, RecordingYearBox, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleDescriptionBox, SampleEncryptionBox, SampleGroupDescriptionBox, SampleSizeBox, SampleTableBox, SampleToChunkBox, SampleToGroupBox, SchemeInformationBox, SchemeTypeBox, SegmentIndexBox, SegmentTypeBox, SkipBox, SMPTE2086MasteringDisplayMetadataBox, SoundMediaHeaderBox, StaticChunkOffsetBox, SubSampleInformationBox, SubtitleMediaHeaderBox, SyncSampleBox, TextSampleEntry, TfrfBox, TfxdBox, TierBitRateBox, TierInfoBox, TimeCodeBox, TimeToSampleBox, TitleBox, TrackApertureModeDimensionAtom, TrackBox, TrackEncodedPixelsDimensionsAtom, TrackEncryptionBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentBox, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackHeaderBox, TrackLoadSettingsAtom, TrackProductionApertureDimensionsAtom, TrackReferenceBox, TrackReferenceTypeBox, TrackRunBox, TrickPlayBox, UnknownBox, UserBox, UserDataBox, Utf8AppleDataBox, UuidBasedProtectionSystemSpecificHeaderBox, VideoMediaHeaderBox, VisualSampleEntry, VPCodecConfigurationBox, WebVTTConfigurationBox, WebVTTSampleEntry, WebVTTSourceLabelBox, XmlBox, XMLSubtitleSampleEntry, XtraBox

public interface Box
The most basic imaginable box. It does not have any parsing functionality it can be used to create boxes programmatically.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getBox(WritableByteChannel writableByteChannel)
    Writes the complete box - size | 4-cc | content - to the given writableByteChannel.
    long
     
    The box's 4-cc type.
  • Method Details

    • getType

      String getType()
      The box's 4-cc type.
      Returns:
      the 4 character type of the box
    • getSize

      long getSize()
    • getBox

      void getBox(WritableByteChannel writableByteChannel) throws IOException
      Writes the complete box - size | 4-cc | content - to the given writableByteChannel.
      Parameters:
      writableByteChannel - the box's sink
      Throws:
      IOException - in case of problems with the Channel