[FFmpeg-devel] [PATCH]Allow native jpeg 2000 encoding yuv42x and yuv41x

Paul B Mahol onemda at gmail.com
Fri Jul 3 19:18:03 CEST 2015

On 7/3/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Jul 03, 2015 at 12:34:21PM +0200, Carl Eugen Hoyos wrote:
>> Hi!
>> Attached patch allows lossless encoding of lena.pnm
>> in yuv420p, yuv422p, yuv410p and yuv411p with the
>> native jpeg 2000 encoder, fixes tickets #535 and
>> #4524.
>> Tested only with FFmpeg, all other decoders also
>> fail for file3.jp2, the relevant sample from the
>> reference file suite.
>> Please comment, Carl Eugen
> if it works now after the decder fix the this should be ok

It kinda works, decoder dumps bunch of yellow warnings but final
output looks ok.
Encoder on other hand for yuv420p use bunch of memory ~330MB.

ImageMagick does not like ffmpeg output.

> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> In a rich man's house there is no place to spit but his face.
> -- Diogenes of Sinope

More information about the ffmpeg-devel mailing list