[FFmpeg-trac] #10632(undetermined:new): vf_drawtext filter text align does not allows set both horizontal and vertical align

FFmpeg trac at avcodec.org
Sat Oct 28 03:37:33 EEST 2023


#10632: vf_drawtext filter text align does not allows set both horizontal and
vertical align
-------------------------------------+-------------------------------------
             Reporter:  Ivan A.      |                    Owner:  (none)
  Shmakov                            |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  drawtext     |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Comment (by Ivan A. Shmakov):

 to set both verical and horizontal text align it's allows text_align=15

 bit flags of:

 enum text_alignment {
     TA_LEFT   = (1 << 0),
     TA_RIGHT  = (1 << 1),
     TA_TOP    = (1 << 2),
     TA_BOTTOM = (1 << 3),
 };

 But I think it's required to set in text format too. By the way could you
 say what format should be correct - CM or С|M and center|middle?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10632#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list