org.jcodec.containers.mxf
Class MXFDemuxer.MXFDemuxerTrack
java.lang.Object
org.jcodec.containers.mxf.MXFDemuxer.MXFDemuxerTrack
- All Implemented Interfaces:
- DemuxerTrack
- Enclosing class:
- MXFDemuxer
public class MXFDemuxer.MXFDemuxerTrack
- extends Object
- implements DemuxerTrack
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MXFDemuxer.MXFDemuxerTrack
public MXFDemuxer.MXFDemuxerTrack(UL essenceUL,
TimelineTrack track,
GenericDescriptor descriptor)
throws IOException
- Throws:
IOException
isAudio
public boolean isAudio()
isVideo
public boolean isVideo()
getDuration
public double getDuration()
getNumFrames
public int getNumFrames()
getName
public String getName()
nextFrame
public Packet nextFrame()
throws IOException
- Specified by:
nextFrame in interface DemuxerTrack
- Throws:
IOException
readPacket
public MXFDemuxer.MXFPacket readPacket(long off,
int len,
long pts,
int timescale,
int duration,
int frameNo)
throws IOException
- Throws:
IOException
gotoFrame
public boolean gotoFrame(long frameNo)
- Specified by:
gotoFrame in interface DemuxerTrack
getCurFrame
public long getCurFrame()
- Specified by:
getCurFrame in interface DemuxerTrack
seek
public void seek(double second)
- Specified by:
seek in interface DemuxerTrack
getEssenceUL
public UL getEssenceUL()
getDescriptor
public GenericDescriptor getDescriptor()
getCodec
public MXFConst.MXFCodecMapping getCodec()
getTrackId
public int getTrackId()
Copyright © 2013. All Rights Reserved.