org.jcodec.containers.mp4
Class MP4Packet
java.lang.Object
org.jcodec.common.model.Packet
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
|
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)
|
| 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 |
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)
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.