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

Michael Niedermayer michael at niedermayer.cc
Sat Oct 23 00:38:21 EEST 2021


On Fri, Oct 22, 2021 at 05:14:46PM -0400, Leo Izen wrote:
> On Fri, Oct 22, 2021 at 4:31 PM Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> >
> > This should be split between libavcodec and libavformat
> How so? the avformat patch won't work without the avcodec codec ID
> addition anyway, so the avformat patch still requires changing
> avcodec.

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


> 
> > also probe still fails
> > Failure of jpegxl_pipe probing code with score=51 type=0 p=6B0 size=32
> What file causes it to fail? 

Look at tools/probetest.c its just 3 pages of code.
A feature to dump the failing data to a file would likely be usefull
to others too, if you have time to add that.


> Some JXL files are extremely tiny.
> Examples: https://0x0.st/-dBq.jxl https://0x0.st/-d2N.jxl

Interresting, thanks for the samples, i had hoped there would be
more "chunks"


> 
> > Is there some public format spec of this ?
> It's behind an ISO paywall, so not at the moment. I'm trying to see if
> I can get access to the draft of the next spec version though, since
> it's been causing me some frustration.

ISO still doesnt sell their specs through scihub ?

thx

PS: replying here instead of IRC because more people are on the ML

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20211022/b91ec945/attachment.sig>


More information about the ffmpeg-devel mailing list