public class MPEGAudioDemuxer extends Object implements Demuxer, DemuxerTrack
Constructor and Description |
---|
MPEGAudioDemuxer(SeekableByteChannel ch) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<? extends DemuxerTrack> |
getAudioTracks() |
DemuxerTrackMeta |
getMeta() |
List<? extends DemuxerTrack> |
getTracks() |
List<? extends DemuxerTrack> |
getVideoTracks() |
Packet |
nextFrame() |
static int |
probe(ByteBuffer b)
Used to auto-detect MPEG Audio (MP3) files
|
public MPEGAudioDemuxer(SeekableByteChannel ch) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public List<? extends DemuxerTrack> getTracks()
public List<? extends DemuxerTrack> getVideoTracks()
getVideoTracks
in interface Demuxer
public List<? extends DemuxerTrack> getAudioTracks()
getAudioTracks
in interface Demuxer
public Packet nextFrame() throws IOException
nextFrame
in interface DemuxerTrack
IOException
public DemuxerTrackMeta getMeta()
getMeta
in interface DemuxerTrack
public static int probe(ByteBuffer b)
b
- Buffer containing a snippet of dataCopyright © 2019. All rights reserved.