1 Star 2 Fork 1

delenzhang/WasmPlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_decoder.sh 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
wb-zdl333439 提交于 2020-02-06 23:21 . 更新内容
echo "Beginning Build:"
rm -r dist
mkdir -p dist
cd ../ffmpeg-3.3.9
if [ -f "Makefile" ]; then
echo "make clean"
make clean
fi
echo "emconfigure"
# emconfigure ./configure --cc="emcc" --cxx="em++" --ar="emar" --prefix=$(pwd)/../WasmVideoPlayer/dist --enable-cross-compile --target-os=none \
# --arch=x86_32 --cpu=generic --enable-gpl --enable-version3 --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter \
# --disable-programs --disable-logging --disable-everything --enable-avformat --enable-decoder=hevc --enable-decoder=h264 --enable-decoder=aac \
# --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-doc --disable-devices --disable-network --disable-hwaccels \
# --disable-parsers --disable-bsfs --disable-debug --enable-protocol=file --enable-demuxer=mov --disable-indevs --disable-outdevs
# --enable-demuxer=mov 含义 mov,mp4,m4a,3gp,3g2,mj2 See libavformat/mov.c
emconfigure ./configure --cc="emcc" --cxx="em++" --ar="emar" --ranlib="emranlib" --prefix=$(pwd)/../WasmPlayer/dist --enable-cross-compile --target-os=none \
--arch=x86_32 --cpu=generic --enable-gpl --enable-version3 --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter \
--disable-programs --disable-logging --disable-everything --enable-avformat --enable-decoder=hevc --enable-decoder=h264 --enable-decoder=aac \
--disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-doc --disable-devices --disable-network --disable-hwaccels \
--disable-parsers --disable-bsfs --disable-debug --enable-protocol=file --enable-demuxer=mov --enable-demuxer=flv --disable-indevs --disable-outdevs
echo "make"
make -j4
echo "make install"
make install
cd ../WasmVideoPlayer
./build_decoder_wasm.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/delen/WasmPlayer.git
[email protected]:delen/WasmPlayer.git
delen
WasmPlayer
WasmPlayer
master

搜索帮助