org.jcodec.containers.mxf
Class MXFDemuxer
java.lang.Object
org.jcodec.containers.mxf.MXFDemuxer
- Direct Known Subclasses:
- MXFDemuxer.Fast, MXFVirtualTrack.PatchedMXFDemuxer
public class MXFDemuxer
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
MXF demuxer
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metadata
protected List<MXFMetadata> metadata
header
protected MXFPartition header
partitions
protected List<MXFPartition> partitions
indexSegments
protected List<IndexSegment> indexSegments
ch
protected SeekableByteChannel ch
tracks
protected MXFDemuxer.MXFDemuxerTrack[] tracks
totalFrames
protected int totalFrames
duration
protected double duration
timecode
protected TimecodeComponent timecode
MXFDemuxer
public MXFDemuxer(SeekableByteChannel ch)
throws IOException
- Throws:
IOException
getOp
public MXFDemuxer.OP getOp()
findDescriptor
public static FileDescriptor findDescriptor(List<FileDescriptor> descriptors,
int trackId)
createTrack
protected MXFDemuxer.MXFDemuxerTrack createTrack(UL ul,
TimelineTrack track,
GenericDescriptor descriptor)
throws IOException
- Throws:
IOException
getIndexes
public List<IndexSegment> getIndexes()
getEssencePartitions
public List<MXFPartition> getEssencePartitions()
getTimecode
public TimecodeComponent getTimecode()
parseHeader
public void parseHeader(SeekableByteChannel ff)
throws IOException
- Throws:
IOException
readPartitionMeta
public static List<MXFMetadata> readPartitionMeta(SeekableByteChannel ff,
MXFPartition header)
throws IOException
- Throws:
IOException
readHeaderPartition
public static MXFPartition readHeaderPartition(SeekableByteChannel ff)
throws IOException
- Throws:
IOException
getTracks
public MXFDemuxer.MXFDemuxerTrack[] getTracks()
getVideoTrack
public MXFDemuxer.MXFDemuxerTrack getVideoTrack()
getAudioTracks
public MXFDemuxer.MXFDemuxerTrack[] getAudioTracks()
Copyright © 2013. All Rights Reserved.