1MP4(3)                      MP4 File Format Library                     MP4(3)
2
3
4

NAME

6       MP4SetTrackEditMediaStart  -  Set  the media start time of a track edit
7       segment
8

SYNTAX

10       #include <mp4.h>
11
12       bool MP4SetTrackEditMediaStart(
13            MP4FileHandle hFile,
14            MP4TrackId trackId,
15            MP4EditId editId,
16            MP4Timestamp mediaStartTime
17       );
18

ARGUMENTS

20       hFile  Specifies the mp4 file to which the operation applies.
21
22       trackId
23              Specifies the track to which the operation applies.
24
25       editId Specifies the edit  segment  to  which  the  operation  applies.
26              Caveat: the first edit has id 1 not 0.
27
28       mediaStartTime
29              Species  the  new  value for the media start in track time scale
30              units.
31
32

RETURN VALUES

34       Upon success, true (1). Upon an error, false (0).
35
36

DESCRIPTION

38       MP4SetTrackEditMediaStart sets the media start time  of  the  specified
39       edit  segment  from  the specified track in the track time scale units.
40       See MP4ConvertToTrackTimestamp() for how to map this value from another
41       time scale.
42
43       Note that this differs from the edit segment start time. For example:
44
45       EditId    Start     MediaStart     Duration
46       1         0         15             30
47       2         30        120            20
48       3         50        3000           10
49
50

SEE ALSO

52       MP4(3) MP4GetTrackEditMediaStart(3)
53
54
55
56Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum