[FFmpeg-trac] #4008(avfilter:new): "main_w" value unrecognized with the new "enable" option in Drawtext

FFmpeg trac at avcodec.org
Mon Oct 6 12:13:39 CEST 2014

#4008: "main_w" value unrecognized with the new "enable" option in Drawtext
             Reporter:  beloko       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  drawtext     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by beloko):

 Hello Ubitux,

 Yes exactly. I use this command to enable the "drawtext" filter only when
 video input resolution has a specific width.

 In the past, I was able to used the "draw" option available in the
 "drawtext" filter. But now, the "draw" option is discontinued and we have
 to use the "enable" option to replace it.

 Finally the "draw" option was more efficient and usefull than this new
 "enable" option. So I don't understand why the "draw" option is
 definitively deprecated so early.

 In my opinion : if the old "draw" option can do the job, we should keep it
 longer in "libavfilter" library as a nice "drawtext" filter option. Until
 the new "enable" option can do the same job. It's not to late, because
 yesterday I built my new binary with the "draw" option and it works like
 before. We just have to reprecated the old "draw" option instead of the
 new "enable" option.

 I suppose, add a new option to retrieve the same purpose with "Drawtext"
 filter will require more job time.

Ticket URL: <https://trac.ffmpeg.org/ticket/4008#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list