[FFmpeg-trac] #2822(undetermined:new): Cannot configure ffserver.conf MaxClients to > 5
FFmpeg
trac at avcodec.org
Tue Jul 30 04:02:47 CEST 2013
#2822: Cannot configure ffserver.conf MaxClients to > 5
--------------------------------------+----------------------------------
Reporter: bzbdev001 | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 2.0
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Summary of the bug:
Running on lubuntu 12.04 64bit.
$ uname -a
Linux somehost 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
I'm using the latest snapshot of ffmpeg-2.0 as of Jul 29, 2013.
In ffserver.conf, Using any value > 5 for MaxClients causes ffserver to
exit.
How to reproduce:
Get ffmpeg-2.0 snapshot
$ ./configure --prefix=/somelocation --enable-libmp3lame --enable-libx264
--enable-gpl
$ make
$ sudo make install
Modify ffserver.conf...
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 5
MaxClients 6
MaxBandwidth 1000
CustomLog -
NoDaemon
<Feed videofeed1.ffm>
File /tmp/videofeed1.ffm
FileMaxSize 200K
Launch ffmpeg
ACL allow 127.0.0.1
ACL allow 192.168.1.0 192.168.1.255
</Feed>
<Stream videostream1.mpg>
Feed videofeed1.ffm
Format mpeg
AudioBitRate 32
AudioChannels 1
AudioSampleRate 22050
VideoBitRate 64
VideoBufferSize 40
VideoFrameRate 3
VideoSize 160x128
VideoGopSize 12
ACL allow localhost
ACL allow 192.168.1.0 192.168.1.255
</Stream>
$ ffserver -d -f /somelocation/ffserver.conf
ffserver version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 29 2013 18:57:52 with gcc 4.6 (Ubuntu/Linaro
4.6.3-1ubuntu5)
configuration: --prefix=/somelocation/ffmpeg-2.0-20130728 --enable-
libmp3lame --enable-libx264 --enable-gpl
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
/somelocation/ffserver.conf:4: Invalid MaxClients: 6
Incorrect config file - exiting.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2822>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list