public class Mp4StsdBox extends AbstractMp4Box
4 bytes version/flags = byte hex version + 24-bit hex flags (current = 0) 4 bytes number of descriptions = long unsigned total (default = 1) Then if audio contains mp4a,alac or drms box
Modifier and Type | Field and Description |
---|---|
static int |
NO_OF_DESCRIPTIONS_POS |
static int |
NO_OF_DESCRIPTIONS_POS_LENGTH |
static int |
OTHER_FLAG_LENGTH |
static int |
OTHER_FLAG_POS |
static int |
VERSION_FLAG_LENGTH |
static int |
VERSION_FLAG_POS |
dataBuffer, header
Constructor and Description |
---|
Mp4StsdBox(Mp4BoxHeader header,
ByteBuffer dataBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
processData() |
getData, getHeader
public static final int VERSION_FLAG_POS
public static final int OTHER_FLAG_POS
public static final int NO_OF_DESCRIPTIONS_POS
public static final int VERSION_FLAG_LENGTH
public static final int OTHER_FLAG_LENGTH
public static final int NO_OF_DESCRIPTIONS_POS_LENGTH
public Mp4StsdBox(Mp4BoxHeader header, ByteBuffer dataBuffer)
header
- header infodataBuffer
- data of box (doesnt include header data)public void processData() throws CannotReadException
CannotReadException
Copyright © 2005–2020 jthink.net. All rights reserved.