[Ffmpeg-devel] Convert failure with RGB565.

Luca Abeni lucabe72
Thu Nov 9 17:48:57 CET 2006


On Thu, 2006-11-09 at 17:39 +0100, Thomas Parmegiani wrote:
> Here is the ffmpeg's output :
> 
> ./ffmpeg -i /G/TS/Atester/SD720x480-None.avi /G/TS/Test.ts
> FFmpeg version SVN-r6530, Copyright (c) 2000-2006 Fabrice Bellard, et al.
>   configuration:  --enable-shared --disable-static --enable-memalign-hack --
> disable-strip
Ok, so this is not a problem with libswscale...

[...]
> The resulted file has wrong colors and some noise as if the colors are
> shifted.
I think the problem is that the input pixel format is RGB555, and not
RGB565. Someone who actually knows how the avi demuxer works should have
a look at the problem (in the meanwhile, you can work around it by
hacking libavcodec/raw.c to force PIX_FMT_RGB555)...


				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list