Hello everyone. My name is linux_penguin_caesar I'am from Japan. There is a problem in this setting. The file of the ASF form cannot be reproduced.
with the following rc.livecam file: #!/bin/sh # /etc/rc.d/rc.livecam # Strating ffserver # # chkconfig: 345 90 10 # description: Starts and stops the LiveCamera service. FFSERVER=ffserver FFMPEG=ffmpeg FFSERVER_PATH="/usr/local/ffmpeg/bin/ffserver -f /etc/ffserver.conf" FFMPEG_PATH="/usr/local/ffmpeg/bin/ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 http://127.0.0.1:8090/feed1.ffm" # See how we were called. case "$1" in start) echo -n "Starting LiveCamera services: " ${FFSERVER_PATH} > /dev/null 2>&1 & if [ $? != 0 ]; then exit 1 fi sleep 2 ${FFMPEG_PATH} > /dev/null 2>&1 & if [ $? != 0 ]; then killproc ${FFSERVER} exit 1 fi echo "" ;; stop) echo -n "Shutting down LiveCamera services: " killproc ${FFMPEG} killproc ${FFSERVER} echo "" ;; restart) echo -n "Restarting LiveCamera services: " $0 stop $0 start echo "done." ;; *) echo "Usage: livecam {start|stop|restart}" exit 1 esac exit 0 with the following ffserver.conf file: Port 8090 BindAddress 0.0.0.0 MaxHTTPConnections 100 MaxClients 100 MaxBandwidth 1000 CustomLog /var/log/ffserver.log NoDaemon <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 200K ACL allow 127.0.0.1 </Feed> <Stream Live.asf> Feed feed1.ffm Format asf VideoFrameRate 15 VideoSize qcif VideoBitRate 80 VideoGopSize 30 NoAudio </Stream> # Real with audio and video at 64 kbits <Stream test.rm> Feed feed1.ffm Format rm AudioBitRate 32 VideoBitRate 64 #VideoBitRate 128 #VideoFrameRate 50 VideoFrameRate 25 #VideoGopSize 30 VideoGopSize 25 NoAudio </Stream> <Stream test.flv> Feed feed1.ffm Format flv VideoCodec flv VideoFrameRate 10 VideoBufferSize 80000 VideoBitRate 200 VideoQMin 1 VideoQMax 5 VideoSize 640x480 PreRoll 0 NoAudio </Stream> # Flash <Stream test.swf> Feed feed1.ffm Format swf VideoFrameRate 8 VideoSize 320x240 VideoBitRate 200 VideoQMin 1 VideoQMax 5 PreRoll 0 VideoIntraOnly NoAudio </Stream> # Server status <Stream stat.html> Format status # Only allow local people to get the status ACL allow localhost ACL allow 192.168.0.2 192.168.255.255 # ACL allow 192.168.1.42 192.168.255.255 </Stream> # Redirect index.html to the appropriate site <Redirect index.html> URL http://www.ffmpeg.org/ </Redirect> What am I doing wrong? Thank you in advance BR linux_penguin_caesar -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ ffserver-user mailing list ffserver-user@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user