Am 21.07.2016 um 04:48 schrieb davidjesse:
> ffmpeg -i myvideo.flv -vf
> drawtext="fontfile=/root/video/Bristol.otf:
> text='Stack Overflow': fontcolor=white: fontsize=24: box=1:
> boxcolor=black@1:  x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy
> output.flv
>
> I want to have a full black background cover the bottom of the video
> and in the center of the black background write the text.

Well, it works for me. The text goes to the *center* of the image
though, which is due to "y=(h-text_h)/2". Don't divide by 2 and it
goes to the bottom.
Also, the box does not span the whole width of the video. I think that
cannot be achieved with this filter though, because there is no way to
specify the width of the box.

Have you tried the latest git master? Maybe there is a bug in an older
version.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to