# Crow Convert media engine notices

The Crow Convert application is distributed under the MIT license. The codec resources and libraries below keep their own licenses.

## HEIC decoding

The JS glue and WebAssembly under `heic-1.23.5/` are unmodified copies of `libheif-wasm/libheif.js` and `libheif-wasm/libheif.wasm` from the LGPL-3.0 [libheif-js 1.23.5 distribution](https://registry.npmjs.org/libheif-js/-/libheif-js-1.23.5.tgz). They load separately from the application code. [libheif-js license](./licenses/libheif-js-LGPL-3.0.txt)

The exact packaging source is [libheif-js revision d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d](https://github.com/catdad-experiments/libheif-js/tree/d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d). Its `scripts/install.js` uses the [libheif Emscripten v1.23.5 build](https://github.com/catdad-experiments/libheif-emscripten/tree/v1.23.5). That build selects [libheif revision 413e2a87e6a70b3eccc3a3adc5801179dd2d9e00](https://github.com/strukturag/libheif/tree/413e2a87e6a70b3eccc3a3adc5801179dd2d9e00), [libde265 v1.0.15](https://github.com/strukturag/libde265/tree/v1.0.15), and Emscripten 3.1.61. Use the tagged CI workflow and its WASM job to reproduce the glue and binary. Replace both files together under `heic-1.23.5/` to use a modified or rebuilt library. [libheif licenses](./licenses/libheif-emscripten.txt) · [libde265 licenses](./licenses/libde265-LGPL-3.0.txt)

## HEVC video decoding

The fallback worker and separately loaded HEVC WebAssembly are unmodified copies from the MIT [hevc.js MediaBunny plugin 0.1.4](https://registry.npmjs.org/@hevcjs/mediabunny-plugin/-/mediabunny-plugin-0.1.4.tgz) and [hevc.js core 1.9.1](https://registry.npmjs.org/@hevcjs/core/-/core-1.9.1.tgz). Both come from [hevc.js revision 58fdb4bf928b99f74586c792e2387d713c30b839](https://github.com/lid-labs/hevc.js/tree/58fdb4bf928b99f74586c792e2387d713c30b839). Replace the matching worker, JS glue, and WASM together under `hevc-0.1.4/` to use a rebuilt decoder. [Plugin MIT license](./licenses/hevcjs-mediabunny-plugin-MIT.txt) · [Core MIT license](./licenses/hevcjs-core-MIT.txt)

## Media containers and audio encoders

The JavaScript container handling and the audio encoder integrations come from [Mediabunny v1.66.5](https://github.com/Vanilagy/mediabunny/tree/v1.66.5) by Vanilagy and contributors, licensed under the MPL-2.0. The two encoder extensions are bundled into separate lazy browser chunks. [MPL-2.0 license](./licenses/mediabunny-MPL-2.0.txt)

- MP3 encoding uses the [LAME MP3 Encoder](https://lame.sourceforge.io/) under the LGPL v2 or later. The [Mediabunny MP3 package build recipe and source bridge](https://github.com/Vanilagy/mediabunny/tree/v1.66.5/packages/mp3-encoder) specify unmodified [LAME 3.100](https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz) and Emscripten 4.0.21. [LAME license and notices](./licenses/lame-LGPL.txt) · [LAME COPYING](./licenses/lame-COPYING.txt)
- AAC encoding uses the AAC-LC encoder from [FFmpeg](https://ffmpeg.org/), under the LGPL v2.1 or later. The [Mediabunny AAC package build recipe and source bridge](https://github.com/Vanilagy/mediabunny/tree/v1.66.5/packages/aac-encoder) specify [FFmpeg revision 60a2818f76dcd1fee3155b1791304af104a0fc1b](https://github.com/FFmpeg/FFmpeg/tree/60a2818f76dcd1fee3155b1791304af104a0fc1b) and Emscripten 4.0.21. The recipe enables no GPL or nonfree components. [FFmpeg LGPL v2.1 license](./licenses/ffmpeg-LGPL-2.1.txt) · [FFmpeg license notes](./licenses/ffmpeg-license-notes.md)

To substitute either audio codec, follow its exact release recipe above with your replacement source, build the matching Mediabunny extension, and rebuild Crow Convert using that extension. Retain the license notices and equivalent access to the corresponding component source and rebuild inputs when you redistribute the codec binaries. Local browser codec support provides H.264 encoding where available.

## Verifying the standalone WASM assets

| Resource | Bytes | SHA-256 |
|---|---:|---|
| `heic-1.23.5/libheif.js` | 91,255 | `376c0bb483c23ac458cd22d718074693748ea75eddc3e4929353d4153e365a2e` |
| `heic-1.23.5/libheif.wasm` | 1,463,506 | `184d3d20f8323877f13e9f5254f9c6a0ce272c9a3a2f823b0b2bcd2ee9f73f80` |
| `hevc-0.1.4/decode-worker.js` | 14,647 | `623f08309f0f4a84da45aefc6ef960e351de8f97bb5901fdc9128a1c9d9b41e7` |
| `hevc-0.1.4/hevc-decode.js` | 48,170 | `12401d76a5063082b9fd1e87ce1069c3ac73d45c2d4e434e32499755b19a99eb` |
| `hevc-0.1.4/hevc-decode.wasm` | 344,949 | `450601a71473125e772f01437877eb97abcb3a55332553e205f352f500208a1d` |
