[FFmpeg-trac] #9720(avfilter:new): Drawtext reinit command fails when using textfile

FFmpeg trac at avcodec.org
Fri Apr 8 00:07:42 EEST 2022


#9720: Drawtext reinit command fails when using textfile
-------------------------------------+-------------------------------------
             Reporter:  toots        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avfilter     |                  Version:
             Keywords:  drawtext     |  unspecified
  textfile command                   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 It looks like the drawtext filter populates its internal text parameter
 when reading from a text file and then fails to reinit, erroneously
 complaining that both text and textfile are provided.

 To reproduce:
 ffmpeg -i /tmp/bla.mp4 -filter_complex
 "zmq,drawtext=x=100:textfile=/tmp/content" -y /tmp/bla.flv

 Then, in another console:
 echo Parsed_drawtext_1 reinit x=200 | zmqsend

 Error log:
 [Parsed_drawtext_1 @ 0x7fbe47713e80] Both text and text file provided.
 Please provide only one
 [Parsed_drawtext_1 @ 0x7fbe47713e80] Failed to process command. Continuing
 with existing parameters.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9720>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list