@suemor/libav-hevc 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/manifest.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@suemor/libav-hevc",
3
+ "version": "0.1.0",
4
+ "upstreamVersion": "6.10.9.0",
5
+ "upstreamCommit": "c05a676d16c1068cce6115594858c50a7ecad4b8",
6
+ "ffmpeg": "9.0",
7
+ "emscripten": "6.0.5",
8
+ "variant": "decoder-hevc",
9
+ "optimization": "-O3",
10
+ "commit": "b1256cdc09c35815afe9c0b98e9cdd8f7b20fc8d",
11
+ "dirty": false,
12
+ "files": {
13
+ "libav-6.10.9.0-decoder-hevc.js": {
14
+ "bytes": 20312,
15
+ "sha256": "71f8159c83c84d718627d4bfe87332e233300fb8945d5420f98a1e335dabb709"
16
+ },
17
+ "libav-6.10.9.0-decoder-hevc.mjs": {
18
+ "bytes": 25118,
19
+ "sha256": "ec5d3bd50b9b9e6fdd9cf96c712f93b3be319b8db39fca243f592dcc3280e22d"
20
+ },
21
+ "libav-6.10.9.0-decoder-hevc.wasm.js": {
22
+ "bytes": 223917,
23
+ "sha256": "3e49fc6929b6347f13a344e07235b13d21d7dc79218a21201a875622eea7adc0"
24
+ },
25
+ "libav-6.10.9.0-decoder-hevc.wasm.mjs": {
26
+ "bytes": 223913,
27
+ "sha256": "c295660ec6d3971d367b01e18ea3ad03bd24b1689c4e097e80ce48f15641f2b6"
28
+ },
29
+ "libav-6.10.9.0-decoder-hevc.wasm.wasm": {
30
+ "bytes": 1311275,
31
+ "sha256": "1d62b0a4e14b0edcca15cfbf0f90784f07775e47a79e087523505b6a84f15e32"
32
+ },
33
+ "libav-6.10.9.0-decoder-hevc.thr.js": {
34
+ "bytes": 237955,
35
+ "sha256": "73fd9e36d8cbacb113ea4a837b764e0219faf553e796892788a3bad1391edbb3"
36
+ },
37
+ "libav-6.10.9.0-decoder-hevc.thr.mjs": {
38
+ "bytes": 237966,
39
+ "sha256": "43a8f6682ec5c60819a99ba83fee9e0ea62366dfa08fb73756bc7755d9783900"
40
+ },
41
+ "libav-6.10.9.0-decoder-hevc.thr.wasm": {
42
+ "bytes": 1396245,
43
+ "sha256": "d91e9046ff8d6f50699ec054bc57a1484896c906f3b5aea8b6731e8e392a5b17"
44
+ },
45
+ "libav.types.d.ts": {
46
+ "bytes": 225529,
47
+ "sha256": "21e324be72d4c95d34edc04fcea792ea581aa4832cbfb045f2c739c792923343"
48
+ }
49
+ }
50
+ }
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@suemor/libav-hevc",
3
+ "version": "0.1.0",
4
+ "description": "HEVC software decoder for WebAssembly, based on libav.js and FFmpeg",
5
+ "license": "LGPL-2.1",
6
+ "author": "Yahweasel",
7
+ "contributors": [
8
+ "suemor"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/suemor233/libav.js.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/suemor233/libav.js/issues"
16
+ },
17
+ "homepage": "https://github.com/suemor233/libav.js",
18
+ "main": "./dist/libav-6.10.9.0-decoder-hevc.js",
19
+ "types": "./dist/libav.types.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/libav.types.d.ts",
23
+ "import": "./dist/libav-6.10.9.0-decoder-hevc.mjs",
24
+ "require": "./dist/libav-6.10.9.0-decoder-hevc.js",
25
+ "default": "./dist/libav-6.10.9.0-decoder-hevc.js"
26
+ },
27
+ "./dist/*": "./dist/*",
28
+ "./manifest.json": "./manifest.json",
29
+ "./package.json": "./package.json"
30
+ },
31
+ "files": [
32
+ "dist",
33
+ "sources",
34
+ "manifest.json",
35
+ "README.md",
36
+ "LICENSE.md",
37
+ "THIRD-PARTY-LICENSES.txt"
38
+ ],
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "registry": "https://registry.npmjs.org/"
42
+ }
43
+ }
@@ -0,0 +1 @@
1
+ 此目录提供对应 libav.js fork 源码(含构建脚本、FFmpeg 补丁)和依赖原始源码。解压 libav-source.tar.gz,将两个依赖压缩包放到 build/,安装 Emscripten 6.0.5,运行 npm ci 与 npm run build:hevc。工具链和二进制哈希见 ../manifest.json。
Binary file
Binary file