public class MXFDemuxer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MXFDemuxer.Fast
Fast loading version of demuxer, doesn't search for metadata in ALL the
partitions, only the header and footer are being inspected
|
static class |
MXFDemuxer.MXFDemuxerTrack |
static class |
MXFDemuxer.MXFPacket |
static class |
MXFDemuxer.OP |
Modifier and Type | Field and Description |
---|---|
protected SeekableByteChannel |
ch |
protected double |
duration |
protected MXFPartition |
header |
protected List<IndexSegment> |
indexSegments |
protected List<MXFMetadata> |
metadata |
protected List<MXFPartition> |
partitions |
protected TimecodeComponent |
timecode |
protected int |
totalFrames |
protected MXFDemuxer.MXFDemuxerTrack[] |
tracks |
Constructor and Description |
---|
MXFDemuxer(SeekableByteChannel ch) |
Modifier and Type | Method and Description |
---|---|
protected MXFDemuxer.MXFDemuxerTrack |
createTrack(UL ul,
TimelineTrack track,
GenericDescriptor descriptor) |
static FileDescriptor |
findDescriptor(List<FileDescriptor> descriptors,
int trackId) |
MXFDemuxer.MXFDemuxerTrack[] |
findTracks() |
MXFDemuxer.MXFDemuxerTrack[] |
getAudioTracks() |
List<MXFPartition> |
getEssencePartitions() |
List<IndexSegment> |
getIndexes() |
List<MXFMetadata> |
getMetadata() |
MXFDemuxer.OP |
getOp() |
List<SourceClip> |
getSourceClips(int trackId) |
TimecodeComponent |
getTimecode() |
MXFDemuxer.MXFDemuxerTrack[] |
getTracks() |
MXFDemuxer.MXFDemuxerTrack |
getVideoTrack() |
void |
parseHeader(SeekableByteChannel ff) |
static MXFPartition |
readHeaderPartition(SeekableByteChannel ff) |
static List<MXFMetadata> |
readPartitionMeta(SeekableByteChannel ff,
MXFPartition header) |
static TapeTimecode |
readTapeTimecode(File mxf) |
protected List<MXFMetadata> metadata
protected MXFPartition header
protected List<MXFPartition> partitions
protected List<IndexSegment> indexSegments
protected SeekableByteChannel ch
protected MXFDemuxer.MXFDemuxerTrack[] tracks
protected int totalFrames
protected double duration
protected TimecodeComponent timecode
public MXFDemuxer(SeekableByteChannel ch) throws IOException
IOException
public MXFDemuxer.OP getOp()
public MXFDemuxer.MXFDemuxerTrack[] findTracks() throws IOException
IOException
public static FileDescriptor findDescriptor(List<FileDescriptor> descriptors, int trackId)
protected MXFDemuxer.MXFDemuxerTrack createTrack(UL ul, TimelineTrack track, GenericDescriptor descriptor) throws IOException
IOException
public List<IndexSegment> getIndexes()
public List<MXFPartition> getEssencePartitions()
public TimecodeComponent getTimecode()
public void parseHeader(SeekableByteChannel ff) throws IOException
IOException
public static List<MXFMetadata> readPartitionMeta(SeekableByteChannel ff, MXFPartition header) throws IOException
IOException
public static MXFPartition readHeaderPartition(SeekableByteChannel ff) throws IOException
IOException
public MXFDemuxer.MXFDemuxerTrack[] getTracks()
public MXFDemuxer.MXFDemuxerTrack getVideoTrack()
public MXFDemuxer.MXFDemuxerTrack[] getAudioTracks()
public List<SourceClip> getSourceClips(int trackId)
public static TapeTimecode readTapeTimecode(File mxf) throws IOException
IOException
public List<MXFMetadata> getMetadata()
Copyright © 2019. All rights reserved.