Package | Description |
---|---|
org.jcodec.containers.mp4 | |
org.jcodec.containers.mp4.boxes | |
org.jcodec.containers.mp4.demuxer | |
org.jcodec.containers.mp4.muxer | |
org.jcodec.movtool |
Modifier and Type | Method and Description |
---|---|
static long |
QTTimeUtil.editedToMedia(TrakBox trak,
long editedTv,
int movieTimescale)
Converts edited timevalue to media timevalue
|
static String |
QTTimeUtil.formatTimecode(TrakBox timecodeTrack,
int counter)
Formats tape timecode based on frame counter
|
static long |
QTTimeUtil.frameToTimevalue(TrakBox trak,
int frameNumber)
Finds timevalue of a frame number
might be an expensive operation sinse it traverses compressed time to
sample table
|
static long |
QTTimeUtil.getEditedDuration(TrakBox track)
Calculates track duration considering edits
|
static long |
QTTimeUtil.mediaToEdited(TrakBox trak,
long mediaTv,
int movieTimescale)
Converts media timevalue to edited timevalue
|
static int |
QTTimeUtil.timevalueToFrame(TrakBox trak,
long tv)
Finds frame by timevalue
|
static int |
QTTimeUtil.timevalueToTimecodeFrame(TrakBox timecodeTrack,
RationalLarge tv,
int movieTimescale)
Converts timevalue to frame number based on timecode track
|
Constructor and Description |
---|
ChunkReader(TrakBox trakBox) |
ChunkWriter(TrakBox trak,
SeekableByteChannel[] inputs,
SeekableByteChannel out) |
Modifier and Type | Method and Description |
---|---|
static TrakBox |
TrakBox.createTrakBox() |
TrakBox |
MovieBox.getTimecodeTrack() |
TrakBox[] |
MovieBox.getTracks() |
TrakBox |
MovieBox.getVideoTrack() |
TrakBox |
MovieBox.importTrack(MovieBox movie,
TrakBox track) |
Modifier and Type | Method and Description |
---|---|
List<TrakBox> |
MovieBox.getAudioTracks() |
Modifier and Type | Method and Description |
---|---|
static void |
AudioSampleEntry._setLabels(TrakBox trakBox,
Label[] labels) |
void |
MovieBox.appendTrack(TrakBox newTrack) |
static long |
TrakBox.getEditedDuration(TrakBox track)
Calculates track duration considering edits
|
static Label[] |
AudioSampleEntry.getLabelsFromTrack(TrakBox trakBox) |
static MP4TrackType |
TrakBox.getTrackType(TrakBox trak) |
TrakBox |
MovieBox.importTrack(MovieBox movie,
TrakBox track) |
static void |
AudioSampleEntry.setLabel(TrakBox trakBox,
int channel,
Label label) |
Modifier and Type | Field and Description |
---|---|
protected TrakBox |
AbstractMP4DemuxerTrack.box |
Modifier and Type | Method and Description |
---|---|
TrakBox |
TimecodeMP4DemuxerTrack.getBox() |
TrakBox |
AbstractMP4DemuxerTrack.getBox() |
Modifier and Type | Method and Description |
---|---|
static MP4TrackType |
MP4Demuxer.getTrackType(TrakBox trak) |
protected AbstractMP4DemuxerTrack |
MP4Demuxer.newTrack(TrakBox trak) |
Constructor and Description |
---|
AbstractMP4DemuxerTrack(TrakBox trak) |
CodecMP4DemuxerTrack(MovieBox mov,
TrakBox trak,
SeekableByteChannel input) |
MP4DemuxerTrack(MovieBox mov,
TrakBox trak,
SeekableByteChannel input) |
PCMMP4DemuxerTrack(MovieBox movie,
TrakBox trak,
SeekableByteChannel input) |
TimecodeMP4DemuxerTrack(MovieBox movie,
TrakBox trak,
SeekableByteChannel input) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMP4MuxerTrack.putEdits(TrakBox trak) |
protected void |
AbstractMP4MuxerTrack.putName(TrakBox trak) |
void |
AbstractMP4MuxerTrack.tapt(TrakBox trak) |
Modifier and Type | Method and Description |
---|---|
static void |
Util.appendTo(MovieBox movie,
TrakBox dest,
TrakBox src) |
static void |
Util.forceEditList(MovieBox movie,
TrakBox trakBox) |
static long[] |
Util.getTimevalues(TrakBox track) |
static void |
Util.insertTo(MovieBox movie,
TrakBox dest,
TrakBox src,
long tvMv) |
static void |
Util.shift(MovieBox movie,
TrakBox track,
long tvMv) |
static Util.Pair<List<Edit>> |
Util.split(MovieBox movie,
TrakBox track,
long tvMv)
Splits track on the timevalue specified
|
static void |
Util.spread(MovieBox movie,
TrakBox track,
long tvMv,
long durationMv) |
void |
Strip.stripTrack(MovieBox movie,
TrakBox track) |
Copyright © 2019. All rights reserved.