Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MP4(3)			    MP4	File Format Library			MP4(3)

NAME
       MP4GetNumberOfTracks - Get the number of	tracks

SYNTAX
       #include	<mp4.h>

       u_int32_t MP4GetNumberOfTracks(
	    MP4FileHandle hFile,
	    const char*	type = NULL,
	    u_int8_t subType = 0
       )

ARGUMENTS
       hFile  Specifies	the mp4	file to	which the operation applies.

       type   Species  the  type of track for which a count is desired.	A NULL
	      value implies any	type of	track. See MP4GetTrackType() for  pre-
	      defined values.

       subType
	      Specifies	 the subtype of	the tracks to be counted. Subtypes are
	      only defined for audio and video tracks,	see  MP4GetAudioTrack-
	      Type()  and MP4GetVideoTrackType() for predefined	values.	A zero
	      value implies any	subtype.

RETURN VALUES
       The number of tracks of the specified type and subType in the mp4 file.

DESCRIPTION
       MP4GetNumberOfTracks returns how	many tracks of the specified type  and
       subtype	exist in the mp4 file. This can	be used	to determine if	an mp4
       file contains a track of	a given	type of	media, for instance  audio  or
       video.  It  can	also  be  used to determine if multiple	options	may be
       available. For instance multiple	audio tracks in	different languages.

       For audio and video tracks, a subtype can be specified  to  only	 count
       tracks of a particular encoding.

SEE ALSO
       MP4(3)

Cisco Systems Inc.		  Version 0.9				MP4(3)

NAME | SYNTAX | ARGUMENTS | RETURN VALUES | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MP4GetNumberOfTracks&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help