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

 vf_drawtext filter text align does not allows set both horizontal and
 vertical align at same time

 text_align=center - allows
 text_align=middle - allows
 text_align=C - allows
 text_align=M - allows

 text_align=center|middle - not allows
 text_align=CM - not allows
 text_align=C|M - not allows

 And could you say what format should be correct - CM or ะก|M and
 center|middle?

 How to reproduce:
 {{{
 % ./ffmpeg -y -i ./in.avi -vf "drawtext=text='My text starting at
 640x360':x=(w-text_w)/2: y=(h-text_h-
 
line_h)/2:fontsize=10:fontcolor=white:box=1:boxborderw=5:boxcolor=#00ff00:boxw=100:boxh=20:text_align=middle|center"
 -c:a copy output.mp4

 ffmpeg version
 built on master

 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10632>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to