From 4d45b3305b21d2026e6d32e60d6850b7f82c6935 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 29 Jun 2014 10:07:57 +0800 Subject: [PATCH] srs demo requires ffmpeg to transcode. --- trunk/scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/scripts/build.sh b/trunk/scripts/build.sh index 4ac96a308..52a788f0f 100755 --- a/trunk/scripts/build.sh +++ b/trunk/scripts/build.sh @@ -4,8 +4,9 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本"; # step 1: build srs # nginx is not needed, we use cherrypy to delivery hls. +# demo needs ffmpeg to transcode the live stream. echo "编译SRS" -./configure --x86-x64 && make +./configure --x86-x64 --with-ffmpeg && make ret=$?; if [[ 0 -ne $ret ]]; then echo "错误:编译SRS失败"; exit $ret; fi echo "编译SRS成功"