I am trying to put a simple text on the bottom of video using ffmpeg on Ubuntu 12.04 . I tried this which is suggested in several places:
ffmpeg -i input.avi -vf
The documentation shows that you can use other parameters with x
or y
such as input video height and width and text width and height. To place the text on the bottom one method is y=main_h-text_h
. If you want a little padding on the bottom you can use y=main_h-(text_h*2)
To center it horizontally use x=(main_w/2-text_w/2)
.