[FFmpeg-trac] #8589(undetermined:new): Concat demuxer is not closing file handles for old playlists
FFmpeg
trac at avcodec.org
Thu Apr 2 11:42:15 EEST 2020
#8589: Concat demuxer is not closing file handles for old playlists
-------------------------------------+-------------------------------------
Reporter: karli2000 | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: 4.2 | Resolution:
Keywords: concat | Blocked By:
playlist cpu |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by cus):
I guess you are referring to the "Automatically appending to the list
file" example on the wiki, right?
The problem is that you are crearing an infinite recursion of playlists.
That will eventually run out of resources, file descriptors first in your
case.
FFmpeg only closes the playlist source file descriptor when that playlist
finishes. None of the playlist files finishes, because the last entry is
another playlist which never finishes, and so on.
If you need simple loop features, use -stream_loop, and not this endless
playlist recursion, which is a *if it works it is not stupid* kind of hack
and has its limitations.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8589#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list