[FFmpeg-devel] [PATCH v2] avcodec/jpeg2000dec: support of 2 fields in 1 AVPacket

Tomas Härdin git at haerdin.se
Wed Feb 21 15:11:32 EET 2024


This is still J2K specific rather than handling it properly for all
codecs all at once.

mxfdec can detect cases where there will be two separate fields in one
KLV, and the decoder(s) can if I'm not mistaken be instructed to decode
into an AVFrame with stride and offset set up for interlaced decoding.

It should be possible to have ffmpeg set up the necessary plumbing for
this.

/Tomas


More information about the ffmpeg-devel mailing list