[FFmpeg-user] drawgraph filter, color formats
Paul B Mahol
onemda at gmail.com
Sun Nov 3 10:55:44 EET 2019
On 11/3/19, Michael Koch <astroelectronic at t-online.de> wrote:
> Am 03.11.2019 um 06:55 schrieb Carl Eugen Hoyos:
>> Am So., 3. Nov. 2019 um 00:08 Uhr schrieb Michael Koch
>> <astroelectronic at t-online.de>:
>>> I'm just making some experiments with the drawgraph filter and it took
>>> me more than one hour to figure out what was wrong:
>>> The colors of the graphs must be specified in format 0xAABBGGRR, but the
>>> background color must be in format 0xRRGGBBAA.
>>> That's very confusing!
>> Sounds like a bug to me but changing the code will break existing
> Well, in the documentation is a chapter about colors and the format is
> described as 0xRRGGBB[AA].
> However in the documentation for the drawgraph filter is written "The
> color is defined as 0xAABBGGRR". So it's impossible to use the
> predefined colors in this filter.
> In the documentation should be a warning that the "bg" parameter must be
> in 0xRRGGBBAA format.
> But in my opinion changing the code is the better solution.
Code will NOT be changed.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user