[FFmpeg-devel] [PATCH] PhotoCD image decoder
Mon Jan 11 16:11:58 CET 2010
Kenneth Vermeirsch wrote:
> Hi all,
> this is a port of the libpcd PhotoCD image decoder
> <http://linux.bytesex.org/fbida/libpcd.html>). Libpcd is GPL. The
> author has agreed to me (by private email) to relicense his parts to
> I'm still having trouble getting the colorspace conversion to RGB
> right. The format uses a colorspace as described here:
> Is there a way FFmpeg can do this conversion or will I have to do it
> manually in the decoder?
> PhotoCD is a multiresolution format; users can set avctx->lowres to 1,
> 2 or 3 to access the lower resolutions.
> Samples may be found at ftp://ftp.kodak.com/www/images/pcd/
> Best Regards,
> Kenneth Vermeirsch
Hi, to me it looks like there is a VLC table in the file. If so you
should use the built-in VLC functionality of FFmpeg.
Regarding the colorspace try all the PIX_FMT's and see if that fixes it.
More information about the ffmpeg-devel