1 Star 0 Fork 76

梧桐树/jessibuca

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ffmpeg.py 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
bosscheng1210 提交于 2021-07-24 10:46 . update ffmpeg
#!/usr/bin/python
import os
args = [
'extra-cflags="-c -Oz -fPIC"',
'cc=emcc',
'cxx=em++',
'ar=emar',
'ranlib=emranlib',
'prefix=../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')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/wangdl_qd/jessibuca.git
git@gitee.com:wangdl_qd/jessibuca.git
wangdl_qd
jessibuca
jessibuca
v2

搜索帮助

0d507c66 1850385 C8b1a773 1850385