Class TfrfBox

  • All Implemented Interfaces:
    Box, FullBox, ParsableBox

    public class TfrfBox
    extends AbstractFullBox

    4cc = "uuid", d4807ef2-ca39-4695-8e54-26cb9e46a79f

    The syntax of the fields defined in this section, specified in ABNF [RFC5234], is as follows: TfrfBox = TfrfBoxLength TfrfBoxType [TfrfBoxLongLength] TfrfBoxUUID TfrfBoxFields TfrfBoxChildren TfrfBoxType = "u" "u" "i" "d" TfrfBoxLength = BoxLength TfrfBoxLongLength = LongBoxLength TfrfBoxUUID = %xD4 %x80 %x7E %xF2 %xCA %x39 %x46 %x95 %x8E %x54 %x26 %xCB %x9E %x46 %xA7 %x9F TfrfBoxFields = TfrfBoxVersion TfrfBoxFlags FragmentCount (1* TfrfBoxDataFields32) / (1* TfrfBoxDataFields64) TfrfBoxVersion = %x00 / %x01 TfrfBoxFlags = 24*24 RESERVED_BIT FragmentCount = UINT8 TfrfBoxDataFields32 = FragmentAbsoluteTime32 FragmentDuration32 TfrfBoxDataFields64 = FragmentAbsoluteTime64 FragmentDuration64 FragmentAbsoluteTime64 = UNSIGNED_INT32 FragmentDuration64 = UNSIGNED_INT32 FragmentAbsoluteTime64 = UNSIGNED_INT64 FragmentDuration64 = UNSIGNED_INT64 TfrfBoxChildren = *( VendorExtensionUUIDBox )
    • Constructor Detail

      • TfrfBox

        public TfrfBox()
    • Method Detail

      • getContent

        protected void getContent​(ByteBuffer byteBuffer)
        Description copied from class: AbstractBox
        Write the box's content into the given ByteBuffer. This must include flags and version in case of a full box. byteBuffer has been initialized with getSize() bytes.
        Specified by:
        getContent in class AbstractBox
        Parameters:
        byteBuffer - the sink for the box's content
      • _parseDetails

        public void _parseDetails​(ByteBuffer content)
        Description copied from class: AbstractBox
        Parse the box's fields and child boxes if any.
        Specified by:
        _parseDetails in class AbstractBox
        Parameters:
        content - the box's raw content beginning after the 4-cc field.
      • getFragmentCount

        public long getFragmentCount()