MP4GetTrackEditMediaStart man page

MP4GetTrackEditMediaStart — Get the media start time of a track edit segment

Syntax

#include <mp4.h>

MP4Timestamp MP4GetTrackEditMediaStart(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4EditId editId
)

Arguments

hFile
Specifies the mp4 file to which the operation applies.
trackId
Specifies the track to which the operation applies.
editId
Specifies the edit segment for which the media start time is desired.

Return Values

The media start time of the edit segment in track time scale units of the track in the mp4 file.

Description

MP4GetTrackEditMediaStart returns the media start time of the of the specified track edit segment.

Caveat: The value is in units of the track time scale.

Note that this differs from the edit segment start time, MP4GetTrackEditStart(). For example:

EditIdStartMediaStartDuration
101530
23012020
350300010

See Also

MP4(3) MP4SetTrackEditMediaStart(3)

Referenced By

MP4SetTrackEditMediaStart(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library