Maven module :un.storage : media-mpeg4 :
Class : un.storage.media.mp4.boxes.impl.EditListBox
Extends/Implements : un.storage.media.mp4.boxes.FullBox
Subclasses : -

This box contains an explicit timeline map. Each entry defines part of the
track time-line: by mapping part of the media time-line, or by indicating
'empty' time, or by defining a 'dwell', where a single time-point in the
media is held for a period.

Starting offsets for tracks (streams) are represented by an initial empty
edit. For example, to play a track from its start for 30 seconds, but at 10
seconds into the presentation, we have the following edit list:

[0]:
Segment-duration = 10 seconds
Media-Time = -1
Media-Rate = 1

[1]:
Segment-duration = 30 seconds (could be the length of the whole track)
Media-Time = 0 seconds
Media-Rate = 1

@author Alexander Simm


Variables : -
Functions : EditListBox, decode, getSegmentDuration, getMediaTime, getMediaRate



public void EditListBox ()

public void decode (MP4InputStream in)


The segment duration is an integer that specifies the duration of this
edit segment in units of the timescale in the Movie Header Box.
public long[] getSegmentDuration ()


The media time is an integer containing the starting time within the
media of a specific edit segment (in media time scale units, in
composition time). If this field is set to –1, it is an empty edit. The
last edit in a track shall never be an empty edit. Any difference between
the duration in the Movie Header Box, and the track's duration is
expressed as an implicit empty edit at the end.
public long[] getMediaTime ()


The media rate specifies the relative rate at which to play the media
corresponding to a specific edit segment. If this value is 0, then the
edit is specifying a ‘dwell’: the media at media-time is presented for the
segment-duration. Otherwise this field shall contain the value 1.
public double[] getMediaRate ()