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

NAME

6       MP4ConvertFromMovieDuration  - Convert a duration from the movie (file)
7       time scale to a specified time scale.
8

SYNTAX

10       #include <mp4.h>
11
12       u_int64_t MP4ConvertFromMovieDuration(
13            MP4FileHandle hFile,
14            MP4Duration duration,
15            u_int32_t newTimeScale
16       )
17

ARGUMENTS

19       hFile  Specifies the mp4 file to which the operation applies.
20
21       duration
22              Specifies the duration that is to be converted.
23
24       newTimeScale
25              Specifies the new time scale in ticks per second  to  which  the
26              duration should be converted.
27

RETURN VALUES

29       Upon success, the duration in the new time scale units. Upon error, 0.
30

DESCRIPTION

32       MP4ConvertFromMovieDuration converts a duration such as the total movie
33       (file) duration from the movie time scale  to  another  specified  time
34       scale.
35

SEE ALSO

37       MP4(3) MP4GetDuration(3)
38
39
40
41Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum