Discussion:
[MPlayer-users] MPlayer and raw video
Mats Peterson
2016-01-26 06:36:17 UTC
Permalink
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:

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/
Mats Peterson
2016-01-26 06:49:04 UTC
Permalink
Post by Mats Peterson
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
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

Loading...