[Ffmpeg-devel] Convert failure with RGB565.

Dominik 'Rathann' Mierzejewski dominik
Thu Nov 9 19:51:42 CET 2006


On Thursday, 09 November 2006 at 17:54, Thomas Parmegiani wrote:
> > -----Message d'origine-----
> > De : ffmpeg-devel-bounces at mplayerhq.hu
> > [mailto:ffmpeg-devel-bounces at mplayerhq.hu]De la part de Luca Abeni
> > Envoy? : jeudi 9 novembre 2006 17:49
> > ? : FFmpeg development discussions and patches
> > Objet : RE: [Ffmpeg-devel] Convert failure with RGB565.
> >
> >
> > 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)...
> >
> 
> I forced to use RGB555 and it works well. Good news !
> But the problem is that elecard player and VLC player (not media player
> classic) can play fine the source file. So I think that these 2 players
> detect it as RGB555 and not RGB565.

How about mplayer?

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the ffmpeg-devel mailing list