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
IOException
public static MP4Demuxer createRawMP4Demuxer(SeekableByteChannel input) throws IOException
IOException
protected 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 Demuxer
public List<DemuxerTrack> getAudioTracks()
getAudioTracks
in interface Demuxer
public TimecodeMP4DemuxerTrack getTimecodeTrack()
public static int probe(ByteBuffer b)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2019. All rights reserved.