Opened 13 years ago

Closed 12 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

Description

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 by Carl Eugen Hoyos, 13 years ago

Priority: normalwish
Status: newopen
Version: gitgit-master

comment:2 by Stefano Sabatini, 12 years ago

Analyzed by developer: set
Reproduced by developer: set
Resolution: fixed
Status: openclosed

Should be fixed in:

commit 482ce0ce4ec558db5a951718bcd7a9c01d0afb36
Author: Stefano Sabatini <stefasab@gmail.com>
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.