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

NAME

6       MP4Read - Read an existing mp4 file
7

SYNTAX

9       #include <mp4.h>
10
11       MP4FileHandle MP4Read(
12            const char* fileName,
13            u_int32_t verbosity = 0
14       );
15
16

ARGUMENTS

18       fileName
19              Specifies the path name of the file to be read.
20
21       verbosity
22              Specifies  a  bitmask  of  diagnostic details the library should
23              print to stdout during its  functioning.  See  MP4SetVerbosity()
24              for values.
25
26

RETURN VALUES

28       Upon  successful completion the function returns a handle to the exist‐
29       ing mp4 file. This is used in subsequent calls to the library  to  read
30       information  from  the file.  Upon an error, MP4_INVALID_FILE_HANDLE is
31       returned.
32

DESCRIPTION

34       MP4Read is the first call that should be used when  you  want  to  just
35       read an existing mp4 file. It is equivalent to opening a file for read‐
36       ing, but in addition the mp4 file is parsed and the control information
37       is  loaded into memory. Note the actual track samples are not read into
38       memory until  MP4ReadSample() is called.
39
40

SEE ALSO

42       MP4(3)
43
44
45
46Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum