1 Star 0 Fork 76

謝云馬 / jessibuca

forked from Gitee 极速下载 / jessibuca 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
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')
C/C++
1
https://gitee.com/xie_yun_ma/jessibuca.git
git@gitee.com:xie_yun_ma/jessibuca.git
xie_yun_ma
jessibuca
jessibuca
v3

搜索帮助

53164aa7 5694891 3bd8fe86 5694891