org.jcodec.containers.mp4
Class MP4Packet

java.lang.Object
  extended by org.jcodec.common.model.Packet
      extended by org.jcodec.containers.mp4.MP4Packet

public class MP4Packet
extends Packet

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Field Summary
 
Fields inherited from class org.jcodec.common.model.Packet
FRAME_ASC
 
Constructor Summary
MP4Packet(ByteBuffer data, long pts, long timescale, long duration, long frameNo, boolean iframe, TapeTimecode tapeTimecode, long mediaPts, int entryNo)
           
MP4Packet(ByteBuffer data, long pts, long timescale, long duration, long frameNo, boolean iframe, TapeTimecode tapeTimecode, long mediaPts, int entryNo, long fileOff, int size)
           
MP4Packet(MP4Packet packet)
           
MP4Packet(MP4Packet packet, ByteBuffer frm)
           
MP4Packet(MP4Packet packet, TapeTimecode timecode)
           
MP4Packet(Packet packet, long mediaPts, int entryNo)
           
 
Method Summary
 int getEntryNo()
          Zero-offset sample entry index
 long getFileOff()
           
 long getMediaPts()
           
 int getSize()
           
 
Methods inherited from class org.jcodec.common.model.Packet
getData, getDisplayOrder, getDuration, getDurationD, getFrameNo, getPts, getPtsD, getPtsR, getTapeTimecode, getTimescale, isKeyFrame, setData, setDisplayOrder, setTapeTimecode, setTimescale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MP4Packet

public MP4Packet(ByteBuffer data,
                 long pts,
                 long timescale,
                 long duration,
                 long frameNo,
                 boolean iframe,
                 TapeTimecode tapeTimecode,
                 long mediaPts,
                 int entryNo)

MP4Packet

public MP4Packet(ByteBuffer data,
                 long pts,
                 long timescale,
                 long duration,
                 long frameNo,
                 boolean iframe,
                 TapeTimecode tapeTimecode,
                 long mediaPts,
                 int entryNo,
                 long fileOff,
                 int size)

MP4Packet

public MP4Packet(MP4Packet packet,
                 ByteBuffer frm)

MP4Packet

public MP4Packet(MP4Packet packet,
                 TapeTimecode timecode)

MP4Packet

public MP4Packet(Packet packet,
                 long mediaPts,
                 int entryNo)

MP4Packet

public MP4Packet(MP4Packet packet)
Method Detail

getEntryNo

public int getEntryNo()
Zero-offset sample entry index

Returns:

getMediaPts

public long getMediaPts()

getFileOff

public long getFileOff()

getSize

public int getSize()


Copyright © 2013. All Rights Reserved.