forked from forks/ffprobe-wasm
Compare commits
2 Commits
1615115ea8
...
73cb05f572
| Author | SHA1 | Date | |
|---|---|---|---|
|
73cb05f572
|
|||
|
3b2c5877ad
|
@@ -87,10 +87,10 @@ RUN emconfigure ./configure \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--extra-cxxflags="$CFLAGS" \
|
||||
--extra-ldflags="$LDFLAGS" \
|
||||
--nm="llvm-nm -g" \
|
||||
--nm="llvm-nm-20 -g" \
|
||||
--ar=emar \
|
||||
--as=llvm-as \
|
||||
--ranlib=llvm-ranlib \
|
||||
--ranlib=llvm-ranlib-20 \
|
||||
--cc=emcc \
|
||||
--cxx=em++ \
|
||||
--objcc=emcc \
|
||||
|
||||
4
Makefile
4
Makefile
@@ -4,10 +4,10 @@ dist/ffprobe-wasm.js:
|
||||
-O3 \
|
||||
-L/opt/ffmpeg/lib \
|
||||
-I/opt/ffmpeg/include/ \
|
||||
-s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, getValue, setValue, writeAsciiToMemory]" \
|
||||
-s EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, getValue, setValue, writeAsciiToMemory]" \
|
||||
-s INITIAL_MEMORY=268435456 \
|
||||
-lavcodec -lavformat -lavfilter -lavdevice -lswresample -lswscale -lavutil -lm -lx264 \
|
||||
-pthread \
|
||||
-lworkerfs.js \
|
||||
-o dist/ffprobe-wasm.js \
|
||||
src/ffprobe-wasm-wrapper.cpp
|
||||
src/ffprobe-wasm-wrapper.cpp
|
||||
|
||||
Reference in New Issue
Block a user