Closed Spectre5 closed 2 years ago
Maybe related: https://github.com/Exiv2/exiv2#support-for-bmff-files-cr3-heif-heic-and-avif
I see that you download a specific release and build it using pybind11 to link to Python, so maybe in the distributed version on PyPI the build does not include bmff support. My separate exiv2 does:
$ exiv2 -Vv
...
enable_bmff=1
...
Exiv2 does not enable BMFF by default, because of copyright risk, so I do the same. https://github.com/LeoHsiao1/pyexiv2/blob/master/docs/Tutorial.md#bmff
So is building/installing pyexiv2 from source with the appropriate changes the only way then?
No, pyexiv2 adds BMFF when compiling Exiv2. https://github.com/LeoHsiao1/pyexiv2/blob/087c4eb22898ecbba86c69e5257bca6b8333f23d/.github/workflows/build_exiv2.yml#L45
Users can enable it by calling a function: https://github.com/LeoHsiao1/pyexiv2/blob/master/docs/Tutorial.md#bmff
A, I see, thanks!
Per this comment, my understanding is that HEIC files should be supported now. However, it does not work for me, see below. I'm running Linux.
exiv2
does support it:But when I use pyexiv2 (2.8.0), it does not work correctly: