mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
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:
parent
bcbd6603dd
commit
46076a95a0
@ -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 $_>\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
|
#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
|
rm -f feed1.ffm
|
||||||
../ffserver -d -f test.conf 2> /dev/null &
|
../ffserver -d -f test.conf 2> /dev/null &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user