public class MP4Demuxer extends Object implements Demuxer
| Modifier and Type | Field and Description |
|---|---|
protected SeekableByteChannel |
input |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static MP4Demuxer |
createMP4Demuxer(SeekableByteChannel input) |
static MP4Demuxer |
createRawMP4Demuxer(SeekableByteChannel input) |
List<DemuxerTrack> |
getAudioTracks() |
MovieBox |
getMovie() |
TimecodeMP4DemuxerTrack |
getTimecodeTrack() |
AbstractMP4DemuxerTrack |
getTrack(int no) |
List<AbstractMP4DemuxerTrack> |
getTracks() |
static MP4TrackType |
getTrackType(TrakBox trak) |
DemuxerTrack |
getVideoTrack() |
List<DemuxerTrack> |
getVideoTracks() |
protected AbstractMP4DemuxerTrack |
newTrack(TrakBox trak) |
static int |
probe(ByteBuffer b) |
protected SeekableByteChannel input
public static MP4Demuxer createMP4Demuxer(SeekableByteChannel input) throws IOException
IOExceptionpublic static MP4Demuxer createRawMP4Demuxer(SeekableByteChannel input) throws IOException
IOExceptionprotected AbstractMP4DemuxerTrack newTrack(TrakBox trak)
public static MP4TrackType getTrackType(TrakBox trak)
public DemuxerTrack getVideoTrack()
public MovieBox getMovie()
public AbstractMP4DemuxerTrack getTrack(int no)
public List<AbstractMP4DemuxerTrack> getTracks()
public List<DemuxerTrack> getVideoTracks()
getVideoTracks in interface Demuxerpublic List<DemuxerTrack> getAudioTracks()
getAudioTracks in interface Demuxerpublic TimecodeMP4DemuxerTrack getTimecodeTrack()
public static int probe(ByteBuffer b)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.