[MPlayer-users] Incorrect Endianness in Video FourCC Display

John Blitch phiporiphic at gmail.com
Tue Mar 15 10:05:35 CET 2005


On big-endian machines, Mplayer incorrectly reverses the byte order of
the four byte video identifier (FOURCC) in its command line output.

MPlayer dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
Mac OSX static build for ffmpegX
AltiVec found
CPU: PowerPC
Playing /Volumes/Mauve/Complete/Oseam.avi.
VIDEO:  [05XD]  640x352  24bpp  23.976 fps  1135.2 kbps (138.6 kbyte/s)

Where the FOURCC is definitely DX50, the DivX 5 identifier. This has
long been the case, and manifests with (at least) AVI and MKV file
formats. Very confusing when 'DIVX' prints as 'XVID' and 'XVID' as
'DIVX'!! FOURCC codes are stored MSB first, same as the chunk
identifiers in the AVI format, to be readable in a hex editor.

John




More information about the MPlayer-users mailing list