[MEncoder-users] Color Space Problem with a Sequence of RGB JPEG Images

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Oct 7 06:50:07 CEST 2009


On Wed, Oct 07, 2009 at 12:35:04AM +0200, Irv Elshoff wrote:
> My problem is that the perceived colors in my input files - which
> look OK using every image viewer I know - are changed on output to
> something that does not look OK.  For instance, pure white
> (0xFFFFFF) becomes pink (0xFF7DFF) and pure black becomes olive
> green (0x008700) in the output.  I'm looking for command-line
> options to maintain the perceived colors.
> 
> The JPEG images were produced by my own  C++ program using the
> ubiquitous libjpeg "6b" library.  In my output routine I set the
> color space to JCS_RGB because we need to retain as much information
> as possible (the source and most destinations are RGB-based).  If I
> change this to JCS_YCbCr  ("YUV") in a test program, Mencoder makes
> proper looking output, but this is not an option...

Better test with and report to FFmpeg, MPlayer should be using their decoder.


More information about the MEncoder-users mailing list