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

NAME

6       MP4SetSampleRenderingOffset  - Set the rendering offset of a track sam‐
7       ple
8

SYNTAX

10       #include <mp4.h>
11
12       bool MP4SetSampleRenderingOffset(
13            MP4FileHandle hFile,
14            MP4TrackId trackId,
15            MP4SampleId sampleId,
16            MP4Duration renderingOffset
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       sampleId
26              Specifies the sample to which the operation applies. Caveat: the
27              first sample has id 1 not 0.
28
29       renderingOffset
30              Species  the  new value for the sample rendering offset in track
31              time scale units.
32
33

RETURN VALUES

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

DESCRIPTION

39       MP4SetSampleRenderingOffset sets the rendering offset of the  specified
40       sample  from  the  specified  track  in the track time scale units. See
41       MP4ConvertToTrackDuration() for how to map this value from another time
42       scale.
43
44       See  MP4GetSampleRenderingOffset()  for  a  description  of this sample
45       property.
46
47

SEE ALSO

49       MP4(3) MP4ConvertToTrackDuration(3) MP4GetSampleRenderingOffset(3)
50
51
52
53Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum