[FFmpeg-trac] #6372(undetermined:new): Live Streaming - process no longer terminates
FFmpeg
trac at avcodec.org
Fri May 5 08:20:43 EEST 2017
#6372: Live Streaming - process no longer terminates
-------------------------------------+-------------------------------------
Reporter: ethernetweb | Type: defect
Status: new | Priority: important
Component: | Version:
undetermined | unspecified
Keywords: rtmp | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Recently installed ffmpeg on a new server (which provided me with a newer
version).
Old Version:
ffmpeg version 3.0.2-4~bpo8+1 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.9.2 (Debian 4.9.2-10)
On the old version, the ffmpeg process would stop running if the RTMP
stream ceased to publish. Event handlers in our automated software would
detect this "end" and proceed to handle it as the code designates.
In the new version, the ffmpeg continues to process and run indefinitely
when the input ceases to exist. There also appears to be no way to suggest
that the process SHOULD stop if the input ceases to exist. We have spent
hours looking for a work-around but nothing is effective in stopping the
process when an rtmp input ceases to publish.
How to reproduce:
{{{
% /usr/bin/ffmpeg -hide_banner -nostdin -y -threads 2 -i rtmp://localhost
/live-test/test -acodec aac -vcodec copy -f flv rtmp://localhost/live-
push/test
ffmpeg version 3.2.4-1~bpo8+1 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 4.9.2 (Debian 4.9.2-10)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6372>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list