Wednesday 30 November 2011

ffserver cannot open ffserver.conf file

ffserver cannot open ffserver.conf file

Hello, I use ffserver & ffmpeg in order to generate a live stream (recorded by a webcam).

I use an embedded processor (SH7724), busybox version 2010.09, kernel 2.6.39.3.

the command I issue is and its output are attached in file (sorry, forum does not allow me to specify it in here).


--> It seems for me that ffserver does NOT open the conf file, hence webcam.ffm file is NOT opened.

I've tried to move the conf file to some other path or to change its name, but it wouldn't help.
I've also tried to remove the "-f /etc/ffserver.conf" (default location is anyway /etc/ffserver.conf), but it also wouldn't help.

--> As far as I can tell the problem is that ffserver does NOT care about its conf file

Do you have any idea? I'm lost....

Thanks

Code:

The ffserver.conf file is:
==================
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 4
# max bandwidth per-client (kb/s)
MaxBandwidth 10000
CustomLog -
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon

<Stream status.html>
Format status
# Only allow local people to get the status
#ACL allow localhost
#ACL allow 192.168.0.0 192.168.255.255
</Stream>

<Feed webcam.ffm>
File /tmp/webcam.ffm
FileMaxSize 5M
</Feed>

# FLV output - good for streaming
<Stream webcam.flv>
# the source feed
Feed webcam.ffm
# the output stream format - FLV = FLash Video
Format flv
VideoCodec flv
# this must match the ffmpeg -r argument
VideoFrameRate 24
# generally leave this is a large number
VideoBufferSize 50 #Aviv: changed from 20000
# another quality tweak
VideoBitRate 100
# quality ranges - 1-31 (1 = best, 31 = worst)
VideoQMin 5
VideoQMax 10
VideoSize qvga
# this sets how many seconds in past to start
PreRoll 0
# wecams don't have audio
Noaudio
</Stream>

# ASF output - for windows media player
<Stream webcam.asf>
# the source feed
Feed webcam.ffm
# the output stream format - ASF
Format asf
VideoCodec msmpeg4
# this must match the ffmpeg -r argument
VideoFrameRate 24
# generally leave this is a large number
VideoBufferSize 80000
# another quality tweak
VideoBitRate 200
# quality ranges - 1-31 (1 = best, 31 = worst)
VideoQMin 1
VideoQMax 10
VideoSize 640x480
# this sets how many seconds in past to start
PreRoll 0
# wecams don't have audio
Noaudio
</Stream>

<Stream webcam.mjpeg>
Feed webcam.ffm
Format mpjpeg
VideoSize qvga
VideoFrameRate 24
VideoIntraOnly
# Noaudio
Strict -1
</Stream>

No comments:

Post a Comment