MPlayer and raw video

Mats Peterson <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
Since there for some reason hasn't been any response to my previous 
posting, here we go again:

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 less than 24 bits (palettized, grayscale or 
monochrome). Anything that's not compressed/encoded.

What's more, MPlayer misinterprets a negative height in the 
BITMAPINFOHEADER for 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.

The files below with raw video will play without video in MPlayer.

QuickTime 1 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0faU05mTVJ3b3VZcmc

QuickTime 2 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0faZUc4VEVwalhGSE0

QuickTime 4 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0facHJkWnhvYXdtbms

QuickTime 8 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0fabUdRcTVxRl9yVWM

AVI 1 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0faelN5RXpKLWtfTnM

AVI 2 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0fabnQyNm5VV2NXNGM

AVI 4 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0faTnppb3NjdFQzMmc

AVI 8 bpp:
https://drive.google.com/open?id=0B3_pEBoLs0faekxWUTdkVGNTTlk

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.