[FFmpeg-trac] #3732(undetermined:new): ffserver does not perceive closing of input feed
FFmpeg
trac at avcodec.org
Fri Jun 20 13:06:51 CEST 2014
#3732: ffserver does not perceive closing of input feed
-------------------------------------+-------------------------------------
Reporter: andrixnet | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Having ffserver set up as a streaming server I sometimes encounter the
following problem :
Sometimes, but not always, the following happens:
- ffserver is running, configured to distribute multiple streams
- one or more feeds are being supplied by ffmpeg encodes
- any one of the feeds gets cut (either by killing the ffmpeg encoder or
by the permanent loss of connection).
even after many hours, ffserver still considers the feed as active and
behaves like this:
- the ffmpeg encoder gets a 404 error
- ffserver logs this:
{{{
Fri Jun 20 13:40:16 2014 Feed '/tmp/rrc.ffm.ffm' already being received
Fri Jun 20 13:40:16 2014 xxxxxxxx - - [GET] "/rrc.ffm HTTP/1.1" 404 158
}}}
Other feeds are unaffected.
The only way to solve this is to restart ffserver.
ffmpeg encoders feeding other feeds die. They need to be manually
restarted.
----
ffserver version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 30 2014 19:39:58 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/doc/ffmpeg-2.2.1 --datadir=/usr/share/ffmpeg
--mandir=/usr/man --enable-libmp3lame --enable-libfaac --enable-libvo-
aacenc --enable-nonfree --enable-gpl --enable-version3 --enable-avfilter
--enable-avresample --enable-libass --enable-libdc1394 --enable-libgsm
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
libtheora --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libbluray --enable-libiec61883
--enable-libmodplug --enable-libopenjpeg --enable-libsoxr --enable-
libtwolame --enable-frei0r --enable-libquvi --enable-libvidstab --enable-
postproc --enable-runtime-cpudetect --enable-vaapi --disable-vdpau
--enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib
--enable-zlib --enable-shared --enable-static --disable-debug
--arch=x86_64 --enable-pic --extra-cflags=-DRUNTIME_CPUDETECT --extra-
ldflags='-ldl -lssl -lcrypto -lz -lusb'
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3732>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list