Opened 2 months ago

Last modified 2 months ago

#6281 new defect

drawtext- limitation on number of drawtext filters used in a single command?

Reported by: akhil Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: drawtext
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


I am using multiple draw text filter in a single command.These filters are generated at run time.If the number of draw text filters increases , (>600), processing fails. Error is:

[Parsed_drawtext_509 @ 0000000003bba440] Cannot find a valid font for the family Sans
[AVFilterGraph @ 000000000047bce0] Error initializing filter 'drawtext' with args 'enable=between(n,0,0):fontsize=40 :fontcolor=black:fontfile=Chn_Prop_Arial_Normal.ttf:text=Hello John!:x=100:y=100-th:shadowcolor=blue:shadowx=1:shadowy=1'
Error initializing complex filters.
No such file or directory

ffmpeg version: 3.4.2

Change History (1)

comment:1 Changed 2 months ago by cehoyos

To make this a valid ticket, please test current FFmpeg git head and provide the failing command line you tested together with the complete, uncut console output.
Your operating system or your shell likely limits the length of the command line, I don't think this can be fixed within FFmpeg.

Note: See TracTickets for help on using tickets.