[MPlayer-dev-eng] Xv and RGB

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jul 28 18:09:52 CEST 2008


On Mon, Jul 28, 2008 at 02:16:41PM +0200, Aurelien Jacobs wrote:
> Jan Knutar wrote:
> > On Friday 25 July 2008, Corbin Simpson wrote:
> > 
> > > Which RGB colorspaces would be most useful or helpful to you?
> 
> for i in RGB8 RGB15 RGB16 RGB24 RGB32 BGR8 BGR15 BGR16 BGR24 BGR32; do
>     echo -en "$i:\t"
>     grep "^[^;]*out.*$i" mplayer/etc/codecs.conf | wc -l
> done
> 
> RGB8:	9
> RGB15:	0
> RGB16:	1
> RGB24:	15
> RGB32:	11
> BGR8:	44
> BGR15:	52
> BGR16:	17
> BGR24:	98
> BGR32:	67
> 
> So BGR24/BGR32 seems to be the most commonly used RGB colorspace among
> MPlayer codecs, and BGR seems much more common than RGB.
> 
> > > Apologies if this is the wrong list.
> > 
> > RGB isn't that useful for video.
> 
> Indeed, RGB is rarely useful for video.

Just to make it clear: neither RGB nor BGR are useful for maybe 99% of
videos, and the remaining ones were designed to play on 486 or similarly
powerful processors, so it hardly matters.
But among those two, BGR and particularly BGR24 at least have fast
conversions to them. BGR32 might be better in some aspect, but it is 30%
more data that needs to be transfered.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list