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