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

2015-07-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > AV_PIX_FMT_RGB24, AV_PIX_FMT_YUV444P, AV_PIX_FMT_GRAY8, > -/* AV_PIX_FMT_YUV420P, > -AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, > -AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P,*/ > +AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, > +

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

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 05:18:03PM +, Paul B Mahol wrote: > On 7/3/15, Michael Niedermayer 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

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

2015-07-03 Thread Paul B Mahol
On 7/3/15, Michael Niedermayer 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 on

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

2015-07-03 Thread Michael Niedermayer
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 > f

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

2015-07-03 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 01:15:56PM +, Carl Eugen Hoyos wrote: > Paul B Mahol gmail.com> writes: > > > ffmpeg -f lavfi -i testsrc -strict -2 -pix_fmt yuv420p /tmp/o.j2k > > Thank you! > Chroma-subsampling currently only works for 256x256 fixed, this was a decoder bug though [...] -- Michae

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

2015-07-03 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > ffmpeg -f lavfi -i testsrc -strict -2 -pix_fmt yuv420p /tmp/o.j2k Thank you! Chroma-subsampling currently only works for 256x256 Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mail

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

2015-07-03 Thread Paul B Mahol
On 7/3/15, Carl Eugen Hoyos wrote: > Paul B Mahol gmail.com> writes: > >> > 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. > >> Isn't lossy one broken with those pixel for

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

2015-07-03 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > > 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. > Isn't lossy one broken with those pixel formats? It works fine here, how can I reproduc

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

2015-07-03 Thread Paul B Mahol
On 7/3/15, 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 sam

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

2015-07-03 Thread Carl Eugen Hoyos
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 com