MP4GetTrackEditMediaStart - Get the media start time of a track edit segment
#include <mp4.h>
MP4Timestamp MP4GetTrackEditMediaStart(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4EditId editId
)
The media start time of the edit segment in track time scale units of the track in the mp4 file.
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:
EditId Start MediaStart Duration
1 0 15 30
2 30 120 20
3 50 3000 10
MP4(3) MP4SetTrackEditMediaStart(3)