[FFmpeg-devel] [PATCH] libopenjpeg GRAY16 decoding

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 30 23:43:56 CET 2012


Michael Bradshaw <mbradshaw <at> sorensonmedia.com> writes:

> While I've got your attention, I was adding support for GRAY8A and RGBA64
> and I kept getting an error "impossible to convert between the formats
> supported by the filter 'auto-inserted scale 0' and the filter 'out'" when
> trying to encode a GRAY8A or RGBA64 sample.

To test:

For RGBA64, please use the sample from ticket #503 and test:
ffmpeg -i input.tif out.jp2
ffmpeg -i out.jp2 out.tif / dpx
and test with ImageMagick if the original and the new file look similar

For gray8a, you find two samples in ticket #769, the small one is the useful one
because it contains transparency, so test for example
ffmpeg -i input.png out.jp2
ffmpeg -i out.jp2 -pix_fmt rgba out.png
and look if the resulting png file is still semi-transparent

Carl Eugen



More information about the ffmpeg-devel mailing list