1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4SetTrackEditDuration - Set the duration of a track edit segment
7
9 #include <mp4.h>
10
11 bool MP4SetTrackEditDuration(
12 MP4FileHandle hFile,
13 MP4TrackId trackId,
14 MP4EditId editId,
15 MP4Duration duration
16 );
17
19 hFile Specifies the mp4 file to which the operation applies.
20
21 trackId
22 Specifies the track to which the operation applies.
23
24 editId Specifies the edit segment to which the operation applies.
25 Caveat: the first edit has id 1 not 0.
26
27 duration
28 Species the new value for the duration in track time scale
29 units.
30
31
33 Upon success, true (1). Upon an error, false (0).
34
35
37 MP4SetTrackEditDuration sets the duration of the specified edit segment
38 from the specified track in the track time scale units. See MP4Convertā
39 ToTrackDuration() for how to map this value from another time scale.
40
41
43 MP4(3) MP4GetTrackEditDuration(3)
44
45
46
47Cisco Systems Inc. Version 0.9 MP4(3)