[MPlayer-dev-eng] MPlayer and raw video

Mats Peterson matsp888 at yahoo.com
Tue Jan 26 08:05:31 CET 2016


On 01/26/2016 07:15 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,
> 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

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the MPlayer-dev-eng mailing list