The server configuration file is passed as a command line parameter.

Originally committed as revision 9254 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-06-07 21:36:58 +00:00
parent bcbd6603dd
commit 46076a95a0
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ mkdir -p data
#perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf
#perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_.asf>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf
FILES=`sed -n 's/^[^#]*<Stream \(.*\)>.*/\1/p' test.conf | grep -v html`
FILES=`sed -n 's/^[^#]*<Stream \(.*\)>.*/\1/p' $2 | grep -v html`
rm -f feed1.ffm
../ffserver -d -f test.conf 2> /dev/null &