blob: c2117cfd4733332e405878a7478af04856472f75 [file] [log] [blame]
.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library"
.SH "NAME"
.LP
\fBMP4MakeIsmaCompliant\fR \- Add ISMA compliant OD and Scene tracks
.SH "SYNTAX"
.LP
#include <mp4.h>
.LP
bool \fBMP4MakeIsmaCompliant\fR(
.br
const char* \fIfileName\fP,
.br
u_int32_t \fIverbosity\fP = 0
.br
)
.SH "ARGUMENTS"
.LP
.TP
\fIfileName\fP
Specifies the path name of the file to be modified.
.TP
\fIverbosity\fP
Specifies a bitmask of diagnostic details the library should print to stdout during its functioning. See MP4SetVerbosity() for values.
.SH "RETURN VALUES"
.LP
Upon success, true (1). Upon an error, false (0).
.SH "DESCRIPTION"
.LP
\fBMP4MakeIsmaCompliant\fR modifies an mp4 file so that it complies with the minimal MPEG\-4 Systems requirements defined by the Internet Streaming Media Alliance (ISMA, http://www.isma.tv)
.LP
This involves creating an OD and Scene track, and using them to describe a simple scene of one audio, or one video, or one of each. An SDP version of this information is also added to the mp4 file.
.LP
Caveat: whether the file is truly ISMA compliant also depends on the contents of the media and hint tracks. This function does not guarantee that these tracks are compliant.
.SH "SEE ALSO"
.LP
MP4(3)