[FFmpeg-devel] [PATCH v3] avcodec/libjxl: add JPEG XL decoding via libjxl

Michael Niedermayer michael at niedermayer.cc
Sun Oct 24 18:16:36 EEST 2021


On Sat, Oct 23, 2021 at 09:18:46PM -0400, Leo Izen wrote:
> On Fri, Oct 22, 2021 at 5:38 PM Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > its 2 separate libraries they are often shiped by distributions in
> > separate packages. libavformat can depend on libavcodec but not the
> > other way around. libavcodec could get upgraded without libavformat
> > separate patches make it more natural to keep this clean and working
> > if a patch chages both its a hint something might be intermingled
> I see, I'll split it into a libavcodec patch that handles the codec
> only, and then a libavformat patch for the muxers/demuxers.
> 
> >Is there some public format spec of this ?
> I will have to reverse-engineer the libjxl code, since the spec is
> copyrighted and I can't access it. It might be available for a number
> of CHF but I can't afford it.
> 
> Speaking of the bitstream format, this is starting to get a lot of
> code in the prober, mostly because of how permissive JXL codestreams
> are. I'm thinking that it might make sense to write a parser for Jpeg
> XL in libavcodec, and then have libavformat's jpegxl prober just call
> some of that same code. Thoughts?

possible, it does add some extra complexity though

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211024/09576fda/attachment.sig>


More information about the ffmpeg-devel mailing list