[FFmpeg-trac] #4008(avfilter:closed): "main_w" value unrecognized with the new "enable" option in Drawtext
FFmpeg
trac at avcodec.org
Tue Oct 7 15:16:37 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 |
-------------------------------------+------------------------------------
Changes (by ubitux):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:7 beloko]:
> Shared the "enable" option filters with others is a nice goal, FFmpeg
can solve many use cases.
>
Note that it's not a "goal", it actually is the case:
{{{
☭ ./ffmpeg -v error -filters|grep -c '^ T'
49
}}}
> Ex: With "draw" option, I can make a text readable on any high
resolution video file in just one FFmpeg command line. Otherwise, I have
to detect the input video resolution width before call a specific FFmpeg
command for each width.
>
> I prefer switch between different font sizes than having an auto-scale
text I can't size properly.
>
Sorry, I have no idea what you are talking about here, but I'm probably
very tired.
> For now, I built a new FFmpeg binary by merging your patch. "Drawtext"
error messages are left after the command line, but the text content
doesn't appear in the output video file.
That patch is now applied. I don't like that solution much because I
believe we should add a "display-the-text-only-if-it-fits-in" in drawtext,
but since it's somehow a regression, I applied that version.
What error messages are you talking about?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4008#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list