[FFmpeg-user] Text on multiple lines

lorenzo angeli lorenzo.angeli at efestolab.uk
Sat May 16 10:51:42 CEST 2015


HI Carl, not sure I get it, I tried with :

[code]
ffmpeg -start_number 284 -i
/home/efesto/Desktop/A010C009_101029_L1O3/A010C009_101029_L1O3.%4d.dpx -vf
"[in]
drawtext=fontsize=40:fontcolor=white:fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf:x=(w-tw)/2:y=(h-th)/2:box=1:boxcolor=black at 0.5:text='two>lines'[out]"
out.mov
[/code]

but the text still remains on the same line.
Thanks.
L.

Ps.
-v trace was just badly placed.


2015-05-16 10:40 GMT+02:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> lorenzo angeli <lorenzo.angeli <at> efestolab.uk> writes:
>
> > -v trace
>
> WHY?
>
> I don't know if it helps you but the following
> works as expected (the source code does not
> search for the string "\n" but for the actual
> carriage return):
> [code]
> $ ffmpeg -f lavfi -i "color=white:d=10,drawtext=text='two
> > lines'" out.avi
> [/code]
>
> (The "> " is printed by my shell when I hit "Enter"
> after "two".)
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 
-------------------------------------------------------------------------------------------------------------------
Efesto Lab LTD, Chancery Station House, 31-33 High Holborn, London WC1V 6AX
-------------------------------------------------------------------------------------------------------------------
www.efestolab.uk

skype: lorenzo.efestolab
phone: +44 7961031018


More information about the ffmpeg-user mailing list