@pproenca/webcodecs-ffmpeg-darwin-x64 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/lib/libSvtAv1Enc.a +0 -0
- package/lib/libaom.a +0 -0
- package/lib/libavcodec.a +0 -0
- package/lib/libavdevice.a +0 -0
- package/lib/libavfilter.a +0 -0
- package/lib/libavformat.a +0 -0
- package/lib/libavutil.a +0 -0
- package/lib/libdav1d.a +0 -0
- package/lib/libmp3lame.a +0 -0
- package/lib/libogg.a +0 -0
- package/lib/libopus.a +0 -0
- package/lib/libswresample.a +0 -0
- package/lib/libswscale.a +0 -0
- package/lib/libvorbis.a +0 -0
- package/lib/libvorbisenc.a +0 -0
- package/lib/libvorbisfile.a +0 -0
- package/lib/libvpx.a +0 -0
- package/link-flags.js +14 -0
- package/package.json +4 -2
package/lib/libSvtAv1Enc.a
CHANGED
|
Binary file
|
package/lib/libaom.a
CHANGED
|
Binary file
|
package/lib/libavcodec.a
CHANGED
|
Binary file
|
package/lib/libavdevice.a
CHANGED
|
Binary file
|
package/lib/libavfilter.a
CHANGED
|
Binary file
|
package/lib/libavformat.a
CHANGED
|
Binary file
|
package/lib/libavutil.a
CHANGED
|
Binary file
|
package/lib/libdav1d.a
CHANGED
|
Binary file
|
package/lib/libmp3lame.a
CHANGED
|
Binary file
|
package/lib/libogg.a
CHANGED
|
Binary file
|
package/lib/libopus.a
CHANGED
|
Binary file
|
package/lib/libswresample.a
CHANGED
|
Binary file
|
package/lib/libswscale.a
CHANGED
|
Binary file
|
package/lib/libvorbis.a
CHANGED
|
Binary file
|
package/lib/libvorbisenc.a
CHANGED
|
Binary file
|
package/lib/libvorbisfile.a
CHANGED
|
Binary file
|
package/lib/libvpx.a
CHANGED
|
Binary file
|
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 -liconv -lc++'.split(' ');
|
|
9
|
+
const frameworks = '-framework VideoToolbox -framework AudioToolbox -framework CoreMedia -framework CoreVideo -framework CoreFoundation -framework CoreServices -framework Security'.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-darwin-x64",
|
|
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 darwin-x64",
|
|
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
|
},
|