1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4ConvertFromTrackTimestamp - Convert a timestamp from the track time
7 scale to a specified time scale.
8
10 #include <mp4.h>
11
12 u_int64_t MP4ConvertFromTrackTimestamp(
13 MP4FileHandle hFile,
14 MP4TrackId trackId,
15 MP4Timestamp timestamp,
16 u_int32_t newTimeScale
17 )
18
20 hFile Specifies the mp4 file to which the operation applies.
21
22 trackId
23 Specifies the track from which the timestamp originates.
24
25 timestamp
26 Specifies the timestamp that is to be converted.
27
28 newTimeScale
29 Specifies the new time scale in ticks per second to which the
30 timestamp should be converted.
31
33 Upon success, the timestamp in the new time scale units. Upon error,
34 0xFFFFFFFFFFFFFFFF.
35
37 MP4ConvertFromTrackTimestamp converts a timestamp such as a sample
38 start time from the track time scale to another specified time scale.
39 This can be used by a player application to map all track samples to a
40 common time scale.
41
42
44 MP4(3) MP4ConvertToTrackTimestamp(3)
45
46
47
48Cisco Systems Inc. Version 0.9 MP4(3)