[FFmpeg-user] Drawtext problem

Cecil Westerhof Cecil at decebal.nl
Fri Dec 9 21:18:20 EET 2022

With the drawtext filter I wanted to use:
    text = '13:30 tot 17:30/18:00':

But this gives:
    Both text and text file provided. Please provide only one

Strangely enough this does not give an error:
    text = '13:30 tot 17:30/18':

I solved it by using:
    text       = '13:30 tot 17:30/18\:00':

But I do not understand why the first two do not have to be escaped
and the third does.

I use ffmpeg in a bash script.

Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

More information about the ffmpeg-user mailing list