📄 mp4create.3
字号:
.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library".SH "NAME".LP \fBMP4Create\fR \- Create a new mp4 file.SH "SYNTAX".LP #include <mp4.h>.LP MP4FileHandle \fBMP4Create\fR(.br const char* \fIfileName\fP, .br u_int32_t \fIverbosity\fP = 0,.br bool \fIuse64bits\fP = 0,.br bool \fIuseExtensibleFormat\fP = 0.br );.SH "ARGUMENTS".LP .TP \fIfileName\fPSpecifies the path name of the file to be created..TP \fIverbosity\fPSpecifies a bitmask of diagnostic details the library should print to stdout during its functioning. See MP4SetVerbosity() for values..TP \fIuse64Bits\fPInstructs the library to create a file that will use 64 values (instead of 32 bit) for properties related to the file size. I.e. the file is expected grow to over 4 GB in size. This is rarely needed for encoded media, and can limit interoperability, hence it is not recommended..TP \fIuseExtensibleFormat\fPCurrently ignored. When implemented it will use extensions to the mp4 file format to allow incremental additions to media tracks..SH "RETURN VALUES".LP Upon successful completion the function returns a handle to the newly create mp4 file. This is used in subsequent calls to the library to modify the file.Upon an error, MP4_INVALID_FILE_HANDLE is returned..SH "DESCRIPTION".LP \fBMP4Create\fR is the first call that should be used when you want to create a new, empty mp4 file. It is equivalent to opening a file for writing, but also involved the creation of the necessary mp4 framework structures. I.e. a MP4Create() followed by an MP4Close() will result in a file with a non\-zero size..LP Caveat: If MP4Create() is called with a file name that already exists the contents of the existing file will be lost, assuming the system permissions allow the calling process to truncate the existing file..SH "SEE ALSO".LP MP4(3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -