[MPlayer-users] MPlayer and raw video

Mats Peterson matsp888 at yahoo.com
Tue Jan 26 07:49:04 CET 2016


On 01/26/2016 07:36 AM, Mats Peterson wrote:
> MPlayer naively assumes that 'rawvideo' raw video from libavcodec
> (whether it's contained in AVI, QuickTime or something else) contains
> 24-bit RGB triplets. It *can*, for pixel formats like rgb24 and bgr24
> (BGR in this case), but it can also be palettized or monochrome.
> Anything that's not compressed/encoded. The following files with raw
> video will play without video in MPlayer:
>

What's more, MPlayer misinterprets the negative height in the 
BITMAPINFOHEADER for the AVI files as being a very large unsigned value, 
rather than the indication of the video data being arranged 
top-to-bottom rather than bottom-to-top.

Mats



More information about the MPlayer-users mailing list