[FFmpeg-trac] #1670(FFmpeg:new): -filter_complex doesn't handle well finite video + infinite audio
FFmpeg
trac at avcodec.org
Tue Aug 21 23:27:45 CEST 2012
#1670: -filter_complex doesn't handle well finite video + infinite audio
-------------------------------------+----------------------------------
Reporter: ubitux | Owner:
Type: defect | Status: new
Priority: normal | Component: FFmpeg
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+----------------------------------
Comment (by Cigaes):
Except for the time that no longer progress (I posted a patch about that
yesterday), that is normal and expected, if not desirable.
ffmpeg is still encoding audio silence, and since you privided an infinite
quantity of it, it will never stop. The muxer wants to interleave audio
and video, but no video is coming, so audio gets queued, thus the memory
use growing and not the file. If you quit ffmpeg cleanly (hit q), all the
data gets written to the file at once.
There may be ways of enhancing things (maybe some way to signal a stream
is finished so that the interleaving does not wait for it), but I do not
think there is something fundamentally wrong in ffmpeg's reaction to this
hostile situation.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1670#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list