[FFmpeg-devel] [PATCH 1/2] jpeg2000dec: parse CDEF

Nicolas BERTRAND nicoinattendu at gmail.com
Fri Jul 12 23:54:10 CEST 2013


Le 12/07/2013 23:47, Paul B Mahol a écrit :
> On 7/12/13, Nicolas BERTRAND <nicoinattendu at gmail.com> wrote:
>>
>> I'm not sure the parse of CDEF is in the right place. as it is defined
>> in the JPEG2000 file format syntax. It will probably best fit with a JP2
>> container in avformat?
>
> Does jp2 may have more than single jpeg2000 image, if not, such separation
> is pointless.
JP2 can be a file format including a Jpeg2000 codestream. Like jp2 files
Or have only a peg2000 codestream ( like jpeg2000 for Dcinema or MJPEG2000)
This why i differentiate both. And in file format there are a lot of 
color-space related stuff.


>
> If this is moved into jp2 demuxer, than you can not use jp2 files with
> img2 demuxer

> and also you need to use pix_fmt set from demuxer.
Theoretically It should be the case: the codec should be pix_fmt agnostic

>
>> As there are a lot of other parameters for JPEG2000 file format. who is
>> not directly part of codec
>>
>> cf . ISO/IEC 15444-1:2002 Annex I
>>
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list