[FFmpeg-user] similar multiple drawtext commands performs differently in OS X and windows
Kieran O Leary
kieran.o.leary at gmail.com
Fri Nov 13 01:21:07 CET 2015
On Thu, Nov 12, 2015 at 10:23 PM, Nicolas George <george at nsup.org> wrote:
> Le duodi 22 brumaire, an CCXXIV, Kieran O Leary a écrit :
>> "drawtext=fontfile='C\:\\Windows\\Fonts\\arial.ttf:fontcolor=white:timecode=01\:00\:00\:00:rate=25/1:boxcolor=0x000000AA:box=1:fontsize=48:x=360-text_w/2:y=480,drawtext=fontfile='C\:\\Windows\\Fonts\\arial.ttf:fontcolor=white:text='test text':fontsize=41:x=360-text_w/2:y=274:alpha=0.3" OUTPUT
>
> The fontfile options have a quote at the beginning but not at the end.
>
> Regards,
Thank you Nicolas. I hang my head in shame at such a simple oversight
:[ Anyhow adding a quote to the end of the fontpath produced an error,
but adding a quote at the end of the first drawtext argument did the
trick:
PS C:\Users\kieranjol> C:\Users\kieranjol> ffmpeg -i
"C:\Users\kieranjol\Desktop\untitled folder 3\New folder\tes tsrc2
.mov" -vf "drawtext='fontfile=C\:\\Windows\\Fonts\\arial.ttf:fontcolor=white:timecode=01\:00\:00\:00:rate=25/1:boxcolor=
0x000000AA:box=1:fontsize=48:x=360-text_w/2:y=480',drawtext=fontfile='C\:\\Windows\\Fonts\\arial.ttf:fontcolor=white:tex
t=testtext:fontsize=41:x=360-text_w/2:y=274:alpha=0.3"
"C:\Users\kieranjol\Desktop\untitled folder 3\New folder\tesfffff
.mov"
More information about the ffmpeg-user
mailing list