[FFmpeg-trac] #5983(undetermined:new): drawtext limitation in number of opened font files
FFmpeg
trac at avcodec.org
Tue Nov 29 17:24:56 EET 2016
#5983: drawtext limitation in number of opened font files
-------------------------------------+-------------------------------------
Reporter: mateas | Type: defect
Status: new | Priority: minor
Component: | Version: 3.0.3
undetermined | Blocked By:
Keywords: i/o fonts | Reproduced by developer: 0
files limitation |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
If you build simple filtergraph with drawtext filters you will notice it
has a limitation of setmaxstdio in number of drawtext filters you can
apply at once on Windows. It is connected with C-runtime limitation of max
number of opened files. Although I use all the time the same font each
time new drawtext filter is parsed, the same font is opened once again.
Maybe it is possible to introduce some global storage for current/recent
fonts? Then instead of opening once again the same font it would be
possible to reuse it? Function _setmaxstdio can be investigated, as it is
partially connected with this problem.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5983>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list