org.jcodec.containers.mxf.streaming
Class MXFVirtualTrack

java.lang.Object
  extended by org.jcodec.containers.mxf.streaming.MXFVirtualTrack
All Implemented Interfaces:
VirtualTrack

public class MXFVirtualTrack
extends Object
implements VirtualTrack

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A virtual track that extracts frames from MXF as it those were from MP4

Author:
The JCodec project

Nested Class Summary
 class MXFVirtualTrack.MXFVirtualPacket
           
static class MXFVirtualTrack.PatchedMXFDemuxer
           
 
Nested classes/interfaces inherited from interface org.jcodec.movtool.streaming.VirtualTrack
VirtualTrack.VirtualEdit
 
Constructor Summary
MXFVirtualTrack(MXFDemuxer.MXFDemuxerTrack track, FilePool fp)
           
 
Method Summary
 void close()
           
static MXFDemuxer createDemuxer(SeekableByteChannel channel)
           
 VirtualTrack.VirtualEdit[] getEdits()
           
 int getPreferredTimescale()
           
 SampleEntry getSampleEntry()
           
 int getTrackId()
           
 VirtualPacket nextPacket()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MXFVirtualTrack

public MXFVirtualTrack(MXFDemuxer.MXFDemuxerTrack track,
                       FilePool fp)
                throws IOException
Throws:
IOException
Method Detail

createDemuxer

public static MXFDemuxer createDemuxer(SeekableByteChannel channel)
                                throws IOException
Throws:
IOException

nextPacket

public VirtualPacket nextPacket()
                         throws IOException
Specified by:
nextPacket in interface VirtualTrack
Throws:
IOException

getSampleEntry

public SampleEntry getSampleEntry()
Specified by:
getSampleEntry in interface VirtualTrack

getEdits

public VirtualTrack.VirtualEdit[] getEdits()
Specified by:
getEdits in interface VirtualTrack

getPreferredTimescale

public int getPreferredTimescale()
Specified by:
getPreferredTimescale in interface VirtualTrack

close

public void close()
Specified by:
close in interface VirtualTrack

getTrackId

public int getTrackId()


Copyright © 2013. All Rights Reserved.