@UnstableApi
abstract class Mp4Box

Known direct subclasses
Mp4Box.ContainerBox

An MP4 box that has child boxes.

Mp4Box.LeafBox

An MP4 box that is a leaf.


A representation of an MP4 box (aka atom).

Summary

Nested types

An MP4 box that has child boxes.

An MP4 box that is a leaf.

Constants

const Int

Value for the size field in a box that defines its size in the largesize field.

const Int

Value for the size field in a box that extends to the end of the file.

const Int

Size of a full box header, in bytes.

const Int

Size of a box header, in bytes.

const Int

Size of a long box header, in bytes.

const Int
TYPE_H263 = 1211250227
const Int
TYPE_Opus = 1332770163
const Int
TYPE_TTML = 1414810956
const Int
TYPE__mp2 = 778924082
const Int
TYPE__mp3 = 778924083
const Int
TYPE_ac_3 = 1633889587
const Int
TYPE_ac_4 = 1633889588
const Int
TYPE_alac = 1634492771
const Int
TYPE_alaw = 1634492791
const Int
TYPE_av01 = 1635135537
const Int
TYPE_av1C = 1635135811
const Int
TYPE_avc1 = 1635148593
const Int
TYPE_avc3 = 1635148595
const Int
TYPE_avcC = 1635148611
const Int
TYPE_c608 = 1664495672
const Int
TYPE_camm = 1667329389
const Int
TYPE_clli = 1668050025
const Int
TYPE_co64 = 1668232756
const Int
TYPE_colr = 1668246642
const Int
TYPE_ctts = 1668576371
const Int
TYPE_d263 = 1681012275
const Int
TYPE_dOps = 1682927731
const Int
TYPE_dac3 = 1684103987
const Int
TYPE_dac4 = 1684103988
const Int
TYPE_data = 1684108385
const Int
TYPE_ddts = 1684305011
const Int
TYPE_dec3 = 1684366131
const Int
TYPE_dfLa = 1684425825
const Int
TYPE_dmlp = 1684892784
const Int
TYPE_dtsc = 1685353315
const Int
TYPE_dtse = 1685353317
const Int
TYPE_dtsh = 1685353320
const Int
TYPE_dtsl = 1685353324
const Int
TYPE_dtsx = 1685353336
const Int
TYPE_dva1 = 1685479729
const Int
TYPE_dvav = 1685479798
const Int
TYPE_dvcC = 1685480259
const Int
TYPE_dvh1 = 1685481521
const Int
TYPE_dvhe = 1685481573
const Int
TYPE_dvvC = 1685485123
const Int
TYPE_ec_3 = 1700998451
const Int
TYPE_edts = 1701082227
const Int
TYPE_edvd = 1701082724
const Int
TYPE_elst = 1701606260
const Int
TYPE_emsg = 1701671783
const Int
TYPE_enca = 1701733217
const Int
TYPE_encv = 1701733238
const Int
TYPE_esds = 1702061171
const Int
TYPE_eyes = 1702454643
const Int
TYPE_fLaC = 1716281667
const Int
TYPE_frma = 1718775137
const Int
TYPE_ftyp = 1718909296
const Int
TYPE_hdlr = 1751411826
const Int
TYPE_hev1 = 1751479857
const Int
TYPE_hvc1 = 1752589105
const Int
TYPE_hvcC = 1752589123
const Int
TYPE_iacb = 1767990114
const Int
TYPE_iamf = 1767992678
const Int
TYPE_ilst = 1768715124
const Int
TYPE_keys = 1801812339
const Int
TYPE_lhvC = 1818785347
const Int
TYPE_lpcm = 1819304813
const Int
TYPE_m1v_ = 1831958048
const Int
TYPE_mdat = 1835295092
const Int
TYPE_mdcv = 1835295606
const Int
TYPE_mdhd = 1835296868
const Int
TYPE_mdia = 1835297121
const Int
TYPE_mean = 1835360622
const Int
TYPE_mehd = 1835362404
const Int
TYPE_meta = 1835365473
const Int
TYPE_mett = 1835365492
const Int
TYPE_mha1 = 1835557169
const Int
TYPE_mhaC = 1835557187
const Int
TYPE_mhaP = 1835557200
const Int
TYPE_mhm1 = 1835560241
const Int
TYPE_minf = 1835626086
const Int
TYPE_mlpa = 1835823201
const Int
TYPE_moof = 1836019558
const Int
TYPE_moov = 1836019574
const Int
TYPE_mp4a = 1836069985
const Int
TYPE_mp4v = 1836070006
const Int
TYPE_mpvd = 1836086884
const Int
TYPE_mvex = 1836475768
const Int
TYPE_mvhd = 1836476516
const Int
TYPE_name = 1851878757
const Int
TYPE_pasp = 1885434736
const Int
TYPE_proj = 1886547818
const Int
TYPE_pssh = 1886614376
const Int
TYPE_s263 = 1932670515
const Int
TYPE_saio = 1935763823
const Int
TYPE_saiz = 1935763834
const Int
TYPE_samr = 1935764850
const Int
TYPE_saut = 1935766900
const Int
TYPE_sawb = 1935767394
const Int
TYPE_sbgp = 1935828848
const Int
TYPE_schi = 1935894633
const Int
TYPE_schm = 1935894637
const Int
TYPE_senc = 1936027235
const Int
TYPE_sgpd = 1936158820
const Int
TYPE_sidx = 1936286840
const Int
TYPE_sinf = 1936289382
const Int
TYPE_smta = 1936553057
const Int
TYPE_sowt = 1936684916
const Int
TYPE_srfr = 1936877170
const Int
TYPE_st3d = 1936995172
const Int
TYPE_stbl = 1937007212
const Int
TYPE_stco = 1937007471
const Int
TYPE_stpp = 1937010800
const Int
TYPE_stri = 1937011305
const Int
TYPE_stsc = 1937011555
const Int
TYPE_stsd = 1937011556
const Int
TYPE_stss = 1937011571
const Int
TYPE_stsz = 1937011578
const Int
TYPE_stts = 1937011827
const Int
TYPE_stz2 = 1937013298
const Int
TYPE_sv3d = 1937126244
const Int
TYPE_tenc = 1952804451
const Int
TYPE_tfdt = 1952867444
const Int
TYPE_tfhd = 1952868452
const Int
TYPE_tkhd = 1953196132
const Int
TYPE_traf = 1953653094
const Int
TYPE_trak = 1953653099
const Int
TYPE_trex = 1953654136
const Int
TYPE_trun = 1953658222
const Int
TYPE_twos = 1953984371
const Int
TYPE_tx3g = 1954034535
const Int
TYPE_udta = 1969517665
const Int
TYPE_udts = 1969517683
const Int
TYPE_ulaw = 1970037111
const Int
TYPE_uuid = 1970628964
const Int
TYPE_vexu = 1986361461
const Int
TYPE_vp08 = 1987063864
const Int
TYPE_vp09 = 1987063865
const Int
TYPE_vpcC = 1987076931
const Int
TYPE_wave = 2002876005
const Int
TYPE_wvtt = 2004251764
const Int
TYPE_xyz = -1451722374

Public functions

java-static String!

Converts a numeric box type to the corresponding four character string.

String!

Public properties

Int

Constants

DEFINES_LARGE_SIZE

const val DEFINES_LARGE_SIZE = 1: Int

Value for the size field in a box that defines its size in the largesize field.

EXTENDS_TO_END_SIZE

const val EXTENDS_TO_END_SIZE = 0: Int

Value for the size field in a box that extends to the end of the file.

FULL_HEADER_SIZE

const val FULL_HEADER_SIZE = 12: Int

Size of a full box header, in bytes.

HEADER_SIZE

const val HEADER_SIZE = 8: Int

Size of a box header, in bytes.

LONG_HEADER_SIZE

const val LONG_HEADER_SIZE = 16: Int

Size of a long box header, in bytes.

TYPE_H263

const val TYPE_H263 = 1211250227: Int

TYPE_Opus

const val TYPE_Opus = 1332770163: Int

TYPE_TTML

const val TYPE_TTML = 1414810956: Int

TYPE__mp2

const val TYPE__mp2 = 778924082: Int

TYPE__mp3

const val TYPE__mp3 = 778924083: Int

TYPE_ac_3

const val TYPE_ac_3 = 1633889587: Int

TYPE_ac_4

const val TYPE_ac_4 = 1633889588: Int

TYPE_alac

const val TYPE_alac = 1634492771: Int

TYPE_alaw

const val TYPE_alaw = 1634492791: Int

TYPE_av01

const val TYPE_av01 = 1635135537: Int

TYPE_av1C

const val TYPE_av1C = 1635135811: Int

TYPE_avc1

const val TYPE_avc1 = 1635148593: Int

TYPE_avc3

const val TYPE_avc3 = 1635148595: Int

TYPE_avcC

const val TYPE_avcC = 1635148611: Int

TYPE_c608

const val TYPE_c608 = 1664495672: Int

TYPE_camm

const val TYPE_camm = 1667329389: Int

TYPE_clli

const val TYPE_clli = 1668050025: Int

TYPE_co64

const val TYPE_co64 = 1668232756: Int

TYPE_colr

const val TYPE_colr = 1668246642: Int

TYPE_ctts

const val TYPE_ctts = 1668576371: Int

TYPE_d263

const val TYPE_d263 = 1681012275: Int

TYPE_dOps

const val TYPE_dOps = 1682927731: Int

TYPE_dac3

const val TYPE_dac3 = 1684103987: Int

TYPE_dac4

const val TYPE_dac4 = 1684103988: Int

TYPE_data

const val TYPE_data = 1684108385: Int

TYPE_ddts

const val TYPE_ddts = 1684305011: Int

TYPE_dec3

const val TYPE_dec3 = 1684366131: Int

TYPE_dfLa

const val TYPE_dfLa = 1684425825: Int

TYPE_dmlp

const val TYPE_dmlp = 1684892784: Int

TYPE_dtsc

const val TYPE_dtsc = 1685353315: Int

TYPE_dtse

const val TYPE_dtse = 1685353317: Int

TYPE_dtsh

const val TYPE_dtsh = 1685353320: Int

TYPE_dtsl

const val TYPE_dtsl = 1685353324: Int

TYPE_dtsx

const val TYPE_dtsx = 1685353336: Int

TYPE_dva1

const val TYPE_dva1 = 1685479729: Int

TYPE_dvav

const val TYPE_dvav = 1685479798: Int

TYPE_dvcC

const val TYPE_dvcC = 1685480259: Int

TYPE_dvh1

const val TYPE_dvh1 = 1685481521: Int

TYPE_dvhe

const val TYPE_dvhe = 1685481573: Int

TYPE_dvvC

const val TYPE_dvvC = 1685485123: Int

TYPE_ec_3

const val TYPE_ec_3 = 1700998451: Int

TYPE_edts

const val TYPE_edts = 1701082227: Int

TYPE_edvd

const val TYPE_edvd = 1701082724: Int

TYPE_elst

const val TYPE_elst = 1701606260: Int

TYPE_emsg

const val TYPE_emsg = 1701671783: Int

TYPE_enca

const val TYPE_enca = 1701733217: Int

TYPE_encv

const val TYPE_encv = 1701733238: Int

TYPE_esds

const val TYPE_esds = 1702061171: Int

TYPE_eyes

const val TYPE_eyes = 1702454643: Int

TYPE_fLaC

const val TYPE_fLaC = 1716281667: Int

TYPE_frma

const val TYPE_frma = 1718775137: Int

TYPE_ftyp

const val TYPE_ftyp = 1718909296: Int

TYPE_hdlr

const val TYPE_hdlr = 1751411826: Int

TYPE_hev1

const val TYPE_hev1 = 1751479857: Int

TYPE_hvc1

const val TYPE_hvc1 = 1752589105: Int

TYPE_hvcC

const val TYPE_hvcC = 1752589123: Int

TYPE_iacb

const val TYPE_iacb = 1767990114: Int

TYPE_iamf

const val TYPE_iamf = 1767992678: Int

TYPE_ilst

const val TYPE_ilst = 1768715124: Int

TYPE_keys

const val TYPE_keys = 1801812339: Int

TYPE_lhvC

const val TYPE_lhvC = 1818785347: Int

TYPE_lpcm

const val TYPE_lpcm = 1819304813: Int

TYPE_m1v_

const val TYPE_m1v_ = 1831958048: Int

TYPE_mdat

const val TYPE_mdat = 1835295092: Int

TYPE_mdcv

const val TYPE_mdcv = 1835295606: Int

TYPE_mdhd

const val TYPE_mdhd = 1835296868: Int

TYPE_mdia

const val TYPE_mdia = 1835297121: Int

TYPE_mean

const val TYPE_mean = 1835360622: Int

TYPE_mehd

const val TYPE_mehd = 1835362404: Int

TYPE_meta

const val TYPE_meta = 1835365473: Int

TYPE_mett

const val TYPE_mett = 1835365492: Int

TYPE_mha1

const val TYPE_mha1 = 1835557169: Int

TYPE_mhaC

const val TYPE_mhaC = 1835557187: Int

TYPE_mhaP

const val TYPE_mhaP = 1835557200: Int

TYPE_mhm1

const val TYPE_mhm1 = 1835560241: Int

TYPE_minf

const val TYPE_minf = 1835626086: Int

TYPE_mlpa

const val TYPE_mlpa = 1835823201: Int

TYPE_moof

const val TYPE_moof = 1836019558: Int

TYPE_moov

const val TYPE_moov = 1836019574: Int

TYPE_mp4a

const val TYPE_mp4a = 1836069985: Int

TYPE_mp4v

const val TYPE_mp4v = 1836070006: Int

TYPE_mpvd

const val TYPE_mpvd = 1836086884: Int

TYPE_mvex

const val TYPE_mvex = 1836475768: Int

TYPE_mvhd

const val TYPE_mvhd = 1836476516: Int

TYPE_name

const val TYPE_name = 1851878757: Int

TYPE_pasp

const val TYPE_pasp = 1885434736: Int

TYPE_proj

const val TYPE_proj = 1886547818: Int

TYPE_pssh

const val TYPE_pssh = 1886614376: Int

TYPE_s263

const val TYPE_s263 = 1932670515: Int

TYPE_saio

const val TYPE_saio = 1935763823: Int

TYPE_saiz

const val TYPE_saiz = 1935763834: Int

TYPE_samr

const val TYPE_samr = 1935764850: Int

TYPE_saut

const val TYPE_saut = 1935766900: Int

TYPE_sawb

const val TYPE_sawb = 1935767394: Int

TYPE_sbgp

const val TYPE_sbgp = 1935828848: Int

TYPE_schi

const val TYPE_schi = 1935894633: Int

TYPE_schm

const val TYPE_schm = 1935894637: Int

TYPE_senc

const val TYPE_senc = 1936027235: Int

TYPE_sgpd

const val TYPE_sgpd = 1936158820: Int

TYPE_sidx

const val TYPE_sidx = 1936286840: Int

TYPE_sinf

const val TYPE_sinf = 1936289382: Int

TYPE_smta

const val TYPE_smta = 1936553057: Int

TYPE_sowt

const val TYPE_sowt = 1936684916: Int

TYPE_srfr

const val TYPE_srfr = 1936877170: Int

TYPE_st3d

const val TYPE_st3d = 1936995172: Int

TYPE_stbl

const val TYPE_stbl = 1937007212: Int

TYPE_stco

const val TYPE_stco = 1937007471: Int

TYPE_stpp

const val TYPE_stpp = 1937010800: Int

TYPE_stri

const val TYPE_stri = 1937011305: Int

TYPE_stsc

const val TYPE_stsc = 1937011555: Int

TYPE_stsd

const val TYPE_stsd = 1937011556: Int

TYPE_stss

const val TYPE_stss = 1937011571: Int

TYPE_stsz

const val TYPE_stsz = 1937011578: Int

TYPE_stts

const val TYPE_stts = 1937011827: Int

TYPE_stz2

const val TYPE_stz2 = 1937013298: Int

TYPE_sv3d

const val TYPE_sv3d = 1937126244: Int

TYPE_tenc

const val TYPE_tenc = 1952804451: Int

TYPE_tfdt

const val TYPE_tfdt = 1952867444: Int

TYPE_tfhd

const val TYPE_tfhd = 1952868452: Int

TYPE_tkhd

const val TYPE_tkhd = 1953196132: Int

TYPE_traf

const val TYPE_traf = 1953653094: Int

TYPE_trak

const val TYPE_trak = 1953653099: Int

TYPE_trex

const val TYPE_trex = 1953654136: Int

TYPE_trun

const val TYPE_trun = 1953658222: Int

TYPE_twos

const val TYPE_twos = 1953984371: Int

TYPE_tx3g

const val TYPE_tx3g = 1954034535: Int

TYPE_udta

const val TYPE_udta = 1969517665: Int

TYPE_udts

const val TYPE_udts = 1969517683: Int

TYPE_ulaw

const val TYPE_ulaw = 1970037111: Int

TYPE_uuid

const val TYPE_uuid = 1970628964: Int

TYPE_vexu

const val TYPE_vexu = 1986361461: Int

TYPE_vp08

const val TYPE_vp08 = 1987063864: Int

TYPE_vp09

const val TYPE_vp09 = 1987063865: Int

TYPE_vpcC

const val TYPE_vpcC = 1987076931: Int

TYPE_wave

const val TYPE_wave = 2002876005: Int

TYPE_wvtt

const val TYPE_wvtt = 2004251764: Int

TYPE_xyz

const val TYPE_xyz = -1451722374: Int

Public functions

getBoxTypeString

java-static fun getBoxTypeString(type: Int): String!

Converts a numeric box type to the corresponding four character string.

Parameters
type: Int

The numeric box type.

Returns
String!

The corresponding four character string.

toString

fun toString(): String!

Public properties

type

val typeInt