@pproenca/webcodecs-ffmpeg-linux-arm64 0.1.0 → 0.1.3
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/link-flags.js +14 -0
- package/package.json +4 -2
package/link-flags.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// link-flags.js - Generated by populate-artifacts.sh
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
const libDir = path.join(__dirname, 'lib');
|
|
5
|
+
|
|
6
|
+
const ffmpeg = '-lavfilter -lpostproc -lswscale -lswresample -lavformat -lavdevice -lavcodec -lavutil'.split(' ');
|
|
7
|
+
const codecs = '-lsvtav1 -laom -ldav1d -lvpx -lopus -lvorbisenc -lvorbis -logg -lmp3lame'.split(' ');
|
|
8
|
+
const system = '-lpthread -lm -lz -lbz2 -ldl -lstdc++'.split(' ');
|
|
9
|
+
const frameworks = ''.split(' ').filter(Boolean);
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
libDir,
|
|
13
|
+
flags: [`-L${libDir}`, ...ffmpeg, ...codecs, ...system, ...frameworks].join(' ')
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pproenca/webcodecs-ffmpeg-linux-arm64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Prebuilt FFmpeg with LGPL-safe codecs (VP8/9, AV1, Opus, Vorbis, MP3) for linux-arm64",
|
|
5
5
|
"author": "Pedro Proenca",
|
|
6
6
|
"homepage": "https://github.com/pproenca/webcodecs-ffmpeg",
|
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"lib",
|
|
19
|
-
"versions.json"
|
|
19
|
+
"versions.json",
|
|
20
|
+
"link-flags.js"
|
|
20
21
|
],
|
|
21
22
|
"type": "commonjs",
|
|
22
23
|
"exports": {
|
|
23
24
|
"./lib": "./lib/index.js",
|
|
24
25
|
"./pkgconfig": "./lib/pkgconfig/index.js",
|
|
26
|
+
"./link-flags": "./link-flags.js",
|
|
25
27
|
"./package": "./package.json",
|
|
26
28
|
"./versions": "./versions.json"
|
|
27
29
|
},
|