1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackVideoHeight - Get the video height in pixels of the speciā
7 fied video track
8
10 #include <mp4.h>
11
12 u_int16_t MP4GetTrackVideoHeight(
13 MP4FileHandle hFile,
14 MP4TrackId trackId
15 )
16
18 hFile Specifies the mp4 file to which the operation applies.
19
20 trackId
21 Specifies the track for which the video height is desired.
22
24 Upon success, the number of pixels of the video height in the track.
25 Upon an error, 0.
26
28 MP4GetTrackVideoWidth returns the height of the video in pixels in the
29 specified track in the mp4 file.
30
31 Caveat: Not all mp4 implementations set this value accurately. The mp4
32 specification states that the authoritative values are contained in the
33 track ES configuration which is video encoding specific, and hence not
34 interpretable by the mp4 library. If the value of 240 is returned,
35 care should be taken to verify the accuracy of this value since this is
36 the default value in the mp4 specification.
37
39 MP4(3) MP4GetTrackVideoWidth(3) MP4GetTrackESConfiguration(3)
40
41
42
43Cisco Systems Inc. Version 0.9 MP4(3)