[FFmpeg-trac] #7948(avfilter:new): drawtext don't use last line from text file

FFmpeg trac at avcodec.org
Mon Nov 30 16:56:52 EET 2020


#7948: drawtext don't use last line from text file
-------------------------------------+------------------------------------
             Reporter:  jb_alvarado  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  drawtext     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by ITgustel):

 * priority:  wish => normal
 * type:  enhancement => defect


Comment:

 Hi, we have the same problem with CentOS 8, nano and cURL generated text
 files. There is always an additional line at the end of those files. This
 extra line is not visible in the editors itself and not deleteable.
 Unfortunately ffmpeg/drawtext reads this as a regular line and draws the
 box one line bigger.

 With RaspberryPi OS this phenomenon does not appear. It seems the extra
 line is distribution relatable.

 Therefore, an option how ffmpeg treats the last line in a text file would
 be much appreciated! In other words, the box function is not useable
 combinded with a textfile, affected by the "extra line problem".

 Regards

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7948#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list