From MultimediaWiki
Revision as of 06:54, 9 December 2012 by Espes (talk | contribs) (Link to the ffmpeg debuxer, and I doubt the Microsoft code dump is 'legal')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XMV is the audio/video container format used on the Microsoft Xbox console. It is reportedly similar to ASF and typically contains WMV2 video at 640x480 29.97, and CBR audio at 128k.

An open source demuxer exists in FFmpeg/libav: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?p=ffmpeg.git;a=blob_plain;f=libavformat/xmv.c

Copyrighted Microsoft source code for a decoder/demuxer is also available: http://sourceforge.net/tracker/index.php?func=detail&aid=1097094&group_id=53761&atid=471491

See also http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/25207/focus=25224 and http://www.maxconsole.net/?mode=news&newsid=411 for hints/tips

File Format

All multi-byte numbers of little endian.

bytes 0-11    unknown
bytes 12-15   'xobX' ('Xbox' spelled backwards)
bytes 16-19   unknown
bytes 20-23   video width in pixels
bytes 24-27   video height in pixels
bytes 28-37   unknown
bytes 38-39   number of audio channels
bytes 40-43   audio sample rate
bytes 44..    unknown

Games Using XMV

This is a list of games (usually Xbox games) known to use the XMV format.