The index section is written to maintain possible future compatibility with Microsoft Media Player and is not presently used by programs that read AMF files. Documentation for the AVI format is available in the Microsoft AVI RIFF File Reference, currently located at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedshow/htm/_dxce_dshow_avi_riff_file_reference.asp
The AMF footer is stored as a JUNK chunk at the very end of the file, as seen in this HEX dump:
Item |
Description |
=== |
A reverse byte offset to the AMF identifier. |
=== |
The text string "AMF ". Must include trailing space character. |
=== |
Version number. |
=== |
Title 1 chunk. First the string "ttl1", followed by a 4-byte string length (stored least significant byte (LSB) first). Finally, a text string of the specified length. |
=== |
Title 2 chunk. First the string "ttl2", followed by a 4-byte string length (stored LSB first). Finally, a text string of the specified length. |
=== |
Note chunk. First the string "ttl2", followed by a 4-byte string length (stored LSB first). Finally, a text string of the specified length. |
=== |
Milliseconds display flag. Indicates whether HyperGraph displays times as milliseconds or seconds. |
=== |
Number of images (frames) in the file. |
The following two 4-byte values repeat for as many frames are in the file: |
|
=== |
Frame number for this frame. |
=== |
Time value for this frame. |