8 Star 14 Fork 0

Gitee 极速下载/h5rtmpclient

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/langhuihui/H5RtmpClient
克隆/下载
ffmpeg.py 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
langhuihui 提交于 2022-06-12 10:15 . 部分浏览器不支持simd问题
#!/usr/bin/python
import os
args = [
'extra-cflags="-c -Oz -fPIC"',
'cc=emcc',
'cxx=em++',
'ar=emar',
'ranlib=emranlib',
'prefix=../wasm/obj',
'target-os=none',
'arch=x86_64',
'cpu=generic'
]
disables = [
'everything','all','avdevice','postproc','avfilter','programs','asm','parsers','muxers','demuxers','filters',
'doc','devices','network','bsfs','shared','hwaccels','debug','protocols','indevs','outdevs','runtime-cpudetect','pthreads'
]
enables = [
'small','cross-compile','gpl','avcodec','swresample','ffmpeg','avformat',
'muxer=mp4',
'parser=h264',
'parser=hevc',
'parser=aac',
'decoder=h264',
'decoder=hevc',
'decoder=aac',
'decoder=pcm_alaw',
'decoder=pcm_mulaw',
'encoder=pcm_alaw',
'encoder=pcm_mulaw',
'encoder=aac','static'
]
enables = ['enable-'+item for i,item in enumerate(enables)]
disables = ['disable-'+item for i,item in enumerate(disables)]
os.system('emconfigure ./configure --' +
(' --'.join(args+disables+enables)))
os.system('make clean && emmake make -j && make install')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/h5rtmpclient.git
git@gitee.com:mirrors/h5rtmpclient.git
mirrors
h5rtmpclient
h5rtmpclient
v3

搜索帮助

0d507c66 1850385 C8b1a773 1850385