MP4D_open⚠ | Parse given input stream as MP4 file. Allocate and store data indexes.
return 1 on success, 0 on failure
Given file rewind()'ed on return.
The MP4 indexes may be stored at the end of stream, so this
function may parse all stream.
It is guaranteed that function will read/seek sequentially,
and will never jump back.
|
MP4E_open⚠ | Allocates and initialize mp4 multiplexor
Given file handler is transparent to the MP4 library, and used only as
argument for given fwrite_callback() function. By appropriate definition
of callback function application may use any other file output API (for
example C++ streams, or Win32 file functions)
|
MP4E_close⚠ | Finalize MP4 file, de-allocated memory, and closes MP4 multiplexer.
The close operation takes a time and disk space, since it writes MP4 file
indexes. Please note that this function does not closes file handle,
which was passed to open function.
|