1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackVideoType - Get the encoding type of a video track
7
9 #include <mp4.h>
10
11 u_int8_t MP4GetTrackVideoType(
12 MP4FileHandle hFile,
13 MP4TrackId trackId
14 )
15
17 hFile Specifies the mp4 file to which the operation applies.
18
19 trackId
20 Specifies the track for which the video type is desired.
21
23 Upon success, the video type of the track. Upon error,
24 MP4_INVALID_VIDEO_TYPE is returned.
25
27 MP4GetTrackVideoType returns the encoding type of the specified video
28 track in the mp4 file.
29
30 Known video encoding types are:
31
32 MP4_MPEG1_VIDEO_TYPE
33 MPEG-1 Video
34
35 MP4_MPEG2_SIMPLE_VIDEO_TYPE
36 MPEG-2 Simple Profile Video
37
38 MP4_MPEG2_MAIN_VIDEO_TYPE
39 MPEG-2 Main Profile Video (Broadcast/DVD)
40
41 MP4_MPEG2_SNR_VIDEO_TYPE
42 MPEG-2 SNR Profile Video
43
44 MP4_MPEG2_SPATIAL_VIDEO_TYPE
45 MPEG-2 Spatial Scalability Profile Video
46
47 MP4_MPEG2_HIGH_VIDEO_TYPE
48 MPEG-2 High Profile Video (HDTV)
49
50 MP4_MPEG2_442_VIDEO_TYPE
51 MPEG-2 442 Profile Video (Studio)
52
53 MP4_MPEG4_VIDEO_TYPE
54 MPEG-4 Video
55
56 MP4_JPEG_VIDEO_TYPE
57 JPEG stills or motion JPEG
58
59 MP4_PRIVATE_VIDEO_TYPE
60 User private type
61
63 MP4(3) MP4AddVideoTrack(3)
64
65
66
67Cisco Systems Inc. Version 0.9 MP4(3)