[Ffmpeg-devel] XMV Decoder

matthieu castet castet.matthieu
Tue Sep 20 15:18:06 CEST 2005

James Slater wrote:
> Hi,
> I'm writing a demuxer for the XMV video format used by many Xbox games. 
> After examining some sample files I've worked out the basic structure of 
> the format and have some of them decoding (almost) correctly in ffmpeg.
> The file structure is entirely new as far as I can tell, but the video 
> data is WMV2 and the audio either PCM - in most of them - or a custom 
> ADCPM variant that I haven't devoted any time to yet.
> Two questions:
> 1. For some reason the WMV2 data appears to be stored byte swapped, so 
> after each get_buffer I am currently doing bswap_32 on every four bytes. 
> Is there a more sensible way? Can anyone think _why_ the data might be 
> stored in this way?
Have you try to use ALT_BITSTREAM_READER_LE ?

More information about the ffmpeg-devel mailing list