Commit 2bd4a006 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9254 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 85cb0f04
......@@ -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 &
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment