Opened 9 years ago

Closed 9 years ago

#378 closed enhancement (fixed)

Center align text in drawtext avfilter

Reported by: b1ng0 Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes


It would be nice to have a new option to the drawtext filter that specifies the text should be center aligned on the frames. I don't mean starting the text at the center of the frame, but rather the center of the text should be at the center of the frame, so the text will be protruding left of and right of the center of the frame.

Change History (2)

comment:1 Changed 9 years ago by cehoyos

  • Priority changed from normal to wish
  • Status changed from new to open
  • Version changed from git to git-master

comment:2 Changed 9 years ago by saste

  • Analyzed by developer set
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from open to closed

Should be fixed in:

commit 482ce0ce4ec558db5a951718bcd7a9c01d0afb36
Author: Stefano Sabatini <>
Date:   Sun Sep 18 02:41:56 2011 +0200

    vf_drawtext: make x and y options parametric
    Address trac issue #378.
Note: See TracTickets for help on using tickets.