[FFmpeg-user] How to drawtexton multi-lines using php?

Lou lou at lrcd.com
Sat Aug 9 03:27:59 CEST 2014


On Fri, 8 Aug 2014 10:01:42 -0700 (PDT)
hirokku <oswaldo1903 at gmail.com> wrote:

> I need to show the text in two separate lines, how can i do this? 

You can use two drawtext filters:

-vf drawtext,drawtext

Of course you will have to provide the necessary options to get exactly
what you want.

Alternatively your could place the text in a file with the desired
line breaks and use the textfile option in the drawtext filter.

I recommend you get command working in cli then adapt it for your PHP
script.

For more info see:

<http://ffmpeg.org/ffmpeg-filters.html#drawtext-1>


More information about the ffmpeg-user mailing list