[FFmpeg-devel] [PATCH]: Documentation: ffserver.conf -- 1 camera, flv format
Piero Bugoni
crboca32
Sun May 27 02:58:32 CEST 2007
This is the third of seven pre-canned ffserver.conf
files I put together. I would like to include them,
and edit the ffserver.conf documentation somewhat,
around using them.
P.
----ffserver.conf-1cam-flv below----
# A tested-working ffserver.conf setup
# for one camera on a bttv card across
# 100Mbit capable testbench-LAN.
# Machine was a 1100 Celeron with 512M RAM.
# ffserver and ffmpeg run on same machine with
# apache webserver.
# Global Stuff
#
Port 8090
BindAddress 0.0.0.0
MaxClients 10 # Probably safe, max =
1000
MaxBandwidth 16000 # 16 Mbit/s.
CustomLog -
NoDaemon
# Feed Definition
#
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1000000000 # 1 Gigabyte
ACL allow 127.0.0.1
</Feed>
# Stream Definition
#
<Stream test1.flv>
Feed feed1.ffm
VideoBitRate 5200 # Experiment to get rid of
rc buffer underflow error. Max is 16000
VideoBufferSize 32 # Adjust in conjunction
with q and bitrate. 128 is a safe value
Format swf
VideoSize 352x288 # cif size
VideoFrameRate 29.97
VideoQMin 3 # adjust bitrate with q
VideoQMax 3 #
NoAudio
</Stream>
# Notes:
#
# ffserver was run with this file, and the following
ffmpeg command
# on the same machine:
#
# ./ffmpeg -deinterlace -r 29.97 -s cif -qmin 3 -qmax
3 \
# -f video4linux2 -i /dev/video0
http://localhost:8090/feed1.ffm
#
# Works with both firefox and IE.
#
# When dealing with NTSC set frame rate to exactly
29.97 to
# maintain sync.
#
# The Q value is pretty important here. Values of
around 5 to 7.5
# give a reasonable compromise between stream width,
and image quality.
# make sure to match the settings in this file with
those on the command line.
#
#
# Some additional settings:
# Lower "Q" value means higher quality, but a fatter
stream:
#
# Qmin/Qmax=1, vbr~=12000, vbuf=52(min)
# Qmin/Qmax=2, vbr~=7100, vbuf=33(min)
# Qmin/Qmax=3, vbr~=5200, vbuf=22(min) good
quality/stream compromise
# Qmin/Qmax=4, vbr~=4800, vbuf=21(min)
# Qmin/Qmax=5, vbr~=4000, vbuf=19(min)
# Qmin/Qmax=6, vbr~=3200, vbuf=13(min)
# Flash Player has a limit of 16,500 frames
# when using a browser refresh the viewing
# page periodically
# How does adjusting these options from defaults
affect stream/quality
# IntraOnly
# VideoGOPSize
____________________________________________________________________________________Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffserver.conf-1cam-flv
Type: application/octet-stream
Size: 2095 bytes
Desc: 1345311499-ffserver.conf-1cam-flv
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070526/c9c234e9/attachment.obj>
More information about the ffmpeg-devel
mailing list