Opened 3 years ago

Closed 3 years ago

#9623 closed defect (fixed)

Too many files open with IMF

Reported by: mitch jacobs Owned by: Pierre-Anthony Lemieux
Priority: normal Component: ffmpeg
Version: git-master Keywords: IMF
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

when processing an IMF CPL with 2000 files, FFMPEG returns error "too many files open"

ffmpeg -f imf -I largecpl.xml ... 

ffmpeg version 5.0
version: 2022-01-30-git-1530b3f566

Change History (3)

comment:1 by Pierre-Anthony Lemieux, 3 years ago

Owner: set to Pierre-Anthony Lemieux
Status: newopen

The IMF currently opens at startup all files referenced by the IMF CPL. The IMF CPL can reference thousands of files, which can result in system limits for the number of open files to be exceeded. The following patch opens and closes files as needed:

https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220130220055.2595-1-pal@sandflow.com/

comment:2 by Pierre-Anthony Lemieux, 3 years ago

Reproduced by developer: set

comment:3 by Pierre-Anthony Lemieux, 3 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.