i have to write different text on a number of images. The final filter command is quite large (> 500 draw text filters in a single command). I am writing this to a text file and using filter_complex_script to read it. If the number of frames and filter is small, it is working fine, but for a configuration with large number of images and draw text filters, it fails. Error is:
Cannot find a valid font for the family Sans
Error initializing filter 'drawtext' with args 'enable=between(n,180,180):fontsize=28:fontfile=C\:/Windows/Fonts/Arial.ttf:fontcolor=0x000000:text=109.0:x=581:y=527-th'
Error initializing complex filters.
No such file or directory