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

FFmpeg trac at avcodec.org
Tue Oct 7 19:58:27 CEST 2014

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

Comment (by ubitux):

 Replying to [comment:9 beloko]:
 > Hello Ubitux,
 > I'm skeptical about your patch but I hope I'm wrong.

 It doesn't restore draw, but it makes possible for you to use the "w" and
 "h" variables in the "enable" option.

 > Please, where should I download your patch to build a fresh FFmpeg
 binary and try it properly ?

 You just checkout git/master.

 > Usually I use this GIT repository, but now it doesn't seems up to date :
 > ​https://github.com/FFmpeg/FFmpeg.git

 This is a mirror, see ffmpeg.org for the correct URL.

 > Having the "draw" option reprecated or the same capacity via another
 option name supported in next FFmepg realeases is just perfect for me.

 Won't happen, but since you needed it for the main_w/main_h access, it was
 added to the timeline system.

 > Your "if-text-fit-size-area" proposition is really more than I could

 I don't have time to implement that correctly unfortunately.

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

More information about the FFmpeg-trac mailing list