org.jcodec.containers.mxf
Class MXFDemuxer.MXFDemuxerTrack

java.lang.Object
  extended by org.jcodec.containers.mxf.MXFDemuxer.MXFDemuxerTrack
All Implemented Interfaces:
DemuxerTrack
Enclosing class:
MXFDemuxer

public class MXFDemuxer.MXFDemuxerTrack
extends Object
implements DemuxerTrack


Constructor Summary
MXFDemuxer.MXFDemuxerTrack(UL essenceUL, TimelineTrack track, GenericDescriptor descriptor)
           
 
Method Summary
 MXFConst.MXFCodecMapping getCodec()
           
 long getCurFrame()
           
 GenericDescriptor getDescriptor()
           
 double getDuration()
           
 UL getEssenceUL()
           
 String getName()
           
 int getNumFrames()
           
 int getTrackId()
           
 boolean gotoFrame(long frameNo)
           
 boolean isAudio()
           
 boolean isVideo()
           
 Packet nextFrame()
           
 MXFDemuxer.MXFPacket readPacket(long off, int len, long pts, int timescale, int duration, int frameNo)
           
 void seek(double second)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MXFDemuxer.MXFDemuxerTrack

public MXFDemuxer.MXFDemuxerTrack(UL essenceUL,
                                  TimelineTrack track,
                                  GenericDescriptor descriptor)
                           throws IOException
Throws:
IOException
Method Detail

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.