1 Star 0 Fork 0

pwl1987/ffmpegtoolkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tools_ynasm.sh 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
ntkuba 提交于 2018-02-03 04:48 . update to Latest versions
#!/bin/bash
function _install_yasm() {
clear
_file="yasm-1.3.0.tar.gz"
_package="YASM"
echo -e $RED"Installation of $_package ....... started"$RESET
cd $SOURCE_DIR/
if [ -f "$_file" ]
then
echo "$_file found, Skip Downloads"
else
echo "$_file not found, Try Downloading......"
wget http://www.tortall.net/projects/yasm/releases/$_file
fi
tar -xvzf $_file
cd yasm-1.3.0/
./configure --prefix=$INSTALL_DIR
make -j$cpu
make install
ln -sf /usr/local/ffmpegtoolkit/bin/yasm /usr/local/bin/yasm
echo -e $RED"Installation of $_package ....... Completed"$RESET
cd $SOURCE_DIR/
}
function _install_nasm() {
clear
_file="nasm-2.13.02.tar.gz"
_package="NASM"
echo -e $RED"Installation of $_package ....... started"$RESET
cd $SOURCE_DIR/
if [ -f "$_file" ]
then
echo "$_file found, Skip Downloads"
else
echo "$_file not found, Try Downloading......"
wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/$_file
fi
tar -xvzf $_file
cd nasm-2.13.02/
./configure --prefix=$INSTALL_DIR
make -j $cpu
make install
ln -sf /usr/local/ffmpegtoolkit/bin/nasm /usr/local/bin/nasm
echo -e $RED"Installation of $_package ....... Completed"$RESET
cd $SOURCE_DIR/
}
_install_yasm
_install_nasm
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pwl1987/ffmpegtoolkit.git
[email protected]:pwl1987/ffmpegtoolkit.git
pwl1987
ffmpegtoolkit
ffmpegtoolkit
master

搜索帮助