[FFmpeg-devel] the proper way to handle a special colorspace?

u-bo1b at 0w.se u-bo1b at 0w.se
Sun Feb 10 17:08:43 CET 2013


Hello,

I am trying to make the Cinepak decoder in FFmpeg compliant with
the de-facto Cinepak format definition, which uses a non-standard colorspace.

What would be the proper place and way to do the conversion?

The pixel format is declared as YUP420P which is almost true, but the
conversion matrix which for the format is defined from/to BGR24 must
be different.

Where in FFmpeg source should the fix belong to possibly reuse the
existing conversion code (which code?)?

Thanks,
Rl



More information about the ffmpeg-devel mailing list