1 Star 1 Fork 0

yousuos/WasmVideoPlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_decoder.sh 1005 Bytes
一键复制 编辑 原始数据 按行查看 历史
sonysuqin 提交于 2020-01-20 09:39 . fix #23: Ubuntu build error.
echo "Beginning Build:"
rm -r dist
mkdir -p dist
cd ../ffmpeg
echo "emconfigure"
emconfigure ./configure --cc="emcc" --cxx="em++" --ar="emar" --ranlib="emranlib" --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 --enable-demuxer=flv --disable-indevs --disable-outdevs
if [ -f "Makefile" ]; then
echo "make clean"
make clean
fi
echo "make"
make
echo "make install"
make install
cd ../WasmVideoPlayer
./build_decoder_wasm.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yousuos92/WasmVideoPlayer.git
git@gitee.com:yousuos92/WasmVideoPlayer.git
yousuos92
WasmVideoPlayer
WasmVideoPlayer
master

搜索帮助