comparison Input/aac/libmp4v2/API_CHANGES @ 2:6efb9e514224 trunk

[svn] Import AAC stuff.
author nenolod
date Mon, 24 Oct 2005 10:44:27 -0700
parents
children
comparison
equal deleted inserted replaced
1:cc6293c827ec 2:6efb9e514224
1 Changes from 0.9.6
2 ---------------------------
3 Modified
4 MP4SetHintTrackRtpPayload
5 payload parameter to get a dynamic payload is MP4_SET_DYNAMIC_PAYLOAD
6 (value 0xff) instead of 0.
7
8 Changes from 0.9.5 to 0.9.6
9 ---------------------------
10 Modified
11 MP4GetHintTrackRtpPayload
12 MP4SetHintTrackRtpPayload
13 get/set the encoding params (a=rtpmap <payloadname>/<timescale>[/<encoding params>])
14
15 Changes from 0.9.4 to 0.9.5
16 ---------------------------
17 Added
18 MP4GetTrackAudioMpeg4Type()
19 Returns MPEG-4 Audio type (e.g. AAC, CELP, HXVC, MIDI, etc.)
20 MP4ReadSampleFromTime()
21 Variant of MP4ReadSample() that uses time instead of sample id
22 (basically MP4GetSampleIdFromTime() + MP4ReadSample())
23 MP4Info()
24 MP4FileInfo()
25 Returns summary info on tracks in file (from util/mp4info.cpp)
26
27 The following functions add support for mp4 authoring/editting:
28
29 MP4CloneTrack()
30 Make a copy of a specified track, without media samples
31 MP4CopyTrack()
32 Make a copy of a specified track, with or without media samples
33 MP4CopySample()
34 Make a copy of a specified media sample
35
36 MP4AddTrackEdit()
37 Add a track edit list element
38 MP4DeleteTrackEdit()
39 Delete a track edit list element
40 MP4GetTrackNumberOfEdits()
41 Return the number of track edit list elements
42 MP4GetTrackEditTotalDuration()
43 Return the total duration of the track edit list
44 MP4GetTrackEditStart()
45 Return the edit start time for the edit list element
46 MP4GetTrackEditMediaStart()
47 Return the media start time for the edit list element
48 MP4SetTrackEditMediaStart()
49 Set the media start time for the edit list element
50 MP4GetTrackEditDuration()
51 Return the edit list element duration
52 MP4SetTrackEditDuration()
53 Set the edit list element duration
54 MP4GetTrackEditDwell()
55 Return the edit list element dwell parameter, see man page
56 MP4SetTrackEditDwell()
57 Set the edit list element dwell parameter, see man page
58 MP4ReadSampleFromEditTime()
59 Apply the edit list timeline to reading a sample
60 MP4GetSampleIdFromEditTime()
61 Return the sample id for a specified time on the edit list timeline
62
63 Modified
64 MP4GetSampleIdFromTime()
65 Semantic change - now returns sample id corresponding
66 to specified time, not the sample id with the smallest positive
67 start time difference from the specified time.
68
69
70 Changes from 0.9.3 to 0.9.4
71 ---------------------------
72 Added
73 MP4GetTrackVideoFrameRate()
74 Returns video frame rate (average rate if video is variable rate).
75
76 MP4GetTrackBitRate()
77 Returns track average bit rate in bits-per-second.
78
79 Changes from 0.9.2 to 0.9.3
80 ---------------------------
81 Modified
82 MP4Optimize()
83 Second argument, newFileName, can now be NULL in which case
84 a temporary file is created for the results of the optimization.
85 Upon success, the existing file specified with the first argument
86 is overwritten with the optimized file.
87
88 MP4GetNumberOfTracks()
89 MP4FindTrackId()
90 Both have a new optional argument, subType, with default value 0.
91 The subType can be specified for audio and video tracks to
92 match only a specific encoding type. See man page for more details.
93
94 Added
95 MP4GetTrackVideoWidth()
96 Returns video width in pixels. See man page for caveat.
97
98 MP4GetTrackVideoHeight()
99 Returns video height in pixels. See man page for caveat.