On Fri, Aug 26, 2016 at 02:37:42PM -0700, Brett Harrison wrote: > Allows expr evaluation in the fontsize parameter for drawtext. > > examples (fontsize 1/3 of video height): > > ffmpeg -i http://i.giphy.com/kwAi4WrChkSfm.gif -vf > "drawtext=fontfile=/Library/Fonts/Verdana > Bold.ttf:text='HI':fontcolor=yellow:x=(w-tw)/2:y=(h-th)/1.3:fontsize=h/3" > out.gif > > ffmpeg -i http://i.giphy.com/3o6ozzX4mAcwkkgzG8.gif -vf > "drawtext=fontfile=/Library/Fonts/Verdana > Bold.ttf:text='HI':fontcolor=yellow:x=(w-tw)/2:y=(h-th)/1.3:fontsize=h/3" > out.gif > > --- > libavfilter/vf_drawtext.c | 89 > +++++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 82 insertions(+), 7 deletions(-)
The patch is corrupted by newlines Applying: Allows expr evaluation in the fontsize parameter for drawtext. fatal: patch fragment without header at line 20: @@ -209,7 +211,7 @@ static const AVOption drawtext_options[]= { error: could not build fake ancestor Patch failed at 0001 Allows expr evaluation in the fontsize parameter for drawtext. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel