org.jcodec.movtool.streaming.tracks
Class RealTrack.RealPacket

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.RealTrack.RealPacket
All Implemented Interfaces:
VirtualPacket
Enclosing class:
RealTrack

public class RealTrack.RealPacket
extends Object
implements VirtualPacket


Constructor Summary
RealTrack.RealPacket(MP4Packet nextFrame)
           
 
Method Summary
 ByteBuffer getData()
           
 int getDataLen()
           
 double getDuration()
           
 int getFrameNo()
           
 double getPts()
           
 boolean isKeyframe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealTrack.RealPacket

public RealTrack.RealPacket(MP4Packet nextFrame)
Method Detail

getData

public ByteBuffer getData()
                   throws IOException
Specified by:
getData in interface VirtualPacket
Throws:
IOException

getDataLen

public int getDataLen()
Specified by:
getDataLen in interface VirtualPacket

getPts

public double getPts()
Specified by:
getPts in interface VirtualPacket

getDuration

public double getDuration()
Specified by:
getDuration in interface VirtualPacket

isKeyframe

public boolean isKeyframe()
Specified by:
isKeyframe in interface VirtualPacket

getFrameNo

public int getFrameNo()
Specified by:
getFrameNo in interface VirtualPacket


Copyright © 2013. All Rights Reserved.