Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2013-11-30 16:37:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
129244aafa4c98253c210c0fa6dab2ee640bfd32
129244aa
1 parent
c69933d6
change x264 from 10bit to 8bit
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
trunk/auto/build_ffmpeg.sh
trunk/auto/build_ffmpeg.sh
查看文件 @
129244a
...
...
@@ -17,6 +17,9 @@ mkdir -p ${ff_release_dir}
ff_yasm_bin
=
${
ff_release_dir
}
/bin/yasm
if
[[
-f
${
ff_yasm_bin
}
]]
;
then
echo
"yasm is ok"
# add yasm to path, for x264 to use yasm directly.
# ffmpeg can specifies the yasm path when configure it.
PATH
=
${
PATH
}
:
${
ff_release_dir
}
/bin
else
echo
"build yasm-1.2.0"
cd
$ff_current_dir
&&
...
...
@@ -56,7 +59,7 @@ else
echo
"build x264"
cd
$ff_current_dir
&&
rm -rf x264-snapshot-20131129-2245-stable
&&
unzip -q
${
ff_src_dir
}
/x264-snapshot-20131129-2245-stable.zip
&&
cd
x264-snapshot-20131129-2245-stable
&&
./configure --prefix
=
${
ff_release_dir
}
--bit-depth
=
10
--enable-static
&&
make
&&
make install
cd
x264-snapshot-20131129-2245-stable
&&
./configure --prefix
=
${
ff_release_dir
}
--bit-depth
=
8
--enable-static
&&
make
&&
make install
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
echo
"build x264 failed"
;
exit
1;
fi
fi
...
...
请
注册
或
登录
后发表评论