AMV: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
(Remove redundant info)
Line 6: Line 6:


==AMV Video File Format==
==AMV Video File Format==
AMV files are a variant of AVI with the strings "AVI" and "avih" in the header replaced with "AMV" and "amvh". The avi header contains several 'garbage' values as many of the parameters are hardcoded. It contains a [[RIFF]] packed stream of video ([[Talk:AMV|video codec?]]) and [[IMA_ADPCM]] encoded audio.  
AMV files are a variant of AVI with the strings "AVI" and "avih" in the header replaced with "AMV" and "amvh". The avi header contains several 'garbage' values as many of the parameters are hardcoded. It contains a [[RIFF]] packed stream of video and audio.  


There is a open source decoder (written in Perl) for the format at [http://svn.rot13.org/index.cgi/amv]. According to its author [http://blog.rot13.org/2007/08/amv_free_decoder_works.html], the video codec is a modified version of [[Motion JPEG]] but missing quantization tables which are fixed (from jpeg standard) and audio is a variant of [[IMA ADPCM]] where the first 8 bytes of each frame are:
The video codec is a version of [[Motion JPEG]] with fixed quantization tables (taken from jpeg standard). Audio is a variant of [[IMA ADPCM]] where the first 8 bytes of each frame are:
* origin (16bits)
* origin (16bits)
* index (16bits)
* index (16bits)
* audio frame length (32bits).
* audio frame length (32bits).
The decoder extracts each frame into a [[JPEG]] file and then uses ffmpeg to encode the video in another format.


==AMV and MTV encoding/transcoding information and utilities==
==AMV and MTV encoding/transcoding information and utilities==

Revision as of 14:44, 25 February 2008

  • Extension: amv
  • Samples: [1] and [2]

AMV video origin and history

Little is known about the history of the AMV file format other than it is used by Chinese-made portable MP3 players and has supposedly been created to allow video playback capabilities on inexpensive and low end equipment without increasing the cost of those players with the license royalties and more processor power needed for other more complex format/codec pairs.

AMV Video File Format

AMV files are a variant of AVI with the strings "AVI" and "avih" in the header replaced with "AMV" and "amvh". The avi header contains several 'garbage' values as many of the parameters are hardcoded. It contains a RIFF packed stream of video and audio.

The video codec is a version of Motion JPEG with fixed quantization tables (taken from jpeg standard). Audio is a variant of IMA ADPCM where the first 8 bytes of each frame are:

  • origin (16bits)
  • index (16bits)
  • audio frame length (32bits).

AMV and MTV encoding/transcoding information and utilities

External Links