MP4GetTrackBitRate - Man Page

Get the average bit rate in bits per second of the specified track

Syntax

#include <mp4.h>

u_int32_t MP4GetTrackBitRate(
MP4FileHandle hFile,
MP4TrackId trackId
)

Arguments

hFile

Specifies the mp4 file to which the operation applies.

trackId

Specifies the track for which the bit rate is desired.

Return Values

Upon success, the average bit rate in bits per second of the track. Upon an error, 0.

Description

MP4GetTrackBitRate returns the average bit rate in bits per second in the specified track in the mp4 file.

Note: hint tracks will not return their bit rate via this mechanism.

See Also

MP4(3)

Info

Version 0.9 Cisco Systems Inc. MP4 File Format Library